:root {
  --ink: #161311;
  --muted: #5c534c;
  --red: #c8102e;
  --red-deep: #8d0b1e;
  --blue: #1f4fa3;
  --cream: #ffffff;
  --paper: #fffdfb;
  --line: #e6ddd3;
  --dark: #111111;
  --gold: #c6a36a;
  --shadow: 0 18px 50px rgba(22, 19, 17, 0.08);
  --max: 1120px;
  --header: 58px;
  --topbar-height: 2.65rem;
  --header-bar-height: 58px;
  --nav-bar-bg: linear-gradient(180deg, rgba(74, 74, 74, 0.82) 0%, rgba(51, 51, 51, 0.78) 42%, rgba(43, 43, 43, 0.75) 100%);
  --wix-pink: #ec5e87;
  --wix-footer-navy: #101f46;
  --wix-sky: #7eb8e8;
  --wix-hero-navy: #1a3d8f;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui: "Poppins", var(--font-body);
  --font-display: "Anton", var(--font-body);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  /* Header — modifier ici polices / couleurs menu et sous-menus */
  --nav-menu-font: var(--font-body);
  --nav-submenu-bg: linear-gradient(180deg, rgba(99, 109, 135, 0.88) 0%, rgba(99, 109, 135, 0.84) 50%, rgba(99, 109, 135, 0.82) 100%);
  --nav-submenu-color: #fff;
  --nav-submenu-font: var(--font-ui);
  --nav-submenu-font-size: 0.92rem;
  --nav-submenu-hover-bg: rgba(255, 255, 255, 0.12);
  --nav-submenu-hover-color: #c86061;
  --nav-submenu-mobile-color: rgba(255, 255, 255, 0.88);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--red-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}
p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip:focus { top: 0.5rem; }

.topbar {
  background: var(--red);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.45rem 4vw;
  font-size: 0.92rem;
}
body.has-topbar .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 55;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .exit {
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--nav-bar-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  min-height: var(--header);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.has-topbar .header {
  top: var(--topbar-height);
}
body {
  --nav-active: #c86061;
  --header-bar-height: 58px;
  padding-top: var(--header-bar-height);
}
body.has-topbar {
  padding-top: calc(var(--topbar-height) + var(--header-bar-height));
}
.header-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.header .nav {
  border-top: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.header .nav .current-menu-item > a,
.header .nav .current-menu-ancestor > a {
  color: var(--nav-active);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img,
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #000;
  border-radius: 8px;
}
.brand span { display: block; font-size: 0.72rem; letter-spacing: 0.04em; color: #ddd; max-width: 11rem; line-height: 1.25; }
.brand strong { display: block; font-size: 1.05rem; letter-spacing: 0.12em; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  flex: 1 1 100%;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.15rem 0 0.25rem;
}
.nav > a, .drop > button {
  color: #fff;
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.35rem 0.48rem;
  cursor: pointer;
  border-radius: 6px;
}
.nav > a:hover, .drop > button:hover, .nav > a[aria-current="page"] { color: #ffd0d6; }
.drop { position: relative; }
.drop .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  z-index: 50;
}
.drop:hover .menu, .drop:focus-within .menu { display: block; }
.drop .menu a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-size: 0.95rem;
}
.drop .menu a:hover { background: #f4f4f4; color: var(--red-deep); }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--red-deep); }
.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn.light { background: #fff; color: var(--red-deep) !important; }
.btn.blue { background: var(--blue); }
.header .btn { padding: 0.5rem 0.9rem; font-size: 0.9rem; margin-left: 0.4rem; }

.burger {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.burger__bars {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: background 0.15s ease;
}
.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.15s ease, top 0.15s ease;
}
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before {
  top: 0;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] .burger__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 78vh;
  background: #0d0d0d;
  color: #fff;
}
.hero-copy { padding: 4.5rem 6vw 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 1.2rem; }
.hero p.lead { font-size: 1.15rem; color: #efe7df; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.hero-visual { position: relative; min-height: 420px; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.ticker {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ticker span {
  display: inline-block;
  padding: 0.7rem 0;
  animation: slide 22s linear infinite;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 4rem 1.3rem; }
.page-hero {
  background:
    linear-gradient(120deg, rgba(17,17,17,0.82), rgba(141,11,30,0.55));
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4.5rem 1.3rem 3.2rem;
}
.page-hero .wrap { padding: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0.3rem 0 0.6rem; }
.page-hero p { max-width: 42rem; color: #f3ebe4; margin: 0; }

.grid-3, .grid-2, .grid-4 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.3rem 1.15rem;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0.2rem 0 0.45rem; font-size: 1.35rem; }
.card img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 0.8rem; }

/* Catalogue « Services en ligne » (type Wix Book Online) */
.afvf-services-catalog {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.3rem 3rem;
}
.afvf-services-catalog__title {
  text-align: center;
  margin-bottom: 2rem;
}
.afvf-services-catalog__title .afvf-services-catalog__kicker {
  display: block;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.afvf-services-catalog__title .afvf-services-catalog__headline {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}
.afvf-service-card {
  border: 1px solid var(--line);
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.afvf-service-card .wp-block-image {
  margin: 0;
}
.afvf-service-card .wp-block-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
}
.afvf-service-card__body {
  padding: 1rem 1.15rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.afvf-service-card__body .wp-block-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}
.afvf-service-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 !important;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.afvf-service-card .wp-block-button {
  margin-top: auto;
  padding-top: 0.75rem;
}
.afvf-service-card .wp-block-button__link {
  background-color: #ec5e87 !important;
  border-radius: 0;
  color: #fff !important;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
}
@media (max-width: 782px) {
  .afvf-services-catalog .wp-block-columns {
    flex-direction: column;
  }
}

/* Page « Mobiliser » — grille 4 colonnes (type Wix) */
.afvf-mobiliser {
  background: #fff;
}
.afvf-mobiliser__title {
  color: var(--wix-pink);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 1.25rem;
  line-height: 1.1;
}
.afvf-mobiliser__intro {
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}
.afvf-mobiliser-card {
  text-align: center;
}
.afvf-mobiliser-card__photo {
  margin: 0 auto 1rem !important;
  max-width: 200px;
}
.afvf-mobiliser-card__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}
.afvf-mobiliser-card__label {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 1rem !important;
  color: var(--ink);
}
.afvf-btn-navy-pill .wp-block-button__link {
  background: var(--wix-footer-navy) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 0.45rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  border: 0;
}
.afvf-btn-navy-pill .wp-block-button__link:hover {
  filter: brightness(1.08);
}
@media (max-width: 960px) {
  .afvf-mobiliser .wp-block-columns {
    flex-wrap: wrap !important;
  }
  .afvf-mobiliser .wp-block-column {
    flex-basis: calc(50% - 0.75rem) !important;
    min-width: 140px;
  }
}
@media (max-width: 520px) {
  .afvf-mobiliser .wp-block-column {
    flex-basis: 100% !important;
  }
}

/* Bandeau « Nous sommes @ votre écoute » */
.afvf-contact-ecoute-band {
  background: #ececec;
}
.afvf-contact-ecoute__header {
  text-align: center;
  margin-bottom: 2rem;
}
.afvf-contact-ecoute__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2a2a2a;
  text-transform: uppercase;
}
.afvf-contact-ecoute__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}
.afvf-contact-ecoute__form {
  position: relative;
  max-width: 100%;
}
.afvf-contact-ecoute__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr auto;
  gap: 1.25rem 1.75rem;
  align-items: end;
}
.afvf-contact-ecoute__field {
  margin: 0;
}
.afvf-contact-ecoute__field label {
  display: block;
  font-size: 14px;
  color: #111;
  margin-bottom: 0.35rem;
}
.afvf-contact-ecoute__field input {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #111;
  border-radius: 0;
  padding: 0.45rem 0 0.5rem;
  background: transparent;
  font: inherit;
  font-size: 15px;
}
.afvf-contact-ecoute__field input:focus {
  outline: none;
  border-bottom-color: #000;
}
.afvf-contact-ecoute__submit-wrap {
  margin: 0;
  padding-bottom: 0.15rem;
}
.afvf-contact-ecoute__submit {
  display: inline-block;
  border: 0;
  border-radius: 2px;
  background: var(--wix-pink);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.35rem;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease;
}
.afvf-contact-ecoute__submit:hover,
.afvf-contact-ecoute__submit:focus-visible {
  filter: brightness(0.94);
}
.afvf-contact-ecoute__notice {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
  text-align: center;
}
.afvf-contact-ecoute__notice--ok {
  background: #eef8ef;
  color: #1a4d22;
  border: 1px solid #b7e0bc;
}
.afvf-contact-ecoute__notice--error {
  background: #fff4f4;
  color: #6b1515;
  border: 1px solid #f0bcbc;
}
@media (max-width: 900px) {
  .afvf-contact-ecoute__fields {
    grid-template-columns: 1fr 1fr;
  }
  .afvf-contact-ecoute__submit-wrap {
    grid-column: 1 / -1;
  }
  .afvf-contact-ecoute__submit {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .afvf-contact-ecoute__fields {
    grid-template-columns: 1fr;
  }
}

/* Page « Collectivités locales » — intro lavande + newsletter */
.afvf-collectivites-intro {
  background: #d4dde8;
}
.afvf-collectivites-intro__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a3a3a;
  margin: 0 0 1.5rem;
  line-height: 1.25;
}
.afvf-collectivites-intro__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 1.25rem !important;
}
.afvf-collectivites-intro__actions {
  max-width: 520px;
  margin: 0 auto !important;
  padding-left: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
}
.afvf-collectivites-intro__actions li {
  margin-bottom: 0.35rem;
}
/* Motif « Un local pour l’AFVF » — photo + carte chevauchante */
.afvf-local-offset {
  background: #8eb5dc;
}
.afvf-local-offset__stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
}
.afvf-local-offset__photo {
  width: min(640px, 86%);
  max-width: none !important;
  margin: 0 !important;
}
.afvf-local-offset__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.afvf-local-offset__card {
  position: relative;
  z-index: 2;
  width: min(380px, 88%) !important;
  max-width: 380px !important;
  margin: clamp(-5.5rem, -16vw, -7rem) 0 0 auto !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}
.afvf-local-offset__title {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--blue);
  margin: 0 0 1.15rem !important;
  letter-spacing: 0.02em;
}
.afvf-local-offset__lead {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: #1a1a1a;
  margin: 0 !important;
}
@media (max-width: 640px) {
  .afvf-local-offset__photo {
    width: 100%;
  }
  .afvf-local-offset__card {
    width: min(340px, 92%) !important;
    max-width: none !important;
    margin: -3rem auto 0 !important;
  }
}

/* Motif « Former » — titre + photo + bulle ovale organique pêche + arcs */
.wp-block-cover.afvf-former-hero {
  min-height: min(520px, 72vh);
  overflow: visible;
}
.wp-block-cover.afvf-former-hero .wp-block-cover__image-background {
  object-position: center 20%;
}
.wp-block-cover.afvf-former-hero > .wp-block-cover__inner-container {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  padding: 0 !important;
  box-sizing: border-box;
}
/* Position par défaut via classes afvf-pos-* (poignée Déplacer) — pas de top/left ici */
.wp-block-cover.afvf-former-hero .afvf-former-hero__title {
  position: absolute;
  z-index: 3;
  width: max-content;
  max-width: min(92%, 720px);
  margin: 0 !important;
  font-family: 'Oswald', var(--font-display), sans-serif;
  font-size: clamp(4rem, 14vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0a0a0a !important;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.35);
}
.wp-block-cover.afvf-former-hero .afvf-former-hero__disc {
  position: absolute;
  z-index: 4;
  width: min(300px, 72vw);
  max-width: min(300px, 72vw);
  min-height: min(210px, 50vw);
  margin: 0 !important;
  padding: clamp(1.85rem, 4.2vw, 2.25rem) clamp(1.6rem, 3.6vw, 1.95rem) clamp(2rem, 4.5vw, 2.35rem) !important;
  border-radius: 58% 42% 52% 48% / 46% 54% 48% 52%;
  background: #ffb788;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}
.wp-block-cover.afvf-former-hero .afvf-former-hero__disc-text {
  font-family: 'Montserrat', var(--font-body);
  font-size: clamp(0.63rem, 1.02vw, 0.73rem);
  line-height: 1.43;
  color: #2a2a2a;
  text-align: center;
  margin: 0 !important;
  width: 100%;
  max-width: 13.75rem;
  padding: 0 0.2rem;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
@media (max-width: 782px) {
  .wp-block-cover.afvf-former-hero .afvf-former-hero__title {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }
  .wp-block-cover.afvf-former-hero .afvf-former-hero__disc {
    width: min(272px, 88vw);
    max-width: min(272px, 88vw);
    min-height: min(200px, 52vw);
    border-radius: 56% 44% 50% 50% / 44% 56% 44% 56%;
  }
  .wp-block-cover.afvf-former-hero .afvf-former-hero__disc-text {
    max-width: 12.75rem;
  }
}

/* Motif « Nos Cours » (Wix) — fond gris, titre blanc, carte blanche devant, photo derrière à droite */
.wp-block-group.afvf-cours-band {
  background: #c7c7c7;
  padding: 0 !important;
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.afvf-cours-band__stage {
  position: relative;
  display: grid;
  /* 6% | 36% | 8% | 48% | 2%  → carte = col 2-3 (44%), photo = col 3-4 (démarre à 42%) */
  grid-template-columns: 6% 36% 8% 48% 2%;
  grid-template-rows: 3.6rem minmax(26rem, auto);
  width: min(1024px, 100%);
  margin: 0 auto !important;
  padding: 0;
  box-sizing: border-box;
}
.afvf-cours-band__stage > * {
  margin: 0 !important;
  min-width: 0;
}
.afvf-cours-band__kicker {
  grid-column: 2 / 4;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 1;
  padding-left: 23.8%;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
  margin: 0 !important;
}
.afvf-cours-band__card {
  grid-column: 2 / 4;
  grid-row: 2;
  position: relative;
  z-index: 3;
  background: #fff;
  padding: 2.75rem 23.8% 2rem !important;
  box-sizing: border-box;
}
.afvf-cours-band__card-title {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.95rem, 1.7vw, 1.12rem);
  font-weight: 600;
  line-height: 1.4;
  color: #333 !important;
  margin: 0 0 1.5rem !important;
}
.afvf-cours-band__photo {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 3.4rem !important;
  min-height: 18rem;
  background: #b4b4b4;
  overflow: hidden;
}
.afvf-cours-band__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: center;
}

/* Formulaire (shortcode [afvf_course_form]) */
.afvf-cours-form__fields {
  margin: 0;
}
.afvf-cours-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.afvf-cours-form__field {
  margin: 0 0 0.75rem !important;
}
.afvf-cours-form__field label {
  display: block;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.15rem;
  color: #333;
}
.afvf-cours-form__field input,
.afvf-cours-form__field textarea {
  display: block;
  width: 100%;
  min-height: 1.45rem;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  padding: 0.2rem 0.4rem;
  font: inherit;
  font-size: 0.8rem;
  box-sizing: border-box;
}
.afvf-cours-form__field textarea {
  resize: vertical;
  min-height: 3.6rem;
}
.afvf-cours-form__submit-wrap {
  margin: 0.75rem 0 0 !important;
}
.afvf-cours-form__submit {
  display: block;
  width: 100%;
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: #ec5e87;
  color: #fff;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
}
.afvf-cours-form__submit:hover {
  background: #d94c76;
}
.afvf-cours-form__notice {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
}

/* Réseaux (f / in) centrés sous le bouton — pas d’Instagram sur cette maquette */
.afvf-cours-band__card .afvf-page-social {
  margin-top: 1.25rem;
  padding-bottom: 0;
  gap: 0.35rem;
}
.afvf-cours-band__card .afvf-page-social__link {
  width: 24px;
  height: 24px;
}
.afvf-cours-band__card .afvf-page-social__link svg {
  width: 14px;
  height: 14px;
}
.afvf-cours-band__card .afvf-page-social__link--instagram {
  display: none;
}

@media (max-width: 782px) {
  .afvf-cours-band__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    width: 100%;
    padding: 1.5rem 1rem 0;
  }
  .afvf-cours-band__kicker,
  .afvf-cours-band__card,
  .afvf-cours-band__photo {
    grid-column: 1;
    grid-row: auto;
  }
  .afvf-cours-band__kicker {
    padding-left: 0;
    margin-bottom: 0.75rem !important;
  }
  .afvf-cours-band__card {
    padding: 1.75rem 1.25rem 1.5rem !important;
  }
  .afvf-cours-band__photo {
    margin: 0 0 1.5rem !important;
    min-height: 14rem;
  }
  .afvf-cours-band__photo img {
    min-height: 14rem;
  }
  .afvf-cours-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Motif « Webinaire » (Wix) — fond gris, photo à gauche, titre qui chevauche, carte blanche à droite */
.wp-block-group.afvf-webinar-band {
  background: #c7c7c7;
  padding: 0 !important;
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.afvf-webinar-band__stage {
  position: relative;
  display: grid;
  /* 12.4% | 37.7% | 7.6% | 33.1% | 9.2% → photo = col 2-3 (12.4 → 57.7 %), carte = col 3-4 (50.1 → 90.8 %) */
  grid-template-columns: 12.4% 37.7% 7.6% 33.1% 9.2%;
  grid-template-rows: 9.8rem auto;
  width: min(1024px, 100%);
  margin: 0 auto !important;
  padding: 0;
  box-sizing: border-box;
}
.afvf-webinar-band__stage > * {
  margin: 0 !important;
  min-width: 0;
}
/* Petit repère rose en haut à droite de la photo */
.afvf-webinar-band__stage::before {
  content: "";
  position: absolute;
  left: 57.7%;
  top: 0.2rem;
  width: 0.7rem;
  height: 1.9rem;
  background: #ec5e87;
  z-index: 2;
  pointer-events: none;
}
.afvf-webinar-band__photo {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  align-self: start;
  position: relative;
  z-index: 1;
  aspect-ratio: 1.212 / 1;
  background: #b4b4b4;
  overflow: hidden;
}
.afvf-webinar-band__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.afvf-webinar-band__title {
  grid-column: 3 / 5;
  grid-row: 1;
  align-self: center;
  position: relative;
  z-index: 4;
  margin: 1.5rem 0 0 -0.6% !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(1.8rem, 4.1vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
  white-space: nowrap;
}
.afvf-webinar-band__title em {
  margin-left: 0.3em;
  font-size: 0.5em;
  font-weight: 600;
  font-style: italic;
  color: #111;
}
.afvf-webinar-band__card {
  grid-column: 3 / 5;
  grid-row: 2;
  margin-top: 0 !important;
  position: relative;
  z-index: 3;
  background: #fff;
  padding: 1.45rem 6% 0.95rem !important;
  box-sizing: border-box;
  min-height: 19.75rem;
}
.afvf-webinar-band__lead {
  margin: 0 0 1.35rem !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  font-weight: 500;
  line-height: 1.45;
  color: #222 !important;
}
.afvf-webinar-band__text {
  margin: 0 !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.62rem, 1.05vw, 0.72rem);
  font-weight: 300;
  line-height: 1.55;
  color: #333;
}
.afvf-webinar-band__text + .afvf-webinar-band__text {
  margin-top: 0 !important;
}
.afvf-webinar-band__cta {
  margin: 1.4rem 0 0 !important;
  justify-content: center;
}
.afvf-webinar-band__cta .wp-block-button__link,
.afvf-webinar-band__btn .wp-block-button__link {
  min-width: 9.4rem;
  background: #ec5e87 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.6rem 1.2rem !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.afvf-webinar-band__btn .wp-block-button__link:hover {
  background: #d94c76 !important;
}

@media (max-width: 782px) {
  .afvf-webinar-band__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    width: 100%;
    padding: 0 0 1.25rem;
  }
  .afvf-webinar-band__stage::before {
    display: none;
  }
  .afvf-webinar-band__photo,
  .afvf-webinar-band__title,
  .afvf-webinar-band__card {
    grid-column: 1;
    grid-row: auto;
  }
  .afvf-webinar-band__photo {
    aspect-ratio: 1.3 / 1;
  }
  .afvf-webinar-band__title {
    margin: 1rem 1rem 0.75rem !important;
    white-space: normal;
  }
  .afvf-webinar-band__card {
    margin: 0 1rem !important;
    padding: 1.35rem 1.25rem 1.1rem !important;
    min-height: 0;
  }
}

/* Motif « A la UNE » (Wix) — 3 colonnes : vidéo en lecture, photos qui défilent, texte + affiche */
.wp-block-group.afvf-une {
  display: grid;
  grid-template-columns: 38fr 27fr 33fr;
  grid-auto-rows: minmax(12.8rem, auto);
  gap: 0.4rem;
  width: min(1100px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  box-sizing: border-box;
}
.afvf-une > * {
  margin: 0 !important;
  min-width: 0;
}

/* Colonne 1 : vidéo */
.afvf-une__video {
  position: relative;
  height: 100%;
  min-height: 12.8rem;
  background: #111;
  overflow: hidden;
}
.afvf-une__video video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Colonne 2 : photos qui défilent (flèches ajoutées par le thème sur le site) */
.afvf-une-carousel {
  position: relative;
  height: 100%;
  min-height: 12.8rem;
  overflow: hidden;
  background: #fff;
}
.afvf-une-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  height: 100%;
  min-height: 12.8rem;
  padding: 0 19% !important;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 19%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.afvf-une-carousel__track::-webkit-scrollbar {
  display: none;
}
.afvf-une-carousel__track > * {
  margin: 0 !important;
}
.afvf-une-carousel__slide {
  flex: 0 0 62%;
  height: 100%;
  min-height: 12.8rem;
  scroll-snap-align: center;
  background: #cfcfcf;
}
.afvf-une-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12.8rem;
  object-fit: cover;
}
.afvf-une-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: -1.175rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  color: #222;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.afvf-une-carousel__arrow:hover {
  background: #fff;
  transform: scale(1.06);
}
.afvf-une-carousel__arrow svg {
  width: 1.05rem;
  height: 1.05rem;
}
.afvf-une-carousel__arrow--prev {
  left: 0.55rem;
}
.afvf-une-carousel__arrow--next {
  right: 0.55rem;
}

/* Colonne 3 : texte + affiche */
.wp-block-group.afvf-une__news {
  display: grid;
  grid-template-columns: 53fr 45fr;
  gap: 0.4rem;
  height: 100%;
  min-height: 12.8rem;
  padding: 0;
  background: #fff;
}
.afvf-une__news > * {
  margin: 0 !important;
  min-width: 0;
}
.wp-block-group.afvf-une__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 0 0.15rem 0.2rem 0.1rem;
  box-sizing: border-box;
}
.afvf-une__title {
  margin: 0 0 0.85rem !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.1;
  color: #444 !important;
}
.afvf-une__lead {
  margin: 0 0 auto !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.72rem, 1.2vw, 0.84rem);
  font-weight: 400;
  line-height: 1.5;
  color: #222;
}
.afvf-une__link {
  margin: 0.6rem 0 0 !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}
.afvf-une__link a {
  color: #1d63c8;
  text-decoration: none;
}
.afvf-une__link a:hover {
  text-decoration: underline;
}
.afvf-une__poster {
  height: 100%;
  min-height: 12.8rem;
  background: #1c1c1c;
}
.afvf-une__poster img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12.8rem;
  object-fit: cover;
}

@media (max-width: 900px) {
  .wp-block-group.afvf-une {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0.75rem;
    width: calc(100% - 2rem);
  }
  .afvf-une__video,
  .afvf-une-carousel,
  .afvf-une-carousel__track,
  .afvf-une-carousel__slide,
  .afvf-une-carousel__slide img {
    min-height: 14rem;
  }
  .afvf-une__video {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 520px) {
  .wp-block-group.afvf-une__news {
    grid-template-columns: 1fr;
  }
  .afvf-une__poster {
    max-height: 22rem;
  }
}

/* Motif « Podcasts » (Wix) — fond bleu, titre, bouton rose, lecteurs audio blancs */
.wp-block-group.afvf-podcast {
  background: #253c8f;
  padding: 1.5rem 0 2.75rem !important;
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
}
.afvf-podcast__grid {
  display: grid;
  grid-template-columns: 34fr 33fr 33fr;
  column-gap: 0;
  row-gap: 3.9rem;
  align-items: start;
  width: min(940px, calc(100% - 2rem));
  margin: 0 auto !important;
}
.afvf-podcast__grid > * {
  margin: 0 !important;
  min-width: 0;
}
.afvf-podcast__title {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
}
.afvf-podcast__all {
  padding-left: 19%;
}
.afvf-podcast__all .wp-block-button__link {
  background: #ec5e87 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.4rem 0.8rem !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.afvf-podcast__all .wp-block-button__link:hover {
  background: #d94c76 !important;
}
.afvf-podcast__intro {
  align-self: center;
  padding-right: 1.5rem;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.66rem, 1.05vw, 0.76rem);
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
}
.wp-block-group.afvf-podcast__quote {
  align-self: center;
  padding-right: 1.5rem;
}
.afvf-podcast__quote-text {
  margin: 0 !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.68rem, 1.1vw, 0.8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
  color: #d3e26b;
}
.afvf-podcast__quote-by {
  margin: 0.35rem 0 0 !important;
  padding-right: 0.5rem;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.55rem;
  font-weight: 300;
  text-align: right;
  color: #fff;
}

/* Carte lecteur audio */
.wp-block-group.afvf-podcast-card {
  display: grid;
  grid-template-columns: 3.45rem minmax(0, 1fr);
  height: 3.45rem;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
.afvf-podcast-card > * {
  margin: 0 !important;
  min-width: 0;
}
.afvf-podcast-card__thumb {
  width: 3.45rem;
  height: 3.45rem;
  background: #cfd3dc;
}
.afvf-podcast-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-block-group.afvf-podcast-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.38rem 0.7rem 0.32rem 0.6rem;
  box-sizing: border-box;
}
.afvf-podcast-card__body > * {
  margin: 0 !important;
}
.afvf-podcast-card__name {
  overflow: hidden;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.74rem, 1.2vw, 0.92rem);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #111;
}
.afvf-podcast-card__by {
  margin-left: 0.2em;
  color: #777;
}

/* Lecteur (construit par le thème sur le site) */
.afvf-podcast-card.is-enhanced .afvf-podcast-card__audio {
  display: none;
}
.afvf-podcast-card__player {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.afvf-podcast-card__play {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
}
.afvf-podcast-card__play svg {
  width: 1rem;
  height: 1rem;
}
.afvf-podcast-card__seek {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  height: 1rem;
  cursor: pointer;
}
.afvf-podcast-card__bar {
  position: relative;
  width: 100%;
  height: 3px;
  background: #cfcfcf;
}
.afvf-podcast-card__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #000;
}
.afvf-podcast-card__fill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #000;
}
.afvf-podcast-card__time {
  flex: 0 0 auto;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.58rem;
  font-weight: 300;
  line-height: 1;
  color: #333;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .afvf-podcast__grid {
    grid-template-columns: 1fr;
    row-gap: 0.9rem;
  }
  .afvf-podcast__all {
    padding-left: 0;
  }
  .afvf-podcast__intro,
  .wp-block-group.afvf-podcast__quote {
    padding-right: 0;
    margin: 0.5rem 0 !important;
  }
}

/* Motif « Projets » — rangées alternées texte / photo + titre « fumée » */
.wp-block-group.afvf-zigzag {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
}
.afvf-zigzag > * {
  margin: 0;
}
.afvf-zigzag__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(380px, 42vw, 520px);
  border-bottom: 1px solid #1a1a1a;
  background: #fff;
}
.afvf-zigzag__row > * {
  margin: 0 !important;
  min-width: 0;
}
.afvf-zigzag__panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 13%, 8.5rem);
  box-sizing: border-box;
}
.afvf-zigzag__row--reverse .afvf-zigzag__panel {
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 13%, 8.5rem);
}
.afvf-zigzag__media {
  height: 100%;
  background: #d9dde2;
  overflow: hidden;
}
.afvf-zigzag__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* Grand titre : filaments sinusoïdaux + texture fumée (pas une simple couleur qui traverse) */
.afvf-smoke-title,
.afvf-zigzag__title {
  font-family: 'Oswald', var(--font-display), 'Anton', sans-serif;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin: 0 0 1rem !important;
  color: #050814;
  background-color: #050814;
  /* Fils de fumée : bandes diagonales très fines (concentration locale) */
  background-image:
    linear-gradient(97deg, transparent 46.5%, rgba(105, 188, 248, 0.62) 49.2%, rgba(125, 205, 255, 0.38) 50.8%, transparent 53.5%),
    linear-gradient(83deg, transparent 45%, rgba(88, 168, 238, 0.55) 48.8%, rgba(70, 145, 220, 0.28) 51.2%, transparent 55%),
    linear-gradient(104deg, transparent 47%, rgba(112, 192, 250, 0.5) 49.5%, transparent 52.5%),
    linear-gradient(91deg, transparent 44.5%, rgba(95, 178, 242, 0.48) 50%, transparent 55.5%),
    linear-gradient(100deg, transparent 46%, rgba(100, 182, 245, 0.45) 49.8%, transparent 54%),
    radial-gradient(ellipse 7% 92% at 50% 50%, rgba(120, 200, 255, 0.55) 0%, rgba(65, 140, 215, 0.18) 42%, transparent 58%),
    radial-gradient(ellipse 5% 88% at 50% 50%, rgba(90, 175, 240, 0.5) 0%, transparent 52%),
    url('../images/afvf-smoke-texture.svg'),
    linear-gradient(168deg, #03060f 0%, #081530 42%, #0c2248 58%, #050814 100%);
  background-size:
    320% 140%,
    280% 130%,
    300% 135%,
    290% 128%,
    310% 132%,
    100% 100%,
    100% 100%,
    cover,
    100% 100%;
  background-repeat: no-repeat;
  background-position:
    0% 52%,
    35% 48%,
    70% 54%,
    15% 46%,
    85% 50%,
    40% 50%,
    62% 50%,
    50% 50%,
    0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: afvf-smoke-filaments 20s ease-in-out infinite;
}
.afvf-smoke-title.afvf-smoke-variant-b,
.afvf-zigzag__title.afvf-smoke-variant-b {
  animation-name: afvf-smoke-filaments-b;
}
.afvf-smoke-title.afvf-smoke-variant-c,
.afvf-zigzag__title.afvf-smoke-variant-c {
  animation-name: afvf-smoke-filaments-c;
}
/* Chaque fil : trajectoire différente (↔ ↕ diagonales), boucle sans dérive unique droite→gauche */
@keyframes afvf-smoke-filaments {
  0%, 100% {
    background-position:
      15% 52%,
      82% 46%,
      48% 58%,
      28% 44%,
      71% 54%,
      35% 50%,
      64% 48%,
      50% 50%,
      0 0;
  }
  16% {
    background-position:
      72% 44%,
      18% 57%,
      95% 42%,
      55% 59%,
      8% 48%,
      78% 43%,
      22% 56%,
      54% 47%,
      0 0;
  }
  33% {
    background-position:
      38% 60%,
      90% 41%,
      12% 53%,
      68% 38%,
      44% 62%,
      85% 45%,
      30% 51%,
      46% 53%,
      0 0;
  }
  50% {
    background-position:
      8% 47%,
      58% 55%,
      76% 39%,
      92% 52%,
      25% 41%,
      48% 58%,
      88% 44%,
      52% 49%,
      0 0;
  }
  66% {
    background-position:
      65% 56%,
      32% 43%,
      54% 61%,
      14% 50%,
      86% 37%,
      20% 54%,
      72% 46%,
      48% 51%,
      0 0;
  }
  83% {
    background-position:
      42% 40%,
      75% 58%,
      22% 46%,
      80% 55%,
      52% 49%,
      62% 42%,
      10% 57%,
      51% 48%,
      0 0;
  }
}
@keyframes afvf-smoke-filaments-b {
  0%, 100% {
    background-position:
      78% 48%,
      22% 55%,
      60% 42%,
      88% 57%,
      35% 45%,
      70% 52%,
      18% 49%,
      50% 50%,
      0 0;
  }
  20% {
    background-position:
      25% 58%,
      68% 40%,
      10% 54%,
      42% 46%,
      92% 51%,
      30% 38%,
      75% 60%,
      48% 52%,
      0 0;
  }
  40% {
    background-position:
      55% 43%,
      5% 52%,
      82% 58%,
      18% 41%,
      58% 56%,
      95% 47%,
      40% 44%,
      52% 46%,
      0 0;
  }
  60% {
    background-position:
      92% 53%,
      48% 38%,
      28% 49%,
      65% 62%,
      12% 43%,
      52% 55%,
      85% 41%,
      49% 50%,
      0 0;
  }
  80% {
    background-position:
      38% 51%,
      85% 45%,
      50% 36%,
      30% 58%,
      72% 48%,
      15% 54%,
      58% 57%,
      51% 47%,
      0 0;
  }
}
@keyframes afvf-smoke-filaments-c {
  0%, 100% {
    background-position:
      52% 45%,
      40% 58%,
      85% 50%,
      12% 52%,
      68% 41%,
      45% 56%,
      90% 47%,
      50% 50%,
      0 0;
  }
  18% {
    background-position:
      18% 54%,
      72% 44%,
      35% 62%,
      58% 39%,
      25% 57%,
      88% 42%,
      48% 51%,
      47% 48%,
      0 0;
  }
  36% {
    background-position:
      80% 41%,
      28% 50%,
      62% 38%,
      95% 55%,
      42% 48%,
      15% 60%,
      70% 43%,
      53% 52%,
      0 0;
  }
  54% {
    background-position:
      45% 59%,
      92% 46%,
      20% 52%,
      38% 43%,
      78% 58%,
      55% 37%,
      12% 54%,
      49% 49%,
      0 0;
  }
  72% {
    background-position:
      10% 47%,
      55% 61%,
      75% 45%,
      68% 52%,
      32% 40%,
      82% 56%,
      28% 48%,
      51% 51%,
      0 0;
  }
  90% {
    background-position:
      62% 53%,
      15% 42%,
      48% 57%,
      82% 38%,
      52% 55%,
      38% 49%,
      65% 42%,
      50% 48%,
      0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .afvf-smoke-title,
  .afvf-zigzag__title {
    animation: none;
    background-position:
      20% 50%,
      45% 52%,
      70% 48%,
      35% 54%,
      85% 49%,
      50% 50%,
      65% 50%,
      50% 50%,
      0 0;
  }
}
.afvf-zigzag__lead,
.afvf-zigzag__text {
  font-family: 'Montserrat', var(--font-body);
  font-size: clamp(0.76rem, 1.1vw, 0.86rem);
  line-height: 1.65;
  color: #1a1a1a;
  text-align: justify;
  margin: 0 0 1.1rem !important;
}
.afvf-zigzag__lead {
  text-align: left;
  margin-bottom: 1.4rem !important;
}
.afvf-zigzag__list {
  font-family: 'Montserrat', var(--font-body);
  font-size: clamp(0.76rem, 1.1vw, 0.86rem);
  line-height: 1.65;
  color: #1a1a1a;
  text-align: left;
  margin: 0 0 1.1rem !important;
  padding-left: 1.25rem;
}
.afvf-zigzag__list li {
  margin-bottom: 0.35rem;
}
.afvf-zigzag__cta {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 1.25rem;
  width: 100%;
  justify-content: flex-end !important;
}
.afvf-zigzag__more .wp-block-button__link {
  background: #2b2b2b !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.55rem 1.2rem !important;
  font-family: 'Montserrat', var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  text-decoration: none;
  box-shadow: none !important;
}
.afvf-zigzag__more .wp-block-button__link:hover {
  background: #1a1a1a !important;
  color: #fff !important;
}
@media (max-width: 782px) {
  .afvf-zigzag__row {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .afvf-zigzag__panel,
  .afvf-zigzag__row--reverse .afvf-zigzag__panel {
    padding: 1.75rem 1.5rem;
  }
  .afvf-zigzag__media {
    height: auto;
  }
  .afvf-zigzag__media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Motif « Bouton rose » (Nos Projets…) */
.afvf-pink-button .wp-block-button__link,
.afvf-pink-button.is-style-fill .wp-block-button__link {
  display: inline-block;
  background: var(--wix-pink, #ec5e87) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.8rem 2.4rem !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  box-shadow: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.afvf-pink-button .wp-block-button__link:hover,
.afvf-pink-button .wp-block-button__link:focus-visible {
  background: #d94c76 !important;
  color: #fff !important;
  text-decoration: none;
}

/* Motif grille 3×2 — photo + étiquette ; la carte monte au survol (site public) */
.wp-block-group.afvf-lift-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1.6rem;
  width: min(940px, calc(100vw - 2rem));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  box-sizing: border-box;
}
.afvf-lift-grid > * {
  margin: 0;
  min-width: 0;
}
.afvf-lift-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.35s ease;
  will-change: transform;
}
.afvf-lift-card > * {
  margin: 0;
}
.afvf-lift-card__media {
  position: relative;
  z-index: 1;
  background: #d9dde2;
  box-shadow: 0 14px 14px -12px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.35s ease;
}
.afvf-lift-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.72 / 1;
  object-fit: cover;
  border-radius: 0;
}
.afvf-lift-card__label-wrap {
  position: relative;
  z-index: 3;
  margin-top: -1.7rem;
  justify-content: center;
}
.afvf-lift-card__label .wp-block-button__link,
.afvf-lift-card__label.is-style-outline .wp-block-button__link {
  display: block;
  max-width: 100%;
  min-width: 5.2rem;
  padding: 0.85rem 1rem !important;
  background: #fff !important;
  color: #555 !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 0 !important;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.75;
  text-align: center;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  box-shadow: none !important;
}
.afvf-lift-card__label .wp-block-button__link:hover {
  color: var(--blue) !important;
}
.afvf-lift-card__title {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #d3d7dd !important;
  margin: 2.1rem 0 0.7rem !important;
}
.afvf-lift-card__text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 !important;
  padding: 0 0.4rem;
}
/* Survol (site public, appareils avec souris) : la carte monte */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(.block-editor-page) .afvf-lift-card:hover,
  body:not(.block-editor-page) .afvf-lift-card:focus-within {
    transform: translateY(-14px);
  }
  body:not(.block-editor-page) .afvf-lift-card:hover .afvf-lift-card__media,
  body:not(.block-editor-page) .afvf-lift-card:focus-within .afvf-lift-card__media {
    box-shadow: 0 22px 18px -14px rgba(0, 0, 0, 0.5);
  }
}
@media (max-width: 900px) {
  .wp-block-group.afvf-lift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .wp-block-group.afvf-lift-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Motif formations (Wix) — bandeau bleu posé sur la photo ; au survol il se dilate vers le haut (le bas ne bouge pas) */
.wp-block-group.afvf-course-rise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.6rem;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  align-items: stretch;
}
.afvf-course-rise-grid > * {
  margin: 0 !important;
  min-width: 0;
}
.afvf-course-rise-card {
  --afvf-rise-blue: #2266cf;
  --afvf-rise-h: 6.1rem;       /* hauteur du bandeau au repos */
  --afvf-rise-h-hover: 8.85rem; /* hauteur du bandeau au survol (il grandit vers le haut) */
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.afvf-course-rise-card > * {
  margin: 0 !important;
}
.afvf-course-rise-card--sand {
  background: #f9ebe2;
}
.afvf-course-rise-card--peach {
  background: #ffb78f;
  border-radius: 0 0 0.9rem 0;
}

/* Zone photo */
.afvf-course-rise-card__head {
  position: relative;
  overflow: visible;
  background: #1c1c1c;
}
.afvf-course-rise-card--sand .afvf-course-rise-card__head {
  aspect-ratio: 0.69 / 1;
  margin: 1.1rem 0.4rem 0 !important;
}
.afvf-course-rise-card--peach .afvf-course-rise-card__head {
  aspect-ratio: 0.645 / 1;
  background: #f1f1f1;
}
.afvf-course-rise-card__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0 !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.afvf-course-rise-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Flèche qui apparaît au survol (bas gauche) */
.afvf-course-rise-card__head::after {
  content: "\2192";
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 7;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
/* Voile sombre sous le bandeau (carte beige) */
.afvf-course-rise-card--sand .afvf-course-rise-card__head::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  z-index: 3;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

/* Bandeau bleu : le bas reste fixe, le haut monte */
.afvf-course-rise-card__blue {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  height: var(--afvf-rise-h);
  background: var(--afvf-rise-blue);
  padding: 0.95rem 1rem 0 !important;
  box-sizing: border-box;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.33, 1, 0.68, 1), top 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.afvf-course-rise-card--sand .afvf-course-rise-card__blue {
  bottom: 22%;
}
.afvf-course-rise-card--peach .afvf-course-rise-card__blue {
  top: 0;
}
.afvf-course-rise-card__blue-title {
  margin: 0 0 0.4rem !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff !important;
}
.afvf-course-rise-card__trainer {
  margin: 0 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
}

/* Objectif */
.afvf-course-rise-card__objective {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 6;
  margin: 0 !important;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
}
/* Beige : texte sous le bandeau ; au survol il monte dans le bleu */
.afvf-course-rise-card--sand .afvf-course-rise-card__objective {
  top: 78%;
  padding: 0.7rem 1rem 0 !important;
  font-size: 0.64rem;
  color: #e9e9e9;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.afvf-course-rise-card--sand .afvf-course-rise-card__obj-label {
  color: #ffc9a0;
}
/* Pêche : texte fixe en bas de la photo */
.afvf-course-rise-card--peach .afvf-course-rise-card__objective {
  bottom: 2.4rem;
  padding: 0 1rem !important;
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 0.82rem;
  color: #555;
}

/* Pied de carte */
.afvf-course-rise-card__foot {
  padding: 1.2rem 1rem 1.4rem !important;
  font-family: var(--font-ui, 'Poppins', Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.55;
  color: #1a1a1a;
}
.afvf-course-rise-card--peach .afvf-course-rise-card__foot {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.64rem;
  font-weight: 600;
}
.afvf-course-rise-card__meta {
  margin: 0 0 0.35rem !important;
}
.afvf-course-rise-card__meta ul {
  margin: 0.2rem 0 0 1rem;
  padding: 0;
}
.afvf-course-rise-card__more-wrap {
  margin: 0.55rem 0 0 !important;
}
.afvf-course-rise-card__more {
  font-weight: 700;
  font-size: 0.76rem;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.afvf-course-rise-card__more:hover {
  color: var(--afvf-rise-blue);
}

/* Survol (site public) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(.block-editor-page) .afvf-course-rise-card:hover,
  body:not(.block-editor-page) .afvf-course-rise-card:focus-within {
    z-index: 10;
  }
  body:not(.block-editor-page) .afvf-course-rise-card:hover .afvf-course-rise-card__blue,
  body:not(.block-editor-page) .afvf-course-rise-card:focus-within .afvf-course-rise-card__blue {
    height: var(--afvf-rise-h-hover);
  }
  body:not(.block-editor-page) .afvf-course-rise-card--peach:hover .afvf-course-rise-card__blue,
  body:not(.block-editor-page) .afvf-course-rise-card--peach:focus-within .afvf-course-rise-card__blue {
    top: calc(var(--afvf-rise-h) - var(--afvf-rise-h-hover));
  }
  body:not(.block-editor-page) .afvf-course-rise-card--sand:hover .afvf-course-rise-card__objective,
  body:not(.block-editor-page) .afvf-course-rise-card--sand:focus-within .afvf-course-rise-card__objective {
    transform: translateY(-3.1rem);
  }
  body:not(.block-editor-page) .afvf-course-rise-card:hover .afvf-course-rise-card__head::after,
  body:not(.block-editor-page) .afvf-course-rise-card:focus-within .afvf-course-rise-card__head::after {
    opacity: 1;
  }
}
@media (max-width: 720px) {
  .wp-block-group.afvf-course-rise-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Page « Formations » (Wix) — fond gris, titre blanc, bouton rose, intro, public concerné */
.wp-block-group.afvf-formations-page {
  background: #c7c7c7;
  padding: 1.5rem 0 3rem !important;
  box-sizing: border-box;
}
.afvf-formations-page__inner {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto !important;
}
.afvf-formations-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  margin: 0 0 1rem !important;
}
.afvf-formations-page__title {
  margin: 0 !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff !important;
}
.afvf-formations-page__catalog .wp-block-button__link,
.afvf-formations-page__catalog.is-style-fill .wp-block-button__link {
  background: #ec5e87 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.55rem 1.1rem !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}
.afvf-formations-page__catalog .wp-block-button__link:hover {
  background: #d94c76 !important;
}
.afvf-formations-page__intro {
  margin: 0 0 0.9rem !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #555;
}
.afvf-formations-page__subtitle {
  margin: 0 0 0.35rem !important;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: #333 !important;
}
.afvf-formations-page__list {
  margin: 0 0 1.5rem 1.2rem !important;
  padding: 0;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 0.74rem;
  line-height: 1.6;
  color: #444;
}
.afvf-formations-page__list li {
  margin: 0;
}
.afvf-formations-page .afvf-course-rise-grid {
  width: min(92%, 880px);
  margin-left: 0;
}
@media (max-width: 720px) {
  .afvf-formations-page .afvf-course-rise-grid {
    width: 100%;
  }
}

/* Motif grille 2×3 — carte texte (fond couleur) + photo, bouton Découvrir au survol */
.afvf-hover-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.afvf-hover-split-grid > * {
  margin: 0 !important;
}
.afvf-hover-split-card {
  --afvf-split-bg: #5a52b3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 1.3 / 1;
  min-height: 240px;
  overflow: hidden;
  background: var(--afvf-split-bg);
  margin: 0 !important;
}
.afvf-hover-split-card--plaidoyer { --afvf-split-bg: #5a52b3; }
.afvf-hover-split-card--socio     { --afvf-split-bg: #996600; }
.afvf-hover-split-card--event     { --afvf-split-bg: #a33c00; }
.afvf-hover-split-card--finance   { --afvf-split-bg: #3f7355; }
.afvf-hover-split-card--formation { --afvf-split-bg: #36425a; }
.afvf-hover-split-card--admin     { --afvf-split-bg: #8b0000; }
.afvf-hover-split-card > * {
  margin: 0 !important;
  min-width: 0;
}
.afvf-hover-split-card__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(1.25rem, 2.6vw, 2rem) clamp(1rem, 2vw, 1.5rem) !important;
  background: var(--afvf-split-bg);
  box-sizing: border-box;
}
.afvf-hover-split-card__panel > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}
.afvf-hover-split-card__title {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: #fff !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.afvf-hover-split-card__lead {
  font-size: clamp(0.82rem, 1.3vw, 0.98rem);
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: #fff !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}
.afvf-hover-split-card__cta {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 1rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.afvf-hover-split-card__btn .wp-block-button__link,
.afvf-hover-split-card__btn.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid #fff !important;
  border-radius: 0 !important;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.5rem 1.9rem !important;
  min-width: 7.5rem;
  text-align: center;
  box-shadow: none !important;
}
.afvf-hover-split-card__btn .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}
/* Bouton masqué tant que la souris n’est pas sur la carte (appareils avec survol) */
@media (hover: hover) and (pointer: fine) {
  .afvf-hover-split-card__cta {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
  }
  .afvf-hover-split-card:hover .afvf-hover-split-card__cta,
  .afvf-hover-split-card:focus-within .afvf-hover-split-card__cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.afvf-hover-split-card__media {
  margin: 0 !important;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.afvf-hover-split-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 900px) {
  .afvf-hover-split-grid {
    grid-template-columns: 1fr;
  }
  .afvf-hover-split-card {
    aspect-ratio: auto;
    min-height: 260px;
  }
}
@media (max-width: 520px) {
  .afvf-hover-split-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 200px;
  }
  .afvf-hover-split-card__media {
    order: 2;
  }
}

/* Hero défilant (diaporama) — images + textes qui changent toutes les 3 s */
.wp-block-group.afvf-hero-slider {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.afvf-hero-slider > .wp-block-cover.afvf-hero-slide,
.afvf-hero-slider .wp-block-cover.afvf-hero-slide {
  width: 100%;
  max-width: none;
  margin: 0 !important;
}
.afvf-hero-slide .wp-block-cover__inner-container {
  width: min(900px, 92%);
  padding-top: 1.25rem !important;
  padding-bottom: 3.5rem !important;
  text-align: center;
}
body.afvf-hero-under-header .afvf-hero-slider .afvf-hero-slide .wp-block-cover__inner-container {
  padding-top: calc(var(--header-bar-height) + 1.25rem) !important;
}
body.has-topbar.afvf-hero-under-header .afvf-hero-slider .afvf-hero-slide .wp-block-cover__inner-container {
  padding-top: calc(var(--topbar-height) + var(--header-bar-height) + 1.25rem) !important;
}
.afvf-hero-slide__title {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff !important;
  margin: 0 0 1rem !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.afvf-hero-slide__text {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.5;
  color: #fff !important;
  margin: 0 0 1.5rem !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.afvf-hero-slide__btn .wp-block-button__link,
.afvf-hero-slide__btn.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 0 !important;
  padding: 0.6rem 1.9rem !important;
  font-weight: 600;
  text-decoration: none;
}
.afvf-hero-slide__btn .wp-block-button__link:hover {
  background: #fff !important;
  color: var(--blue) !important;
}
/* JS actif : diapositives empilées, fondu enchaîné */
.afvf-hero-slider.is-js {
  display: grid;
}
.afvf-hero-slider.is-js > .afvf-hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
  z-index: 0;
}
.afvf-hero-slider.is-js > .afvf-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s;
  z-index: 1;
}
.afvf-hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}
.afvf-hero-slider__dot {
  width: 0.85rem;
  height: 0.85rem;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.afvf-hero-slider__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}
.afvf-hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  margin-top: -1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.afvf-hero-slider__arrow:hover,
.afvf-hero-slider__arrow:focus-visible {
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
}
.afvf-hero-slider__arrow--prev {
  left: clamp(0.5rem, 2vw, 1.5rem);
}
.afvf-hero-slider__arrow--next {
  right: clamp(0.5rem, 2vw, 1.5rem);
}
@media (max-width: 640px) {
  .afvf-hero-slider__arrow {
    width: 2.4rem;
    height: 2.4rem;
    margin-top: -1.2rem;
  }
  .afvf-hero-slider__arrow svg {
    width: 20px;
    height: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .afvf-hero-slider.is-js > .afvf-hero-slide {
    transition: none;
  }
}

/* Page « fond blanc » (modèle de page) */
body.afvf-bg-white,
body.afvf-bg-white .afvf-block-content {
  background: #fff;
}
body.afvf-bg-white .afvf-block-content:not(:has(> .wp-block-cover:first-child)):not(:has(> .afvf-hero-slider:first-child)) {
  padding-top: calc(var(--header-bar-height, 58px) + 1.75rem);
}
body.afvf-bg-white.has-topbar .afvf-block-content:not(:has(> .wp-block-cover:first-child)):not(:has(> .afvf-hero-slider:first-child)) {
  padding-top: calc(var(--topbar-height, 2.65rem) + var(--header-bar-height, 58px) + 1.75rem);
}

/* Motif « Carte photo + texte » (fond bleu-gris, type Wix) */
.afvf-photo-text-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.afvf-photo-text-list > * {
  margin: 0 !important;
}
.afvf-photo-text-card {
  --afvf-card-bg: #d3d9e6;
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  min-height: 190px;
  background: var(--afvf-card-bg);
  overflow: hidden;
}
.afvf-photo-text-card > * {
  margin: 0 !important;
  min-width: 0;
}
.afvf-photo-text-card__media {
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
}
.afvf-photo-text-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.afvf-photo-text-card__body {
  padding: 1.1rem 1.1rem 1.35rem;
  box-sizing: border-box;
}
.afvf-photo-text-card__title {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  color: #000;
  margin: 0 0 0.5rem !important;
}
.afvf-photo-text-card__text {
  font-family: 'Montserrat', var(--font-body);
  font-size: clamp(0.82rem, 1.3vw, 0.92rem);
  line-height: 1.5;
  text-align: justify;
  color: #1a1a1a;
  margin: 0 !important;
}
@media (max-width: 640px) {
  .afvf-photo-text-card {
    grid-template-columns: 1fr;
  }
  .afvf-photo-text-card__media {
    height: 200px;
  }
}

/* Motif « Vision » — photo à droite + carte beige chevauchante */
.wp-block-group.afvf-vision-offset {
  --afvf-vision-bg: #e8d3c0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: clamp(1.75rem, 5vw, 3.25rem) auto auto;
  /* Largeur propre : sort d’une colonne étroite (~720 px) et reste centré sur l’écran */
  width: min(1000px, calc(100vw - 2rem));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}
.afvf-vision-offset > * {
  margin: 0;
  min-width: 0;
}
.afvf-vision-offset__photo {
  grid-column: 4 / 13;
  grid-row: 1 / 3;
  align-self: start;
  z-index: 1;
}
.afvf-vision-offset__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.75 / 1;
  object-fit: cover;
}
.afvf-vision-offset > .afvf-vision-offset__card {
  grid-column: 1 / 8;
  grid-row: 2 / 4;
  z-index: 2;
  /* Aligné sur le bord gauche du bloc ; décalage : carte → Dimensions → Marge. */
  margin-left: 0;
  background: var(--afvf-vision-bg);
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 11%, 5.75rem);
  box-sizing: border-box;
}
.afvf-vision-offset__title {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff !important;
  margin: 0 0 1rem !important;
}
.afvf-vision-offset__text,
.afvf-vision-offset__list {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.25vw, 0.88rem);
  line-height: 1.5;
  color: #3a2f28;
  margin: 0 0 0.9rem !important;
}
.afvf-vision-offset__list {
  padding-left: 1.4rem;
}
.afvf-vision-offset__list li {
  margin-bottom: 0.5rem;
}
.afvf-vision-offset__cta {
  margin: 0.5rem 0 0 !important;
}
.afvf-vision-offset__btn .wp-block-button__link,
.afvf-vision-offset__btn.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #b5541c !important;
  border: 1px solid #b5541c !important;
  border-radius: 999px !important;
  font-size: 0.78rem;
  font-weight: 400;
  padding: 0.3rem 0.85rem !important;
  box-shadow: none !important;
  text-decoration: none;
}
.afvf-vision-offset__btn .wp-block-button__link:hover {
  background: #b5541c !important;
  color: #fff !important;
}
@media (max-width: 782px) {
  .afvf-vision-offset {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .afvf-vision-offset__photo {
    grid-column: 1;
    grid-row: 1;
  }
  .afvf-vision-offset__card {
    grid-column: 1;
    grid-row: 2;
    margin-top: -2rem;
    margin-left: 1rem;
    margin-right: 1rem;
    padding-left: 1.5rem;
  }
}

/* Motif « Nos Missions » — photo pleine largeur + titre blanc sur étiquette rose */
.wp-block-cover.afvf-mission-banner {
  --afvf-mission-pink: #de3b69;
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.wp-block-cover.afvf-mission-banner:not(:has(.wp-block-cover__image-background)):not(:has(.wp-block-cover__video-background)) {
  background: linear-gradient(180deg, #b4c0c5 0%, #d3dadd 55%, #aebbc0 100%);
}
.wp-block-cover.afvf-mission-banner .wp-block-cover__image-background {
  object-position: center;
}
.wp-block-cover.afvf-mission-banner > .wp-block-cover__inner-container {
  position: relative;
  display: block;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.wp-block-cover.afvf-mission-banner .afvf-mission-banner__title {
  /* Position par défaut ; la poignée « Déplacer » écrase top/left (classes afvf-pos-*). */
  position: absolute;
  top: 55%;
  left: 47.7%;
  z-index: 3;
  display: block;
  width: max-content;
  max-width: min(92%, 720px);
  margin: 0 !important;
  padding: 0.14em 0.16em;
  background: var(--afvf-mission-pink);
  color: #fff !important;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: clamp(1.7rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}

/* Motif « Adhérer » — Couverture (fond) + affiche en calque (type Wix) */
.wp-block-cover.afvf-adhere-banner,
.wp-block-cover.afvf-adhere-cover {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100% !important;
  max-width: none !important;
  /* Pas de !important : la « Hauteur min. » du bloc Couverture (style inline) doit pouvoir augmenter la bannière. */
  min-height: min(640px, 68vh);
  height: auto !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  overflow: visible !important;
  box-sizing: border-box;
  padding-bottom: 2rem !important;
  isolation: isolate;
  --afvf-adhere-poster-width: 420px;
  --afvf-adhere-poster-max-width: 520px;
  --afvf-adhere-poster-max-height: min(780px, 88vh);
}
/* Pas de voile gris : la photo bureau du thème a déjà la zone libre à droite */
.wp-block-cover.afvf-adhere-banner > .wp-block-cover__image-background,
.wp-block-cover.afvf-adhere-cover > .wp-block-cover__image-background {
  grid-row: 1;
  grid-column: 1;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: left center;
  z-index: 0;
}
.wp-block-cover.afvf-adhere-banner:not(:has(.wp-block-cover__image-background)),
.wp-block-cover.afvf-adhere-cover:not(:has(.wp-block-cover__image-background)) {
  background-color: #e8e8e8;
}
.wp-block-cover.afvf-adhere-banner > .wp-block-cover__background,
.wp-block-cover.afvf-adhere-cover > .wp-block-cover__background {
  grid-row: 1;
  grid-column: 1;
  opacity: 0 !important;
  z-index: 0;
}
.wp-block-cover.afvf-adhere-banner > .wp-block-cover__inner-container,
.wp-block-cover.afvf-adhere-cover > .wp-block-cover__inner-container {
  grid-row: 1;
  grid-column: 1;
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  width: 100% !important;
  max-width: none !important;
  min-height: 100%;
  height: 100%;
  align-self: stretch;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}
/* Calques affiche / bouton : position via poignée « Déplacer » (classes afvf-pos-* + PHP) */
.wp-block-cover.afvf-adhere-banner > .wp-block-cover__inner-container,
.wp-block-cover.afvf-adhere-cover > .wp-block-cover__inner-container {
  overflow: visible !important;
}
.wp-block-cover.afvf-adhere-banner .afvf-adhere-banner__poster.afvf-banner-layer,
.wp-block-cover.afvf-adhere-banner figure.afvf-adhere-banner__poster,
.wp-block-cover.afvf-adhere-cover .afvf-adhere-cover__poster.afvf-banner-layer,
.wp-block-cover.afvf-adhere-cover figure.afvf-adhere-cover__poster {
  z-index: 4;
  margin: 0 !important;
  /* Sans !important : Image → largeur / poignées de redimensionnement dans l’éditeur. */
  width: min(var(--afvf-adhere-poster-width), 44vw);
  max-width: min(var(--afvf-adhere-poster-max-width), 48vw);
}
.wp-block-cover.afvf-adhere-banner .afvf-adhere-banner__poster img,
.wp-block-cover.afvf-adhere-cover .afvf-adhere-cover__poster img {
  display: block;
  width: 100%;
  height: auto;
  max-height: var(--afvf-adhere-poster-max-height);
  object-fit: contain;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}
/* Dimensions explicites du bloc Image (style inline) */
.wp-block-cover.afvf-adhere-banner figure.afvf-adhere-cover__poster[style*="width"],
.wp-block-cover.afvf-adhere-cover figure.afvf-adhere-cover__poster[style*="width"],
.wp-block-cover.afvf-adhere-banner figure.afvf-adhere-banner__poster[style*="width"],
.wp-block-cover.afvf-adhere-cover figure.afvf-adhere-banner__poster[style*="width"] {
  max-width: none;
}
.wp-block-cover.afvf-adhere-banner figure.afvf-adhere-cover__poster img[style*="height"],
.wp-block-cover.afvf-adhere-cover figure.afvf-adhere-cover__poster img[style*="height"],
.wp-block-cover.afvf-adhere-banner figure.afvf-adhere-banner__poster img[style*="height"],
.wp-block-cover.afvf-adhere-cover figure.afvf-adhere-banner__poster img[style*="height"] {
  max-height: none;
}
.wp-block-cover.afvf-adhere-banner .afvf-adhere-banner__cta.afvf-banner-layer,
.wp-block-cover.afvf-adhere-cover .afvf-adhere-cover__cta.afvf-banner-layer {
  z-index: 6;
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0;
  pointer-events: none;
}
.wp-block-cover.afvf-adhere-banner .afvf-adhere-banner__cta .wp-block-button,
.wp-block-cover.afvf-adhere-cover .afvf-adhere-cover__cta .wp-block-button {
  pointer-events: auto;
}
.afvf-adhere-banner__btn .wp-block-button__link,
.afvf-adhere-cover__btn .wp-block-button__link,
.wp-block-cover.afvf-adhere-banner .afvf-adhere-banner__cta .wp-block-button__link,
.wp-block-cover.afvf-adhere-cover .afvf-adhere-cover__cta .wp-block-button__link {
  background: #fff !important;
  color: var(--blue) !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.55rem 1.85rem !important;
  border-radius: 0 !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
  text-decoration: none;
  line-height: 1.35;
  min-width: 8.5rem;
  text-align: center;
}
.afvf-adhere-banner__btn .wp-block-button__link:hover,
.afvf-adhere-cover__btn .wp-block-button__link:hover {
  text-decoration: underline;
  color: var(--blue) !important;
}
@media (max-width: 782px) {
  .wp-block-cover.afvf-adhere-banner .afvf-adhere-banner__poster.afvf-banner-layer,
  .wp-block-cover.afvf-adhere-cover .afvf-adhere-cover__poster.afvf-banner-layer,
  .wp-block-cover.afvf-adhere-banner figure.afvf-adhere-banner__poster,
  .wp-block-cover.afvf-adhere-cover figure.afvf-adhere-cover__poster {
    width: min(var(--afvf-adhere-poster-width, 320px), 78vw);
    max-width: none;
  }
  .wp-block-cover.afvf-adhere-banner > .wp-block-cover__inner-container,
  .wp-block-cover.afvf-adhere-cover > .wp-block-cover__inner-container {
    min-height: 100%;
  }
}

.afvf-collectivites-newsletter {
  background: #ececec;
}
.afvf-collectivites-newsletter .afvf-newsletter-signup.wrap {
  padding-top: 0;
  padding-bottom: 0;
}
.afvf-collectivites-newsletter .afvf-newsletter-signup__title {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 700;
}
.afvf-page-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-bottom: 0.5rem;
}
.afvf-page-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #2a2a2a;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.afvf-page-social__link:hover {
  opacity: 0.72;
}

.afvf-pattern-hint {
  font-size: 0.88rem;
  color: #777;
  margin: 0.75rem 1rem !important;
  font-style: italic;
}
/* Aides motifs : visible dans l’éditeur seulement */
body:not(.block-editor-page) .afvf-pattern-hint {
  display: none !important;
}

/*
 * Kër Aïcha — chaque section = une Couverture (bannière) empilée.
 * (1) fond + Adhérer → (2) 3 photos → (3) carte → (4) barre contact.
 */
.wp-block-cover.afvf-ker-aicha-page,
.wp-block-cover.afvf-wix-photo-card.afvf-ker-aicha-page,
.wp-block-cover.afvf-ker-aicha-band:not(.afvf-ker-aicha-cover-grow):not(.afvf-ker-aicha-band--section-card):not(.afvf-ker-aicha-band--section-bar) {
  height: auto !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  position: relative;
  display: block !important;
}
.wp-block-cover.afvf-ker-aicha-page,
.wp-block-cover.afvf-ker-aicha-band--fond {
  min-height: min(560px, 85vh) !important;
}
.wp-block-cover.afvf-ker-aicha-band--gallery {
  min-height: 0 !important;
  z-index: 3;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}
.wp-block-cover.afvf-ker-aicha-band--gallery .wp-block-cover__background,
.wp-block-cover.afvf-ker-aicha-band--gallery .wp-block-cover__image-background {
  display: none !important;
}
.wp-block-cover.afvf-ker-aicha-band--fond {
  padding-bottom: clamp(10rem, 20vw, 14rem) !important;
  z-index: 1;
}
/* Galerie = calque sur la bannière (Motif 1), pas un bloc sous fond crème */
.afvf-ker-aicha-gallery-float {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin-top: clamp(-14rem, -26vw, -10rem) !important;
  margin-bottom: clamp(-2rem, -4vw, -1rem) !important;
  padding: 0 1.25rem !important;
  background: transparent !important;
  box-sizing: border-box;
}
.afvf-ker-aicha-gallery-float .afvf-ker-aicha-banner,
.afvf-ker-aicha-gallery-float .afvf-ker-aicha-gallery-grid {
  width: min(780px, 100%) !important;
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.wp-block-cover.afvf-ker-aicha-band--fond + .afvf-ker-aicha-gallery-float,
.wp-block-cover.afvf-ker-aicha-band--fond + .wp-block-group.afvf-ker-aicha-gallery-float,
.wp-block-cover.afvf-ker-aicha-band--fond + .wp-block-cover.afvf-ker-aicha-band--gallery {
  margin-top: clamp(-14rem, -26vw, -10rem) !important;
}
.wp-block-cover.afvf-ker-aicha-band--card {
  min-height: 0 !important;
  z-index: 4;
}
.wp-block-cover.afvf-ker-aicha-band--bar {
  min-height: 0 !important;
  z-index: 4;
}
.afvf-ker-aicha-gallery-float + .wp-block-cover.afvf-ker-aicha-band--card,
.wp-block-cover.afvf-ker-aicha-band--gallery + .wp-block-cover.afvf-ker-aicha-band--card {
  margin-top: clamp(-4.5rem, -11vw, -3.25rem) !important;
}
.wp-block-cover.afvf-ker-aicha-band--card + .wp-block-cover.afvf-ker-aicha-band--bar {
  margin-top: 0 !important;
}

/* 3 motifs : Couverture + contenu à l’intérieur */
.wp-block-cover.afvf-ker-aicha-band--section-gallery {
  min-height: min(520px, 88vh) !important;
  z-index: 1;
}
.wp-block-cover.afvf-ker-aicha-band--section-gallery .wp-block-cover__inner-container {
  min-height: min(460px, 78vh);
  justify-content: flex-end !important;
  align-items: center !important;
  padding-bottom: 0 !important;
}
.wp-block-cover.afvf-ker-aicha-band--section-gallery .afvf-ker-aicha-gallery-in-cover,
.wp-block-cover.afvf-ker-aicha-band--section-gallery .afvf-ker-aicha-banner {
  width: min(780px, 100%) !important;
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  flex-shrink: 0;
}
/*
 * Motif 2/3 : grille 1 cellule — le fond suit la hauteur de la carte / barre
 * (sinon l’image reste à min-height et la carte dépasse en bas).
 */
.wp-block-cover.afvf-ker-aicha-band--section-card,
.wp-block-cover.afvf-ker-aicha-band--section-bar,
.wp-block-cover.afvf-ker-aicha-cover-grow {
  display: grid !important;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: auto !important;
  height: auto !important;
  width: 100% !important;
  max-width: none !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 3;
  box-sizing: border-box;
}
.wp-block-cover.afvf-ker-aicha-band--section-card,
.wp-block-cover.afvf-ker-aicha-cover-grow.afvf-ker-aicha-band--section-card {
  padding-top: 2.75rem !important;
  padding-bottom: 3.25rem !important;
}
.wp-block-cover.afvf-ker-aicha-cover-grow > .wp-block-cover__background,
.wp-block-cover.afvf-ker-aicha-cover-grow > .wp-block-cover__image-background,
.wp-block-cover.afvf-ker-aicha-cover-grow > .wp-block-cover__gradient-background,
.wp-block-cover.afvf-ker-aicha-band--section-card > .wp-block-cover__background,
.wp-block-cover.afvf-ker-aicha-band--section-card > .wp-block-cover__image-background,
.wp-block-cover.afvf-ker-aicha-band--section-bar > .wp-block-cover__background,
.wp-block-cover.afvf-ker-aicha-band--section-bar > .wp-block-cover__image-background {
  grid-row: 1;
  grid-column: 1;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover;
  object-position: center center;
}
.wp-block-cover.afvf-ker-aicha-cover-grow > .wp-block-cover__inner-container,
.wp-block-cover.afvf-ker-aicha-band--section-card > .wp-block-cover__inner-container,
.wp-block-cover.afvf-ker-aicha-band--section-bar > .wp-block-cover__inner-container {
  grid-row: 1;
  grid-column: 1;
  position: relative !important;
  z-index: 2;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.wp-block-cover.afvf-ker-aicha-band--section-card .afvf-ker-aicha-card {
  width: min(780px, 100%) !important;
  max-width: 780px !important;
  margin: 0 auto !important;
  flex-shrink: 0;
}
.wp-block-cover.afvf-ker-aicha-band--section-bar .wp-block-cover__inner-container {
  justify-content: center !important;
  align-items: center !important;
  padding: 1rem 1.25rem 2.5rem !important;
}
.wp-block-cover.afvf-ker-aicha-band--section-bar .afvf-ker-aicha-bar-wrap {
  width: min(780px, 100%) !important;
  max-width: 780px !important;
  margin: 0 auto !important;
}
.wp-block-cover.afvf-ker-aicha-band--section-gallery + .wp-block-cover.afvf-ker-aicha-band--section-card {
  margin-top: clamp(-2.5rem, -6vw, -1.5rem) !important;
}
.wp-block-cover.afvf-ker-aicha-band--section-card + .wp-block-cover.afvf-ker-aicha-band--section-bar {
  margin-top: 0 !important;
}

/* Public : priorité sur block-library (même rendu qu’éditeur) */
.afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-card,
.afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-bar,
.afvf-block-content .wp-block-cover.afvf-ker-aicha-cover-grow,
body.afvf-ker-aicha-layout-page .wp-block-cover.afvf-ker-aicha-band--section-card,
body.afvf-ker-aicha-layout-page .wp-block-cover.afvf-ker-aicha-band--section-bar {
  display: grid !important;
  min-height: auto !important;
  height: auto !important;
}

body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-ker-aicha-band--section-gallery,
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover.alignfull.afvf-ker-aicha-page:first-of-type,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-ker-aicha-band--section-gallery:first-of-type {
  margin-top: calc(-1 * var(--header-bar-height)) !important;
  padding-top: var(--header-bar-height);
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-ker-aicha-band--section-gallery,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-ker-aicha-page:first-of-type {
  margin-top: calc(-1 * (var(--topbar-height) + var(--header-bar-height))) !important;
  padding-top: calc(var(--topbar-height) + var(--header-bar-height));
}
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-ker-aicha-band--section-gallery .wp-block-cover__inner-container,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-ker-aicha-page:first-of-type .wp-block-cover__inner-container {
  padding-top: 2rem !important;
  box-sizing: border-box;
}
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-ker-aicha-band--section-gallery {
  min-height: calc(min(520px, 88vh) + var(--header-bar-height)) !important;
}
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover.afvf-ker-aicha-band--section-card,
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover.afvf-ker-aicha-band--section-bar {
  margin-top: 0;
  max-width: none;
  width: 100%;
}

/* Parité public ↔ éditeur (priorité max, surcharge block-library) */
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-card,
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-bar {
  display: grid !important;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, auto);
  min-height: auto !important;
  height: auto !important;
  width: 100% !important;
  max-width: none !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box;
}
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-card {
  padding-top: 2.75rem !important;
  padding-bottom: 3.25rem !important;
  background-color: #e8e4df;
}
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-card > .wp-block-cover__image-background,
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-bar > .wp-block-cover__image-background {
  grid-row: 1;
  grid-column: 1;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  margin: 0 !important;
}
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-card > .wp-block-cover__inner-container,
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-bar > .wp-block-cover__inner-container {
  grid-row: 1;
  grid-column: 1;
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-card .afvf-ker-aicha-card {
  background: #fff !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}
body.afvf-ker-aicha-layout-page .afvf-block-content .wp-block-cover.afvf-ker-aicha-band--section-gallery + .wp-block-cover.afvf-ker-aicha-band--section-card {
  margin-top: clamp(-3rem, -8vw, -2rem) !important;
}

.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__image-background,
.wp-block-cover.afvf-ker-aicha-band .wp-block-cover__image-background {
  object-fit: cover;
}
.wp-block-cover.afvf-ker-aicha-page--header {
  min-height: min(360px, 70vh);
}
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__background,
.wp-block-cover.afvf-ker-aicha-band .wp-block-cover__background {
  opacity: 0 !important;
}
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container,
.wp-block-cover.afvf-ker-aicha-band:not(.afvf-ker-aicha-band--section-card):not(.afvf-ker-aicha-band--section-bar) .wp-block-cover__inner-container {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 auto;
  box-sizing: border-box;
}
/* Motif 1 : galerie en bas de la bannière (après règle générale) */
.wp-block-cover.afvf-ker-aicha-band--section-gallery .wp-block-cover__inner-container {
  justify-content: flex-end !important;
  align-items: center !important;
  min-height: min(460px, 78vh) !important;
  padding-bottom: 0 !important;
}
/* Blocs mal placés hors stack : même largeur, empilés sans chevauchement */
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .afvf-ker-aicha-banner,
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .afvf-ker-aicha-gallery-grid,
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .wp-block-columns.afvf-ker-aicha-gallery,
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .wp-block-group.afvf-ker-aicha-card,
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .wp-block-shortcode,
.wp-block-cover.afvf-ker-aicha-band .wp-block-cover__inner-container > .afvf-ker-aicha-banner,
.wp-block-cover.afvf-ker-aicha-band .wp-block-cover__inner-container > .wp-block-group.afvf-ker-aicha-banner,
.wp-block-cover.afvf-ker-aicha-band .wp-block-cover__inner-container > .wp-block-group.afvf-ker-aicha-card,
.wp-block-cover.afvf-ker-aicha-band .wp-block-cover__inner-container > .wp-block-group.afvf-ker-aicha-bar-wrap {
  width: min(780px, 100%) !important;
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  top: auto !important;
  transform: none !important;
  flex-shrink: 0;
}
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .wp-block-shortcode {
  line-height: normal;
  padding: 0 !important;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-adhere-wrap,
.wp-block-cover.afvf-ker-aicha-band--fond .afvf-ker-aicha-adhere-wrap,
.wp-block-cover.afvf-ker-aicha-band--section-gallery .afvf-ker-aicha-adhere-wrap {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
}
.afvf-ker-aicha-adhere {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.afvf-ker-aicha-adhere:hover {
  text-decoration: underline;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-layout {
  --afvf-ker-aicha-width: 780px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(var(--afvf-ker-aicha-width), 100%) !important;
  max-width: var(--afvf-ker-aicha-width) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
  overflow: visible !important;
  background: transparent !important;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack > *,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-layout > * {
  flex: 0 0 auto;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack > .afvf-ker-aicha-banner,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-layout > .afvf-ker-aicha-banner {
  margin: 0 !important;
  z-index: 1;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack > .afvf-ker-aicha-card,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-layout > .afvf-ker-aicha-card {
  margin-top: clamp(-5rem, -11vw, -3.25rem) !important;
  z-index: 2;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack > .wp-block-shortcode,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-layout > .wp-block-shortcode,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack > .afvf-ker-aicha-bar-wrap,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-layout > .afvf-ker-aicha-bar-wrap,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack > .wp-block-group.afvf-ker-aicha-bar-wrap,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-layout > .wp-block-group.afvf-ker-aicha-bar-wrap {
  margin: 0 !important;
  z-index: 2;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack > .wp-block-shortcode {
  padding: 0 !important;
  line-height: normal;
}
.afvf-ker-aicha-bar__cell--cta p {
  margin: 0 !important;
}
.afvf-ker-aicha-bar__cell--cta a {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}
.afvf-ker-aicha-bar__cell--cta a:hover {
  color: #1a1a1a;
  text-decoration: none;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack.is-layout-constrained > .wp-block-group__inner-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* Anciennes pages : galerie / carte hors stack */
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .afvf-ker-aicha-banner,
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .afvf-ker-aicha-gallery,
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .afvf-ker-aicha-gallery-grid,
.wp-block-cover.afvf-ker-aicha-page .wp-block-cover__inner-container > .afvf-ker-aicha-stack {
  width: min(780px, 100%) !important;
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Bannière : photos sur le fond (pas de bande blanche) */
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-banner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible;
  flex-shrink: 0;
}
.afvf-ker-aicha-banner--single .afvf-ker-aicha-banner__image {
  margin: 0 !important;
  line-height: 0;
}
.afvf-ker-aicha-banner--single .afvf-ker-aicha-banner__image img {
  width: 100%;
  max-width: 100%;
  height: clamp(160px, 28vw, 260px);
  object-fit: cover;
  display: block;
}
.afvf-ker-aicha-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-gallery {
  gap: 0 !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
}
.afvf-ker-aicha-gallery .wp-block-column {
  margin: 0 !important;
  flex: 1 1 33.333% !important;
  min-width: 0 !important;
  max-width: 33.333% !important;
  padding: 0 !important;
}
.afvf-ker-aicha-gallery-grid .wp-block-image,
.afvf-ker-aicha-gallery__photo {
  margin: 0 !important;
  line-height: 0;
  max-width: 100%;
  min-width: 0;
}
.afvf-ker-aicha-gallery-grid .wp-block-image img,
.afvf-ker-aicha-gallery__photo img {
  width: 100%;
  max-width: 100%;
  height: clamp(200px, 34vw, 300px);
  object-fit: cover;
  display: block;
}
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-card,
.wp-block-cover.afvf-ker-aicha-page .afvf-ker-aicha-stack .afvf-wix-overlay-card.afvf-ker-aicha-card,
.wp-block-cover.afvf-ker-aicha-band--card .afvf-ker-aicha-card,
.wp-block-cover.afvf-ker-aicha-band--section-card .afvf-ker-aicha-card {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  text-align: left;
  background: #fff;
  color: #333;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  padding: 2.25rem 2rem 1.75rem;
}
.afvf-ker-aicha-bar-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: normal;
}
.afvf-ker-aicha-card__subtitle {
  text-align: center !important;
  color: #555 !important;
  font-size: 1rem !important;
  line-height: 1.45;
  margin: 0.35rem 0 1.25rem !important;
  max-width: 36rem;
  margin-left: auto !important;
  margin-right: auto !important;
}
.afvf-ker-aicha-card__buttons .wp-block-button__link {
  background-color: #ec5e87 !important;
  color: #fff !important;
  border-radius: 0;
}
@media (max-width: 600px) {
  .afvf-ker-aicha-gallery-grid {
    grid-template-columns: 1fr;
  }
  .afvf-ker-aicha-gallery {
    flex-direction: column !important;
  }
  .afvf-ker-aicha-gallery .wp-block-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
  .afvf-ker-aicha-gallery-grid .wp-block-image img,
  .afvf-ker-aicha-gallery__photo img {
    height: 160px;
  }
}
.afvf-ker-aicha-card__title,
.afvf-ker-aicha-card .afvf-ker-aicha-card__title {
  text-align: center !important;
  color: #8a8a8a !important;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem !important;
}
.afvf-ker-aicha-card__section {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.35rem 0 0.45rem !important;
  color: var(--ink);
  text-align: left;
}
.afvf-ker-aicha-card p:not(.afvf-ker-aicha-highlight) {
  text-align: left;
  line-height: 1.6;
  margin-top: 0;
  font-size: 0.98rem;
}
.afvf-ker-aicha-highlight {
  color: #c04a28 !important;
  font-weight: 600;
  margin: 0.65rem 0 0 !important;
  text-align: left;
}
.afvf-ker-aicha-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  min-height: 88px;
}
.wp-block-group.afvf-ker-aicha-bar > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  min-height: inherit;
  margin: 0;
  padding: 0;
}
.afvf-ker-aicha-bar__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}
.afvf-ker-aicha-bar__cell + .afvf-ker-aicha-bar__cell {
  border-left: 1px solid #e8e8e8;
}
.afvf-ker-aicha-bar__label {
  font-size: 0.8rem;
  color: #666;
}
.afvf-ker-aicha-bar__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.afvf-ker-aicha-bar__value:hover {
  text-decoration: underline;
}
.afvf-ker-aicha-bar__cell--cta {
  background: #bfe8d8;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  border-left: 0;
  transition: filter 0.15s ease;
}
.afvf-ker-aicha-bar__cell--cta:hover {
  filter: brightness(0.96);
  color: #1a1a1a;
}
@media (max-width: 640px) {
  .afvf-ker-aicha-bar {
    grid-template-columns: 1fr;
  }
  .afvf-ker-aicha-bar__cell + .afvf-ker-aicha-bar__cell {
    border-left: 0;
    border-top: 1px solid #e8e8e8;
  }
  .afvf-ker-aicha-bar__cell--cta {
    min-height: 72px;
  }
}

.kicker { color: var(--red); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }

.prose h2 { font-size: 2rem; margin: 2rem 0 0.7rem; }
.prose h3 { font-size: 1.35rem; margin: 1.4rem 0 0.4rem; }
.prose ul { padding-left: 1.1rem; }
.prose li { margin: 0.35rem 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.split img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: 20px; }

.band { background: var(--dark); color: #fff; }
.band a { color: #ffd0d6; }
.band .card { background: #1c1c1c; color: #fff; border-color: #2c2c2c; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.person { background: var(--paper); border-radius: 16px; padding: 1rem; border: 1px solid var(--line); }
.person strong { display: block; }
.person span { color: var(--muted); font-size: 0.92rem; }

.quote {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.35;
  margin: 0;
}
.quote cite { display: block; margin-top: 0.8rem; font-style: normal; font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); }

form { display: grid; gap: 0.7rem; }
label { font-size: 0.92rem; font-weight: 600; }
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.thanks { display: none; background: #eef8ef; border: 1px solid #b7e0bc; padding: 0.8rem 1rem; border-radius: 12px; }
form.sent .thanks { display: block; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.footer--wix {
  background: #fff;
  color: #111;
  padding: 0;
  position: relative;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}
.footer--wix a { color: #111; }
.footer--wix a.footer-social__link {
  color: #fff;
  text-decoration: none;
}
.footer--wix a.footer-social__link:hover { opacity: 0.9; }
.footer-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.25rem;
  display: grid;
  grid-template-columns: 28% 42% 30%;
  column-gap: 2.75rem;
  row-gap: 1.5rem;
  align-items: start;
}
.footer-main {
  display: contents;
}
.footer-col--contact { grid-column: 1; grid-row: 1; }
.footer-col--newsletter { grid-column: 2; grid-row: 1; }
.footer-col--links { grid-column: 3; grid-row: 1; }
.footer-cta {
  grid-column: 2 / 4;
  grid-row: 2;
}
.footer--wix h3,
.footer-newsletter-title,
.footer-links-title {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: 0;
  color: #000;
}
.footer-col--newsletter .footer-newsletter-title {
  line-height: 1.35;
  max-width: none;
}
.footer-brand { font-size: 16px; font-weight: 700; }
.footer-links-title {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 16px;
}
.footer-col p { font-size: 15px; line-height: 1.55; color: #111; margin-bottom: 0.65rem; }
.footer-intro {
  max-width: 17.5rem;
  line-height: 1.5;
  margin-bottom: 0.65rem;
}
.footer-contact-line { margin-bottom: 0.35rem; font-size: 15px; }
.footer-contact-line a { text-decoration: none; color: #111; }
.footer-contact-line a:hover { text-decoration: underline; }
.footer-contact-line strong { font-weight: 700; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 1.15rem;
}
.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.footer-social__link--whatsapp {
  background: #fff;
  border: 1.75px solid #25d366;
  border-radius: 50%;
  color: #25d366;
}
.footer-social__link--x {
  background: transparent;
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 0;
}
.footer-social__link--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 1px;
}
.footer-social__link--facebook { background-color: #1877f2; border-radius: 6px; }
.footer-social__link--linkedin { background-color: #0a66c2; border-radius: 6px; }
.footer-social__link--youtube { background-color: #ff0000; border-radius: 6px; }

/* Extension « Simple Social Icons » (widget pied de page) */
.footer-social--plugin .simple-social-icons {
  margin: 0.85rem 0 1.15rem;
}
.footer-social--plugin .simple-social-icons ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social--plugin .simple-social-icons li {
  margin: 0;
  padding: 0;
}
.footer-social--plugin .simple-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  text-decoration: none;
  color: #fff !important;
  font-size: 18px;
  line-height: 1;
}
.footer-social--plugin .simple-social-icons .social-whatsapp a {
  background: #fff !important;
  color: #25d366 !important;
  border: 1.75px solid #25d366;
  border-radius: 50%;
}
.footer-social--plugin .simple-social-icons .social-x a,
.footer-social--plugin .simple-social-icons .social-twitter a {
  background: transparent !important;
  color: #000 !important;
  width: 32px;
  border-radius: 0;
}
.footer-social--plugin .simple-social-icons .social-instagram a {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
}
.footer-social--plugin .simple-social-icons .social-facebook a { background: #1877f2 !important; }
.footer-social--plugin .simple-social-icons .social-linkedin a { background: #0a66c2 !important; }
.footer-social--plugin .simple-social-icons .social-youtube a { background: #ff0000 !important; }

/* Bloc WordPress « Liens sociaux » (Apparence → Widgets) */
.footer-social--plugin .wp-block-social-links {
  margin: 0.85rem 0 1.15rem;
}
.footer-social--plugin .wp-block-social-links.is-layout-flex {
  gap: 0.55rem;
}
.footer-social--plugin .wp-block-social-links .wp-social-link {
  margin: 0;
}
.footer-social--plugin .wp-block-social-links .wp-social-link a {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
}
.footer-social--plugin .wp-block-social-links .wp-social-link svg {
  width: 20px;
  height: 20px;
}
.footer-social--plugin .wp-block-social-link-whatsapp a {
  background: #fff;
  color: #25d366;
  border: 1.75px solid #25d366;
  border-radius: 50%;
}
.footer-social--plugin .wp-block-social-link-x a {
  background: transparent;
  color: #000;
  border-radius: 0;
  width: 32px;
}

.footer-social__link--facebook svg,
.footer-social__link--linkedin svg,
.footer-social__link--youtube svg {
  width: 18px;
  height: 18px;
}
.footer-social__link--instagram svg {
  width: 18px;
  height: 18px;
}

.footer-newsletter-notice {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
}
.footer-newsletter-notice--ok {
  background: #eef8ef;
  color: #1a4d22;
  border: 1px solid #b7e0bc;
}
.footer-newsletter-notice--error {
  background: #fff4f4;
  color: #6b1515;
  border: 1px solid #f0bcbc;
}
.afvf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.footer-newsletter-form {
  display: grid;
  gap: 0.9rem;
  max-width: none;
}
.footer-newsletter-form input {
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  padding: 0.5rem 0 0.55rem;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: #111;
}
.footer-newsletter-form input::placeholder { color: #666; }

/* Page « Rejoignez notre liste » (shortcode [afvf_newsletter_inscription]) */
.afvf-newsletter-signup.wrap {
  max-width: 680px;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}
.afvf-newsletter-signup__header {
  text-align: center;
  margin-bottom: 2.25rem;
}
.afvf-newsletter-signup__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.2;
}
.afvf-newsletter-signup__subtitle {
  margin: 0;
  font-size: 1rem;
  color: #9a9a9a;
}
.afvf-newsletter-signup__form {
  position: relative;
}
.afvf-newsletter-signup__row--names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 560px) {
  .afvf-newsletter-signup__row--names {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.afvf-newsletter-signup__field {
  margin: 0 0 1.75rem;
}
.afvf-newsletter-signup__row--names .afvf-newsletter-signup__field {
  margin-bottom: 0;
}
.afvf-newsletter-signup__field label {
  display: block;
  font-size: 14px;
  color: #111;
  margin-bottom: 0.35rem;
}
.afvf-newsletter-signup__field .afvf-required {
  color: #111;
}
.afvf-newsletter-signup__field input {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #111;
  border-radius: 0;
  padding: 0.45rem 0 0.5rem;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: #111;
}
.afvf-newsletter-signup__field input:focus {
  outline: none;
  border-bottom-color: #000;
  box-shadow: none;
}
.afvf-newsletter-signup__submit {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 2px;
  background: var(--wix-pink);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.afvf-newsletter-signup__submit:hover,
.afvf-newsletter-signup__submit:focus-visible {
  filter: brightness(0.94);
}
.afvf-newsletter-signup__notice {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
}
.afvf-newsletter-signup__notice--ok {
  background: #eef8ef;
  color: #1a4d22;
  border: 1px solid #b7e0bc;
}
.afvf-newsletter-signup__notice--error {
  background: #fff4f4;
  color: #6b1515;
  border: 1px solid #f0bcbc;
}

.footer--wix .btn-footer-pink {
  background: var(--wix-pink);
  border-radius: 2px;
  width: 100%;
  max-width: none;
  padding: 0.62rem 1rem;
  min-height: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.footer--wix .btn-footer-pink:hover { background: #d84a73; }

.footer-quicklinks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-quicklinks a {
  text-decoration: none;
  font-size: 15px;
  line-height: 1.95;
  color: #111;
}
.footer-quicklinks a:hover { text-decoration: underline; }

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem 2rem;
  padding: 0.65rem 0 0.5rem;
}
.footer--wix .btn-footer-donate {
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 0.62rem 1.65rem;
  white-space: nowrap;
}
.footer-adhere {
  color: #2b5672 !important;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.footer-adhere:hover { text-decoration: underline; }

.footer-legal-bar {
  background: var(--wix-footer-navy);
  color: #fff;
  text-align: center;
  padding: 0.95rem 1rem;
  font-size: 0.8rem;
  line-height: 1.4;
}
.footer-legal-bar p { margin: 0; }
.footer-legal-bar a { color: #fff; text-decoration: none; }
.footer-legal-bar a:hover { text-decoration: underline; }

/* Barre fixe Facebook / Instagram (droite), type Wix */
.afvf-social-rail {
  position: fixed;
  right: 0;
  top: 42%;
  transform: translateY(-50%);
  z-index: 88;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 46px;
  padding: 0.85rem 0;
  background: #0b2d5c;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
}
.afvf-social-rail__link {
  width: 46px;
  height: auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  color: #fff;
  transition: opacity 0.15s ease;
}
.afvf-social-rail__link:hover {
  opacity: 0.88;
  color: #fff;
}
.afvf-social-rail__link--facebook,
.afvf-social-rail__link--instagram {
  background: transparent;
}
.afvf-social-rail__link svg {
  width: 26px;
  height: 26px;
  display: block;
}

.footer-chat-fab,
.site-chat-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 60px;
  height: 60px;
  border: 0;
  /* border-radius: 10px; */
  background: var(--wix-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 13H7v-2h6v2zm0-3H7v-2h6v2z'/%3E%3C/svg%3E") center/30px no-repeat;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 90;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}
.site-chat {
  position: fixed;
  right: 1.15rem;
  bottom: 5.5rem;
  z-index: 91;
  width: min(360px, calc(100vw - 2rem));
}
.site-chat__panel {
  background: #fff;
  /* border-radius: 12px; */
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}
.site-chat__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-chat__head-text { min-width: 0; }
.site-chat__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-chat__status {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.site-chat__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}
.site-chat__close {
  color: var(--ink);
}
.site-chat__thread {
  background: #ececec;
  padding: 0.75rem;
  min-height: 200px;
  max-height: 320px;
  overflow-y: auto;
}
.site-chat__contact {
  background: #fff;
  border-radius: 8px;
  padding: 0.85rem;
  margin-top: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.site-chat__contact-prompt {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.4;
}
.site-chat__ok {
  width: 100%;
  margin-top: 0.35rem;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.55rem;
  font-weight: 600;
  cursor: pointer;
}
.site-chat__compose {
  position: relative;
  padding: 0.9rem 1rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.site-chat__compose-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 28px;
}
.site-chat__compose textarea {
  flex: 1;
  resize: none;
  border: 0;
  outline: none;
  box-shadow: none;
  font: inherit;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 0;
  margin: 0;
  min-height: 1.45em;
  max-height: 120px;
  background: transparent;
  color: var(--ink);
}
.site-chat__compose textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.site-chat__compose-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.site-chat__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #9ca3af;
  padding: 0.2rem;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
  transition: color 0.12s;
}
.site-chat__tool:hover:not(:disabled),
.site-chat__tool[aria-expanded="true"] {
  color: #6b7280;
}
.site-chat__attach-img {
  display: block;
  max-width: 100%;
  max-height: 200px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 0.25rem;
}
.site-chat__attach-file {
  display: inline-block;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  word-break: break-word;
}
.site-chat__msg--visitor .site-chat__attach-file {
  color: #fff;
}
.site-chat__msg p {
  margin: 0.25rem 0 0;
}
.site-chat__emoji-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}
.site-chat__emoji-panel[hidden] {
  display: none !important;
}
.site-chat__emoji-panel button {
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.25rem 0.35rem;
  cursor: pointer;
  border-radius: 6px;
}
.site-chat__emoji-panel button:hover {
  background: #f3f4f6;
}
.site-chat__msg--visitor {
  text-align: right;
}
.site-chat__msg--visitor p {
  display: inline-block;
  background: var(--wix-pink);
  color: #fff;
  padding: 0.45rem 0.65rem;
  border-radius: 12px 12px 4px 12px;
  margin: 0.35rem 0;
  max-width: 85%;
  text-align: left;
}
.site-chat__msg--admin p {
  display: inline-block;
  background: #fff;
  padding: 0.45rem 0.65rem;
  border-radius: 12px 12px 12px 4px;
  margin: 0.35rem 0;
  max-width: 85%;
}
.site-chat__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}
.site-chat__label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.site-chat__label input,
.site-chat__label textarea,
.site-chat__reply textarea {
  width: 100%;
  margin-top: 0.25rem;
  font: inherit;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.site-chat__messages {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0;
}
.site-chat__msg {
  margin: 0.5rem 0;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: #f3f3f3;
}
.site-chat__msg--admin {
  background: #e8eef8;
  text-align: right;
}
.site-chat__msg p { margin: 0.25rem 0 0; }
.site-chat__send {
  margin-top: 0.5rem;
  background: var(--wix-pink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.site-chat__error {
  color: var(--red-deep);
  font-size: 0.85rem;
  padding: 0 1rem 1rem;
  margin: 0;
}
.site-chat__reply {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.alert {
  background: #fff4f4;
  border-left: 4px solid var(--red);
  padding: 1rem 1.1rem;
  border-radius: 12px;
}
.steps { counter-reset: step; display: grid; gap: 0.8rem; }
.steps article { background: var(--paper); border-radius: 16px; padding: 1rem 1.1rem; border: 1px solid var(--line); }
.steps article h3::before { counter-increment: step; content: counter(step) ". "; color: var(--red); }

@media (max-width: 980px) {
  body {
    --header-bar-height: 58px;
  }
  .header-inner {
    flex-wrap: nowrap;
    justify-content: flex-end;
    padding: 0.65rem 1rem;
  }
  .header .nav {
    flex: 1 1 auto;
    border-top: 0;
    padding: 0;
  }
  .header .burger {
    margin-left: auto;
    flex: 0 0 auto;
  }
  .burger { display: inline-flex; }
  .hero-wix__top .burger--light { display: inline-flex; }
  .nav:not(.nav--overlay) {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex: none;
    background: #161616;
    flex-direction: column;
    align-items: stretch;
    border-top: 0;
    padding: 0.6rem 1rem 1rem;
    max-height: calc(100vh - 70px);
    overflow: auto;
  }
  .nav:not(.nav--overlay).open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }
  .nav:not(.nav--overlay).open > .menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav.open { display: flex; }
  .nav.open .nav-donate-badge {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 1rem 0 0 !important;
    margin-left: 0 !important;
    align-self: stretch !important;
    padding: 0.85rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    border-radius: 4px;
    align-self: stretch;
    text-align: center;
  }
  .drop .menu { position: static; display: block; background: transparent; box-shadow: none; padding: 0 0 0.4rem 0.6rem; }
  .drop .menu a { color: #f3ebe4; }
  .header .btn { margin: 0.4rem 0 0; }
  .hero, .split, .grid-2, .grid-3, .grid-4, .people { grid-template-columns: 1fr; }
  .footer-shell {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 2rem;
    row-gap: 1.5rem;
  }
  .footer-col--contact,
  .footer-col--newsletter,
  .footer-col--links,
  .footer-cta {
    grid-column: 1;
    grid-row: auto;
  }
  .footer-cta { justify-content: center; }
  .hero-visual { min-height: 280px; }
  .hero-visual img { position: static; height: 280px; }
}

/* WordPress menu */
.nav > .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.05rem;
}
.nav .menu-item { position: relative; margin: 0; }
.nav .menu-item > a {
  color: #fff;
  text-decoration: none;
  font-family: var(--nav-menu-font);
  font-size: 0.9rem;
  padding: 0.35rem 0.48rem;
  border-radius: 6px;
  display: block;
}
.nav .menu-item > a:hover,
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a { color: #ffd0d6; }
.nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  background: var(--nav-submenu-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* border-radius: 12px; */
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  padding: 0.95rem;
  z-index: 50;
  list-style: none;
  margin: 0;
}
.nav .menu-item:hover > .sub-menu,
.nav .menu-item:focus-within > .sub-menu { display: block; }
.nav .sub-menu a {
  color: var(--nav-submenu-color);
  font-family: var(--nav-submenu-font);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  display: block;
  font-size: var(--nav-submenu-font-size);
  line-height: 1.35;
}
.nav .sub-menu a:hover {
  background: var(--nav-submenu-hover-bg);
  color: var(--nav-submenu-hover-color);
}
.nav-donate { margin-left: auto; }
.wp-block-image img { border-radius: 12px; }
.alignwide, .alignfull { max-width: none; }
@media (max-width: 980px) {
  .nav > .menu { flex-direction: column; align-items: stretch; }
  .nav .sub-menu {
    position: static;
    display: block;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0.4rem 0.6rem;
  }
  .header .nav.open .sub-menu a {
    color: var(--nav-submenu-mobile-color);
    font-family: var(--nav-submenu-font);
    font-size: var(--nav-submenu-font-size);
  }
  .nav-donate { margin-left: 0; }
}

/* —— Accueil type Wix (hero + menu overlay) —— */
body.has-hero-wix {
  --nav-active: #e8789a;
}

/* Hero / couverture sous le header transparent (toutes pages en mode éditeur) */
body.afvf-hero-under-header,
body.afvf-hero-under-header.has-topbar {
  padding-top: 0 !important;
}
body.afvf-hero-under-header .header {
  background: var(--nav-bar-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.afvf-hero-under-header .hero-wix__body {
  padding-top: calc(var(--header-bar-height) + 0.75rem);
}
body.has-topbar.afvf-hero-under-header .hero-wix__body {
  padding-top: calc(var(--topbar-height) + var(--header-bar-height) + 0.75rem);
}
body.afvf-hero-under-header #contenu > .page-hero {
  margin-top: 0;
  padding-top: calc(var(--header-bar-height) + 1.75rem);
  box-sizing: border-box;
}
body.has-topbar.afvf-hero-under-header #contenu > .page-hero {
  padding-top: calc(var(--topbar-height) + var(--header-bar-height) + 1.75rem);
}
/* Bannière (Couverture) remontée sous le header fixe — premier bloc hero */
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child,
body.afvf-hero-under-header .afvf-block-content > .alignfull.wp-block-cover:first-child,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull:first-of-type {
  margin-top: calc(-1 * var(--header-bar-height));
  width: 100%;
  max-width: none;
}
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child,
body.has-topbar.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child,
body.has-topbar.afvf-hero-under-header .afvf-block-content > .alignfull.wp-block-cover:first-child,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull:first-of-type {
  margin-top: calc(-1 * (var(--topbar-height) + var(--header-bar-height)));
}
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.wp-block-cover,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child {
  min-height: calc(min(520px, 85vh) + var(--header-bar-height));
}
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull:first-of-type .wp-block-cover__inner-container {
  padding-top: calc(var(--header-bar-height) + 1.25rem);
  box-sizing: border-box;
}
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
body.has-topbar.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull:first-of-type .wp-block-cover__inner-container {
  padding-top: calc(var(--topbar-height) + var(--header-bar-height) + 1.25rem);
}
/* Bannière calques : pas de padding-top hero (sinon ≠ éditeur) */
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-banner-canvas .wp-block-cover__inner-container,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.afvf-banner-canvas .wp-block-cover__inner-container,
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.is-style-afvf-banner-canvas .wp-block-cover__inner-container,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.is-style-afvf-banner-canvas .wp-block-cover__inner-container,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-banner-canvas:first-of-type .wp-block-cover__inner-container,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.is-style-afvf-banner-canvas:first-of-type .wp-block-cover__inner-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-banner-canvas,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.afvf-banner-canvas,
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.is-style-afvf-banner-canvas,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.is-style-afvf-banner-canvas,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-banner-canvas:first-of-type,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.is-style-afvf-banner-canvas:first-of-type {
  /* Même origine qu’en éditeur : pas de marge négative (sinon top % hors écran → texte coupé) */
  margin-top: 0; /* sans !important : la marge réglée dans l’éditeur (style inline) reste prioritaire */
  min-height: min(680px, 92vh);
}
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-banner-canvas,
body.has-topbar.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.afvf-banner-canvas,
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.is-style-afvf-banner-canvas,
body.has-topbar.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.is-style-afvf-banner-canvas,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-banner-canvas:first-of-type,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.is-style-afvf-banner-canvas:first-of-type {
  margin-top: 0; /* sans !important : la marge réglée dans l’éditeur (style inline) reste prioritaire */
}

/* Carte blanche (Entreprises…) : même recette que editor-hero-card.css — évite titre coupé */
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-wix-photo-card,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.afvf-wix-photo-card,
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-hero-entreprises,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-wix-photo-card:first-of-type,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-hero-entreprises:first-of-type {
  margin-top: calc(-1 * var(--header-bar-height)) !important;
  margin-bottom: 0 !important;
  padding-top: var(--header-bar-height);
  box-sizing: border-box;
  overflow: visible;
  min-height: calc(min(560px, 88vh) + var(--header-bar-height));
}
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-wix-photo-card,
body.has-topbar.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.afvf-wix-photo-card,
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-hero-entreprises,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-wix-photo-card:first-of-type,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-hero-entreprises:first-of-type {
  margin-top: calc(-1 * (var(--topbar-height) + var(--header-bar-height))) !important;
  margin-bottom: 0 !important;
  padding-top: calc(var(--topbar-height) + var(--header-bar-height));
}
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-wix-photo-card .wp-block-cover__inner-container,
body.afvf-hero-under-header .home-content.afvf-block-content > .wp-block-cover:first-child.afvf-wix-photo-card .wp-block-cover__inner-container,
body.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-hero-entreprises .wp-block-cover__inner-container,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-wix-photo-card:first-of-type .wp-block-cover__inner-container,
body.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-hero-entreprises:first-of-type .wp-block-cover__inner-container {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
  min-height: min(480px, 70vh);
  justify-content: center;
  overflow: visible;
}
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-wix-photo-card .wp-block-cover__inner-container,
body.has-topbar.afvf-hero-under-header .afvf-block-content > .wp-block-cover:first-child.afvf-hero-entreprises .wp-block-cover__inner-container,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-wix-photo-card:first-of-type .wp-block-cover__inner-container,
body.has-topbar.afvf-hero-under-header .afvf-block-content .wp-block-cover.alignfull.afvf-hero-entreprises:first-of-type .wp-block-cover__inner-container {
  padding-top: 2.5rem !important;
}
.wp-block-cover.afvf-hero-entreprises .afvf-wix-overlay-card,
.wp-block-cover.afvf-wix-photo-card.afvf-hero-entreprises .afvf-wix-overlay-card {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.afvf-hero-under-header #contenu > section.afvf-block-content:not(:has(> .wp-block-cover:first-child)):not(:has(> .afvf-hero-slider:first-child)),
body.afvf-hero-under-header #contenu > section.wrap.prose,
body.afvf-hero-under-header #contenu > section.wrap:not(.afvf-block-content) {
  padding-top: calc(var(--header-bar-height) + 1rem);
}
body.has-topbar.afvf-hero-under-header #contenu > section.afvf-block-content:not(:has(> .wp-block-cover:first-child)):not(:has(> .afvf-hero-slider:first-child)),
body.has-topbar.afvf-hero-under-header #contenu > section.wrap.prose,
body.has-topbar.afvf-hero-under-header #contenu > section.wrap:not(.afvf-block-content) {
  padding-top: calc(var(--topbar-height) + var(--header-bar-height) + 1rem);
}

.hero-wix {
  position: relative;
  min-height: min(72vh, 720px);
  background-color: #333;
  background-size: cover;
  background-position: center 25%;
  color: #fff;
}
.hero-wix__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.35) 100%);
}
.hero-wix__top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: 58px;
  padding: 0.65rem 5.75rem 0.65rem 1rem;
  display: flex;
  align-items: center;
  background: var(--nav-bar-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.hero-wix__body {
  position: relative;
  z-index: 2;
  min-height: min(72vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.2rem 2rem;
}
.hero-wix__brand { max-width: 520px; }
.hero-wix__logo {
  width: min(280px, 70vw);
  height: auto;
  background: transparent;
  border-radius: 0;
  margin-bottom: 0.5rem;
}
.hero-wix__quote {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  color: #f5f5f5;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65);
  margin: 0;
  max-width: 480px;
}
.hero-wix__hashtag {
  align-self: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-shadow:
    0 0 2px rgba(0,0,0,0.9),
    0 2px 24px rgba(0,0,0,0.55);
  line-height: 1.1;
}
.hero-wix__adhere {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  margin-top: 0;
  color: #2b5672;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  z-index: 4;
}
.hero-wix__adhere:hover { text-decoration: underline; }

.nav--overlay {
  flex: 1 1 auto;
  border: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}
.nav--overlay > .menu {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 0;
}
.nav--overlay .menu-item > a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 0.55rem 0.48rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav--overlay .current-menu-item > a,
.nav--overlay .current-menu-ancestor > a {
  color: var(--nav-active);
}
.nav--overlay .sub-menu a { color: var(--ink); }
.nav-donate-badge {
  display: inline-block;
  background: #0a0a0a;
  color: #fff !important;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.45rem;
  text-decoration: none;
  line-height: 1.2;
  margin-left: 0.25rem;
  align-self: flex-start;
}
.nav-donate-badge:hover { background: #222; color: #fff !important; }


.hero-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 130px;
  padding: 1.2rem 1rem;
  text-decoration: none;
  color: #fff !important;
  transition: filter 0.15s ease;
}
.hero-tile:hover { filter: brightness(1.06); }
.hero-tile strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.hero-tile span {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.35;
  opacity: 0.95;
}
.hero-tile--pink { background: var(--wix-pink); }
.hero-tile--sky { background: var(--wix-sky); color: #0d1a2b !important; }
.hero-tile--navy { background: var(--wix-hero-navy); }

.burger--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.main-front .home-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: #fff;
}
.afvf-block-content,
.main-front .home-content.afvf-block-content {
  padding: 0;
  max-width: none;
  width: 100%;
  background: transparent;
}
.afvf-block-content > .alignfull {
  max-width: none;
  width: 100%;
}
.main-front .home-content.afvf-block-content {
  padding-top: 0;
  padding-bottom: 0;
}
.main-front .home-content:empty,
.main-front .home-content:not(:has(*)) {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 0;
}

/* Accueil éditeur — fond GIF/vidéo fixe type Wix (motif « Hero fond fixe ») */
.wp-block-cover.afvf-wix-fixed-media {
  min-height: min(72vh, 720px);
  background: transparent !important;
  isolation: isolate;
}
.wp-block-cover.afvf-wix-fixed-media .wp-block-cover__background {
  opacity: 0 !important;
}
.wp-block-cover.afvf-wix-fixed-media .wp-block-cover__image-background,
.wp-block-cover.afvf-wix-fixed-media video.wp-block-cover__video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: none;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
  pointer-events: none;
}
.wp-block-cover.afvf-wix-fixed-media .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  min-height: min(68vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
}
.wp-block-cover.afvf-wix-fixed-media .afvf-wix-hero-logo {
  width: min(280px, 70vw);
  height: auto;
  background: transparent;
  margin-bottom: 0.5rem;
}
.wp-block-cover.afvf-wix-fixed-media .afvf-wix-hero-quote {
  max-width: 480px;
  color: #f5f5f5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
}
.wp-block-cover.afvf-wix-fixed-media .afvf-wix-hero-hashtag {
  align-self: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 3.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.9), 0 2px 24px rgba(0, 0, 0, 0.55);
  margin: 1.5rem 0 0;
}
.main-front .home-content.afvf-block-content > .wp-block-cover.afvf-wix-fixed-media ~ *,
.main-front .home-content.afvf-block-content > .afvf-wix-parallax-home > *:not(:first-child),
.afvf-wix-scroll-over {
  position: relative;
  z-index: 2;
  background-color: #fff;
}
@media (max-width: 980px) {
  .wp-block-cover.afvf-wix-fixed-media .wp-block-cover__image-background,
  .wp-block-cover.afvf-wix-fixed-media video.wp-block-cover__video-background {
    position: absolute;
    height: 100%;
  }
}

/* Photo visible + carte blanche centrée (motif « Photo + carte blanche ») */
.wp-block-cover.afvf-wix-photo-card {
  min-height: min(520px, 85vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Entreprises & Institutions — dégradé blanc à gauche (éditeur = public) */
.wp-block-cover.afvf-hero-entreprises {
  position: relative;
  isolation: isolate;
}
.wp-block-cover.afvf-hero-entreprises .wp-block-cover__image-background {
  object-position: 55% center;
}
.wp-block-cover.afvf-hero-entreprises::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 14%,
    rgba(255, 255, 255, 0.35) 28%,
    rgba(255, 255, 255, 0.08) 42%,
    transparent 55%
  );
}
.wp-block-cover.afvf-hero-entreprises .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}
.afvf-hero-entreprises .afvf-hero-entreprises-title,
.afvf-wix-overlay-card .afvf-hero-entreprises-title {
  color: #e8c8b5 !important;
}
.wp-block-cover.afvf-wix-photo-card .wp-block-cover__background {
  opacity: 0 !important;
}
.wp-block-cover.afvf-wix-photo-card .wp-block-cover__inner-container {
  width: 100%;
  min-height: min(480px, 70vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
/* Largeur = boîte blanche (réglable : Mise en page → largeur du contenu, ou style étroit/large) */
.afvf-wix-overlay-card,
.wp-block-group.is-style-afvf-hero-card,
.wp-block-group.is-style-afvf-hero-card-left,
.wp-block-group.is-style-afvf-hero-card-right,
.wp-block-group.is-style-afvf-hero-card-narrow,
.wp-block-group.is-style-afvf-hero-card-wide,
.wp-block-group.is-style-afvf-hero-card-custom,
.wp-block-group.is-style-afvf-hero-card-square,
.wp-block-group.is-style-afvf-hero-card-rounded {
  --afvf-hero-card-width: 920px;
  background: #fff;
  color: #333;
  width: min(var(--wp--style--global--content-size, var(--afvf-hero-card-width)), 100%);
  max-width: 100%;
  flex: 0 1 auto;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  padding: 2.25rem 2rem 2rem;
  box-sizing: border-box;
  text-align: center;
}
.afvf-wix-overlay-card .wp-block-group__inner-container,
.afvf-wix-overlay-card.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
  width: 100%;
  margin-inline: 0 !important;
}
/* Couverture = texte blanc hérité ; dans la carte, défaut seulement si aucune couleur choisie */
.wp-block-cover.afvf-wix-photo-card .afvf-wix-overlay-card {
  color: #333;
}
.wp-block-cover.afvf-wix-photo-card .afvf-wix-overlay-card .wp-block-heading:not(.has-text-color),
.wp-block-cover.afvf-wix-photo-card .afvf-wix-overlay-card p:not(.has-text-color) {
  color: #333;
}
/* Blanc hérité par erreur (pas un choix explicite dans la palette) */
.afvf-wix-overlay-card .has-white-color.has-text-color:not(.wp-block-button__link):not(.afvf-wix-overlay-card__title):not(.has-inline-color) {
  color: #333 !important;
}
/* Paragraphe : couleurs mot à mot — ne pas écraser les span.has-inline-color (presets WP) */
.afvf-wix-overlay-card p .has-inline-color,
.wp-block-cover .wp-block-cover__inner-container p .has-inline-color {
  color: unset;
}
.wp-block-group.is-style-afvf-hero-card-left,
.afvf-wix-overlay-card.is-style-afvf-hero-card-left {
  align-self: flex-start;
  margin-right: auto;
  margin-left: max(1.25rem, 4vw);
}
.wp-block-group.is-style-afvf-hero-card-right,
.afvf-wix-overlay-card.is-style-afvf-hero-card-right {
  align-self: flex-end;
  margin-left: auto;
  margin-right: max(1.25rem, 4vw);
}
.wp-block-group.is-style-afvf-hero-card-narrow,
.afvf-wix-overlay-card.is-style-afvf-hero-card-narrow {
  --afvf-hero-card-width: 640px;
}
.wp-block-group.is-style-afvf-hero-card-wide,
.afvf-wix-overlay-card.is-style-afvf-hero-card-wide {
  --afvf-hero-card-width: 1100px;
}
/* Personnaliser : défaut un peu plus étroit ; Dimensions / Mise en page priment (pas de width !important) */
.wp-block-group.is-style-afvf-hero-card-custom,
.afvf-wix-overlay-card.is-style-afvf-hero-card-custom {
  --afvf-hero-card-width: 720px;
}
.wp-block-group.is-style-afvf-hero-card-square,
.afvf-wix-overlay-card.is-style-afvf-hero-card-square {
  --afvf-hero-card-width: min(440px, 90vw);
  width: min(var(--afvf-hero-card-width), 100%);
  aspect-ratio: 1 / 1;
  max-height: min(440px, 72vh);
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wp-block-group.is-style-afvf-hero-card-rounded,
.afvf-wix-overlay-card.is-style-afvf-hero-card-rounded {
  border-radius: 20px;
  overflow: hidden;
}
/* Alignement « pleine largeur » sur le Groupe : ne pas étirer la carte blanche */
.wp-block-cover.afvf-wix-photo-card .afvf-wix-overlay-card.alignwide,
.wp-block-cover.afvf-wix-photo-card .afvf-wix-overlay-card.alignfull,
.wp-block-cover .afvf-wix-overlay-card.alignwide,
.wp-block-cover .afvf-wix-overlay-card.alignfull {
  width: min(var(--wp--style--global--content-size, var(--afvf-hero-card-width, 920px)), calc(100% - 2rem));
  max-width: min(var(--wp--style--global--content-size, var(--afvf-hero-card-width, 920px)), calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.wp-block-cover.afvf-wix-photo-card.is-style-afvf-content-bottom .wp-block-cover__inner-container,
.wp-block-cover.is-style-afvf-content-bottom.afvf-wix-photo-card .wp-block-cover__inner-container {
  justify-content: flex-end;
  padding-bottom: 2rem;
}
.wp-block-cover.afvf-wix-photo-card.is-style-afvf-content-top .wp-block-cover__inner-container,
.wp-block-cover.is-style-afvf-content-top.afvf-wix-photo-card .wp-block-cover__inner-container {
  justify-content: flex-start;
}
.afvf-wix-overlay-card__title:not(.has-text-color),
.afvf-wix-overlay-card .wp-block-heading.afvf-wix-overlay-card__title:not(.has-text-color) {
  /* Défaut gris ; dès qu’une couleur est choisie dans l’éditeur, elle s’applique */
  color: #9a9a9a;
  font-family: var(--font-body);
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.35rem;
}
.afvf-wix-overlay-card p:not(.has-text-color) {
  color: #333;
  font-size: 1rem;
  margin: 0;
}
.afvf-wix-overlay-card p.has-text-color {
  font-size: 1rem;
  margin: 0;
}
/* Boutons : défaut rose AFVF ; les couleurs choisies dans l’éditeur priment */
.afvf-wix-overlay-card__buttons .wp-block-button__link,
.afvf-wix-btn-pink .wp-block-button__link {
  border-radius: 0;
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.afvf-wix-overlay-card__buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background),
.afvf-wix-btn-pink .wp-block-button__link:not(.has-background) {
  background-color: var(--wix-pink);
  color: #fff;
}
.afvf-wix-overlay-card__buttons .wp-block-button__link:hover,
.afvf-wix-btn-pink .wp-block-button__link:hover {
  opacity: 0.92;
}

@media (min-width: 981px) {
  .nav > .menu {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0 clamp(0.22rem, 0.75vw, 0.36rem);
    max-width: 100%;
  }
  .nav .menu-item {
    flex: 0 1 auto;
    min-width: 0;
  }
  .nav .menu-item > a {
    font-size: clamp(0.84rem, 0.45vw + 0.65rem, 0.93rem);
    padding: 0.4rem clamp(0.36rem, 0.4vw, 0.52rem);
    white-space: nowrap;
  }
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 6.25rem 0.65rem 1rem;
    min-height: 58px;
  }
  .header .nav {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    border-top: 0;
    padding: 0;
  }
  .header .nav > .menu {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0 clamp(0.28rem, 0.7vw, 0.48rem);
  }
  .header .nav .menu-item > a {
    font-family: var(--nav-menu-font);
    font-size: clamp(0.72rem, 0.38vw + 0.5rem, 0.84rem);
    padding: 0.45rem clamp(0.28rem, 0.32vw, 0.44rem);
    white-space: nowrap;
  }
  .header .nav-donate-badge {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
    padding: 0 0.9rem;
    border-radius: 0;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
    background: #0a0a0a;
    align-self: auto;
  }

  .hero-wix__top {
    flex-wrap: nowrap;
    align-items: center;
    padding-right: 6.25rem;
  }
  .hero-wix__top .burger--light { display: none; }
  .hero-wix__top .nav--overlay {
    align-items: center;
    min-height: 26px;
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 0.5rem);
    flex-wrap: nowrap;
  }
  .hero-wix__top .nav--overlay > .menu {
    flex-wrap: nowrap;
    gap: 0 clamp(0.18rem, 0.65vw, 0.32rem);
    min-width: 0;
    max-width: 100%;
  }
  .hero-wix__top .nav--overlay .menu-item > a {
    font-size: clamp(0.76rem, 0.42vw + 0.54rem, 0.86rem);
    padding: 0.48rem clamp(0.3rem, 0.35vw, 0.48rem);
    letter-spacing: 0.012em;
    line-height: 1.25;
    white-space: nowrap;
  }
  .hero-wix__top .nav-donate-badge {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
    padding: 0 0.9rem;
    border-radius: 0;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
    background: #0a0a0a;
  }
}

@media (max-width: 980px) {
  .hero-tiles { grid-template-columns: 1fr; }
  .hero-wix {
    overflow: visible;
  }
  .hero-wix__top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    overflow: visible;
  }
  .hero-wix__top .burger {
    margin-left: auto;
    order: 10;
  }
  .hero-wix__top .nav--overlay {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 95;
    flex: none;
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    box-sizing: border-box;
    background: rgba(28, 28, 28, 0.97);
    padding: 0.85rem 1rem 1.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-overflow-scrolling: touch;
  }
  .hero-wix__top .nav--overlay.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    max-height: calc(100dvh - 58px);
    max-height: calc(100vh - 58px);
  }
  .hero-wix__top .nav--overlay.open > .menu {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0;
  }
  .hero-wix__top .nav--overlay.open .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0.35rem 0.75rem;
  }
  .hero-wix__top .nav--overlay.open .sub-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    padding: 0.45rem 0.5rem;
  }
  .nav--overlay.open .menu-item > a {
    padding: 0.65rem 0.5rem;
    font-size: 0.95rem;
  }
  .nav--overlay.open .nav-donate-badge {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 1.25rem 0 0 !important;
    margin-left: 0 !important;
    align-self: stretch !important;
    padding: 0.85rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    border-radius: 4px;
    align-self: stretch;
    text-align: center;
    white-space: normal;
  }
  .hero-wix__adhere { display: none; }
}

/* ==========================================================================
   Événements à venir + Actualités (alimentés depuis l’administration)
   ========================================================================== */
.afvf-events-section {
	padding: clamp(1.5rem, 4vw, 3rem) 1rem;
	background: #fff;
}

.afvf-section-title {
	font-family: "Anton", "Impact", "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: clamp(2rem, 4.6vw, 2.9rem);
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-align: center;
	color: #1a1a1a;
	margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.afvf-events-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 17rem));
	justify-content: center;
	gap: 0.75rem;
	max-width: 74rem;
	margin: 0 auto;
}

.afvf-events-empty {
	text-align: center;
	color: #666;
	margin: 0;
}

.afvf-event-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #d9d9d9;
	color: #1a1a1a;
	text-align: center;
	min-height: 100%;
}

.afvf-event-card__img {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #eee;
}

.afvf-event-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.afvf-event-card__body {
	flex: 1 1 auto;
	padding: 1rem 1.1rem 0.75rem;
}

.afvf-event-card__title {
	margin: 0 0 0.45rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.86rem;
	line-height: 1.35;
	font-weight: 600;
}

.afvf-event-card__title a {
	color: inherit;
	text-decoration: none;
}

.afvf-event-card--poster .afvf-event-card__title {
	font-weight: 500;
}

.afvf-event-card__meta,
.afvf-event-card__when,
.afvf-event-card__place,
.afvf-event-card__desc {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	line-height: 1.5;
	color: #333;
}

.afvf-event-card__more {
	margin: 0.2rem 0 0;
	font-size: 0.72rem;
}

.afvf-event-card__more a {
	color: #1a1a1a;
	text-decoration: underline;
}

.afvf-event-card--detail .afvf-event-card__body {
	padding: 1.4rem 1.4rem 0.9rem;
}

.afvf-event-card--detail .afvf-event-card__title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.7rem;
}

.afvf-event-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin: 0 0 0.85rem;
	padding: 0.2rem 0.65rem;
	border: 1px solid #1a1a1a;
	border-radius: 999px;
	font-size: 0.66rem;
	line-height: 1.4;
}

.afvf-event-card__desc {
	margin-top: 0.7rem;
	text-align: center;
}

.afvf-event-card__share-label {
	margin: 0.9rem 0 0.3rem;
	font-size: 0.72rem;
	font-weight: 700;
}

.afvf-event-card__share {
	display: flex;
	justify-content: center;
	gap: 0.65rem;
	margin: 0;
}

.afvf-event-card__share a {
	display: inline-flex;
	color: #1a1a1a;
}

.afvf-event-card__share a:hover {
	color: #ec5e87;
}

.afvf-event-card__foot {
	padding: 0.4rem 1rem 1.1rem;
}

.afvf-event-card__btn {
	display: inline-block;
	padding: 0.55rem 1.25rem;
	background: #ec5e87;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
	transition: background 0.2s ease, transform 0.2s ease;
}

.afvf-event-card__btn:hover {
	background: #d94a74;
	color: #fff;
}

/* Actualités — cartes « blog Wix » */
.afvf-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.9rem, 2vw, 1.4rem);
	max-width: 64rem;
	margin: 0 auto;
}

.afvf-news-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e3e3;
	min-width: 0;
}

.afvf-news-card__img {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #222;
}

.afvf-news-card__img img,
.afvf-news-card__ph {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.afvf-news-card__ph {
	background: linear-gradient(135deg, #3a3a3a, #8b2d4a);
}

.afvf-news-card__body {
	flex: 1 1 auto;
	padding: 0.9rem 1rem 0.5rem;
}

.afvf-news-author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.7rem;
}

.afvf-news-author__avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
	background: #eee;
	flex: none;
}

.afvf-news-author__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	min-width: 0;
}

.afvf-news-author__name {
	font-size: 0.68rem;
	font-weight: 600;
	color: #333;
}

.afvf-news-author__meta {
	font-size: 0.62rem;
	color: #777;
}

.afvf-news-card__title {
	margin: 0 0 0.45rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.98rem;
	line-height: 1.3;
	font-weight: 700;
	color: #1a1a1a;
	overflow-wrap: anywhere;
}

.afvf-news-card__title a {
	color: inherit;
	text-decoration: none;
}

.afvf-news-card__title a:hover {
	text-decoration: underline;
}

.afvf-news-card__text {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.55;
	color: #555;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.afvf-news-stats {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0.7rem 1rem 0;
	padding: 0.55rem 0 0.7rem;
	border-top: 1px solid #e6e6e6;
	font-size: 0.68rem;
	color: #666;
}

.afvf-news-stats__item,
.afvf-news-like {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.afvf-news-like {
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

.afvf-news-like:hover,
.afvf-news-like[aria-pressed="true"] {
	color: #e0245e;
}

.afvf-news-like[aria-pressed="true"] svg path {
	fill: currentColor;
}

/* Carte cliquable en entier + survol rose (titre et texte) */
.afvf-news-card {
	position: relative;
}

.afvf-news-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.afvf-news-card__title a,
.afvf-news-card__text {
	transition: color 0.2s ease;
}

.afvf-news-card:hover .afvf-news-card__title a,
.afvf-news-card:hover .afvf-news-card__text {
	color: #ec5e87;
	text-decoration: none;
}

.afvf-news-card:hover .afvf-news-card__img img {
	filter: brightness(1.05);
}

.afvf-news-card .afvf-news-author,
.afvf-news-card .afvf-news-stats {
	position: relative;
	z-index: 2;
}

/* Signet + menu « ⋮ » (partager) */
.afvf-news-author__actions {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: auto;
	position: relative;
}

.afvf-news-bookmark,
.afvf-news-menu__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.15rem;
	border: 0;
	background: none;
	color: #333;
	cursor: pointer;
}

.afvf-news-bookmark {
	color: #ec5e87;
}

.afvf-news-bookmark[aria-pressed="true"] svg path {
	fill: currentColor;
}

.afvf-news-menu__btn:hover,
.afvf-news-menu__btn[aria-expanded="true"] {
	color: #ec5e87;
}

.afvf-news-menu {
	position: relative;
}

.afvf-news-menu__list {
	position: absolute;
	right: 0;
	top: calc(100% + 0.3rem);
	z-index: 20;
	min-width: 11rem;
	padding: 0.3rem 0;
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.afvf-news-menu__list[hidden] {
	display: none;
}

.afvf-news-menu__list a,
.afvf-news-menu__list button {
	display: block;
	width: 100%;
	padding: 0.5rem 0.9rem;
	border: 0;
	background: none;
	color: #333;
	font: inherit;
	font-size: 0.74rem;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.afvf-news-menu__list a:hover,
.afvf-news-menu__list button:hover {
	background: #fdeef3;
	color: #ec5e87;
}

.afvf-news-menu__list .is-copied::after {
	content: " ✓";
}

.afvf-news-grid--compact .afvf-news-card__img {
	aspect-ratio: 16 / 10;
}

.afvf-news-card--compact .afvf-news-card__body {
	padding-top: 0.75rem;
}

.afvf-news-card--compact .afvf-news-card__title {
	font-size: 0.82rem;
	margin-bottom: 0;
}

.afvf-news-all {
	margin: 1.4rem 0 0;
	text-align: center;
}

.afvf-news-all a {
	display: inline-block;
	padding: 0.6rem 1.5rem;
	border: 1px solid #1a1a1a;
	color: #1a1a1a;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
}

.afvf-news-all a:hover {
	background: #1a1a1a;
	color: #fff;
}

.afvf-news-pagination {
	display: flex;
	justify-content: center;
	margin-top: 1.6rem;
}

.afvf-news-pagination .page-numbers {
	display: inline-block;
	min-width: 2rem;
	padding: 0.35rem 0.6rem;
	margin: 0 0.15rem;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	font-size: 0.8rem;
	text-align: center;
	text-decoration: none;
}

.afvf-news-pagination .page-numbers.current,
.afvf-news-pagination .page-numbers:hover {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
}

.afvf-news-pagination .screen-reader-text {
	display: none;
}

@media (max-width: 900px) {
	.afvf-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.afvf-news-grid {
		grid-template-columns: 1fr;
		max-width: 26rem;
	}
}

/* Actualité : page de détail (blog Wix) */
.afvf-post-single {
	background: #fff;
	padding: clamp(5rem, 9vw, 7rem) 1rem 3rem;
}

.afvf-post-single__cover {
	margin: 1.2rem 0 0;
}

.afvf-post-single__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.afvf-post-single__inner {
	max-width: 46rem;
	margin: 0 auto;
}

.afvf-post-single__head .afvf-news-author {
	margin-bottom: 1rem;
}

.afvf-post-single__title {
	margin: 0 0 1rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: clamp(1.5rem, 3.6vw, 2.1rem);
	line-height: 1.2;
	font-weight: 700;
	color: #111;
}

.afvf-post-single__content {
	font-size: 0.92rem;
	line-height: 1.7;
	color: #333;
}

.afvf-post-single__content p {
	margin: 0 0 1rem;
}

.afvf-post-single__content img {
	max-width: 100%;
	height: auto;
}

.afvf-post-single__content a {
	color: #ec5e87;
}

.afvf-post-single__foot {
	margin-top: 1.6rem;
	border-top: 1px solid #ddd;
}

.afvf-post-share {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid #ddd;
}

.afvf-post-share a,
.afvf-post-share button {
	display: inline-flex;
	padding: 0;
	border: 0;
	background: none;
	color: #333;
	cursor: pointer;
}

.afvf-post-share a:hover,
.afvf-post-share button:hover {
	color: #ec5e87;
}

.afvf-post-single__foot .afvf-news-stats {
	margin: 0;
	padding: 0.7rem 0;
	border-top: 0;
	border-bottom: 1px solid #ddd;
}

.afvf-post-recent {
	max-width: 46rem;
	margin: 2.5rem auto 0;
}

.afvf-post-recent__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 0.8rem;
}

.afvf-post-recent__head h2 {
	margin: 0;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: #222;
}

.afvf-post-recent__head a {
	font-size: 0.68rem;
	color: #555;
	text-decoration: none;
}

.afvf-post-recent__head a:hover {
	text-decoration: underline;
}

.afvf-post-recent .afvf-news-grid {
	max-width: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 560px) {
	.afvf-post-recent .afvf-news-grid {
		grid-template-columns: 1fr;
	}
}

/* Page d’un événement */
.afvf-event-single__inner {
	padding-top: clamp(5rem, 9vw, 7rem);
	padding-bottom: 3rem;
	text-align: center;
}

.afvf-event-single__when,
.afvf-event-single__place {
	margin: 0 0 0.35rem;
	font-weight: 600;
}

.afvf-event-single__img {
	margin: 1.5rem auto;
	max-width: 32rem;
}

.afvf-event-single__img img {
	width: 100%;
	height: auto;
}

.afvf-event-single__content {
	text-align: left;
	margin-top: 1.5rem;
}

.afvf-event-single__cta {
	margin-top: 1.5rem;
}

/* Anti-défilement horizontal : un bloc pleine largeur avec marges (ex. « Média et texte »)
   ne doit pas dépasser de l’écran (width:100% + marges = débordement). */
.afvf-block-content > .alignfull.wp-block-media-text,
.afvf-block-content .alignfull.wp-block-media-text,
.afvf-block-content > .alignfull.wp-block-columns {
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
}

html,
body {
	overflow-x: clip;
}

/* Motif « Soutenez-nous » : colonne bleue (QR + texte + don) + image seule */
.wp-block-columns.afvf-support-band {
	gap: 0;
	margin: 0;
	align-items: stretch;
	flex-wrap: nowrap;
}

.wp-block-columns.afvf-support-band > .afvf-support-band__blue {
	padding: clamp(0.75rem, 1.6vw, 1.5rem) !important;
}

.afvf-support-band__blue {
	align-self: stretch !important;
	min-height: clamp(13rem, 21vw, 17.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	box-sizing: border-box;
}

.afvf-support-band__qr {
	margin: 0 auto clamp(0.4rem, 0.9vw, 0.9rem);
}

.afvf-support-band__qr img {
	display: block;
	width: clamp(54px, 6vw, 84px) !important;
	height: auto;
	margin: 0 auto;
	background: #fff;
}

.afvf-support-band .afvf-support-band__title {
	margin: 0 0 0.45rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: clamp(0.95rem, 1.7vw, 1.35rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: #fff;
}

.afvf-support-band .afvf-support-band__text {
	max-width: 15rem;
	margin: 0 auto 1rem;
	font-size: clamp(0.7rem, 1.15vw, 0.92rem);
	line-height: 1.4;
	color: #fff;
}

.afvf-support-band__btn .wp-block-button__link {
	padding: 0.45rem 1.1rem;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 0;
	transition: background 0.2s ease;
}

.afvf-support-band__btn .wp-block-button__link:hover {
	background: #d94a74 !important;
}

.afvf-support-band__media {
	position: relative;
	padding: 0;
	margin: 0;
	min-width: 0;
	align-self: stretch !important;
}

/* La hauteur vient de la colonne bleue : l’image la remplit exactement (sans l’agrandir). */
.afvf-support-band__media > .afvf-support-band__img,
.afvf-support-band__media > .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
	height: 100%;
	width: 100%;
}

.afvf-support-band__media > figure.wp-block-image {
	overflow: hidden;
}

.afvf-support-band__media figure.wp-block-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	aspect-ratio: auto !important;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 781px) {
	.wp-block-columns.afvf-support-band {
		flex-wrap: wrap;
	}
	.afvf-support-band__blue,
	.afvf-support-band__media {
		flex-basis: 100% !important;
	}
	.afvf-support-band__media {
		min-height: 15rem;
	}
}

.afvf-news-card:has(.afvf-news-menu__btn[aria-expanded="true"]) {
	z-index: 30;
}

/* Carte événement « affiche » (Wix) : pastille, textes fins, bouton en bas */
.afvf-event-card--poster .afvf-event-card__body {
	padding: 1rem 0.9rem 0.6rem;
}

.afvf-event-card--poster .afvf-event-card__badge {
	margin: 0 0 0.7rem;
	padding: 0.12rem 0.55rem;
	border-color: #777;
	font-size: 0.58rem;
	color: #333;
}

.afvf-event-card--poster .afvf-event-card__title {
	margin-bottom: 0.3rem;
	font-size: 0.74rem;
	font-weight: 400;
	line-height: 1.45;
}

.afvf-event-card--poster .afvf-event-card__meta {
	font-size: 0.7rem;
	color: #222;
}

.afvf-event-card--poster .afvf-event-card__more {
	margin-top: 0.55rem;
	font-size: 0.7rem;
}

.afvf-event-card--poster .afvf-event-card__foot {
	padding: 1.1rem 1rem 1.6rem;
}

.afvf-event-card--poster .afvf-event-card__btn {
	padding: 0.5rem 1.3rem;
	font-size: 0.66rem;
	font-weight: 400;
}

/* Événements : même gabarit que les actualités (3 colonnes, cartes compactes) */
.afvf-events-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(0.9rem, 2vw, 1.4rem);
	max-width: 64rem;
	margin: 0 auto;
}

.afvf-events-list > .afvf-event-card {
	flex: 0 0 calc((100% - 2 * clamp(0.9rem, 2vw, 1.4rem)) / 3);
	min-width: 0;
	min-height: 0;
}

.afvf-event-card__img {
	aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
	.afvf-events-list > .afvf-event-card {
		flex-basis: calc((100% - clamp(0.9rem, 2vw, 1.4rem)) / 2);
	}
}

@media (max-width: 560px) {
	.afvf-events-list {
		max-width: 26rem;
	}
	.afvf-events-list > .afvf-event-card {
		flex-basis: 100%;
	}
}

/* ==========================================================================
   Page d’un événement (Wix) : bandeau bleu, image, heure et lieu, inscription
   ========================================================================== */
.afvf-event-single {
	background: #fff;
}

.afvf-ev-hero {
	background: #26408b;
	color: #fff;
	text-align: center;
	padding: clamp(5.5rem, 10vw, 7.5rem) 1rem clamp(5rem, 11vw, 8rem);
}

.afvf-ev-hero__inner {
	max-width: 44rem;
	margin: 0 auto;
}

.afvf-ev-hero__title {
	margin: 0 0 1rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: clamp(1.7rem, 4.4vw, 2.6rem);
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
}

.afvf-ev-hero__meta {
	margin: 0 0 1.1rem;
	font-size: 0.78rem;
	color: #fff;
}

.afvf-ev-btn {
	display: inline-block;
	padding: 0.55rem 1.4rem;
	background: #fff;
	color: #1a1a1a;
	font-size: 0.74rem;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.afvf-ev-btn:hover {
	background: #ec5e87;
	color: #fff;
}

.afvf-ev-btn--pink {
	background: #ec5e87;
	color: #fff;
}

.afvf-ev-btn--pink:hover {
	background: #d94a74;
}

.afvf-ev-body {
	max-width: 46rem;
	margin: 0 auto;
	padding: 0 1rem 4rem;
}

.afvf-ev-cover {
	margin: calc(-1 * clamp(3.5rem, 8vw, 6rem)) 0 2rem;
	position: relative;
	z-index: 2;
}

.afvf-ev-cover img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	height: auto;
	object-fit: cover;
}

.afvf-ev-block {
	margin: 0 0 2rem;
	font-size: 0.8rem;
	line-height: 1.65;
	color: #222;
}

.afvf-ev-block h2 {
	margin: 0 0 0.6rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #111;
}

.afvf-ev-block p {
	margin: 0 0 0.4rem;
}

.afvf-ev-about__content img {
	max-width: 100%;
	height: auto;
}

.afvf-ev-register {
	padding-top: 1.2rem;
	border-top: 1px solid #ddd;
}

.afvf-ev-notice {
	margin: 0 0 1rem;
	padding: 0.7rem 0.9rem;
	font-size: 0.8rem;
}

.afvf-ev-notice--ok {
	background: #e8f6ec;
	color: #1f6b3a;
}

.afvf-ev-notice--error {
	background: #fdecee;
	color: #a1223a;
}

.afvf-ev-tickets__head {
	display: flex;
	justify-content: space-between;
	padding: 0.4rem 0;
	border-bottom: 1px solid #222;
	font-size: 0.74rem;
	font-weight: 600;
}

.afvf-ev-ticket {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid #ddd;
}

.afvf-ev-ticket__info {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.78rem;
}

.afvf-ev-ticket__info span {
	font-size: 0.7rem;
	color: #666;
}

.afvf-ev-ticket__info .afvf-ev-ticket__price {
	color: #111;
	font-size: 0.78rem;
}

.afvf-ev-ticket__qty {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.66rem;
	color: #666;
}

.afvf-ev-ticket__qty select {
	min-width: 4.5rem;
	padding: 0.35rem 0.4rem;
	border: 1px solid #bbb;
	background: #fff;
	font-size: 0.78rem;
}

.afvf-ev-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	margin: 1.2rem 0 0.4rem;
}

.afvf-ev-fields label {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.7rem;
	color: #444;
}

.afvf-ev-fields input {
	padding: 0.5rem 0.6rem;
	border: 1px solid #bbb;
	font-size: 0.8rem;
}

.afvf-ev-total {
	display: flex;
	justify-content: space-between;
	padding: 0.8rem 0;
	margin-top: 0.6rem;
	border-top: 1px solid #222;
	font-size: 0.85rem;
}

.afvf-ev-submit {
	margin: 0.4rem 0 0;
	text-align: right;
}

@media (max-width: 560px) {
	.afvf-ev-fields {
		grid-template-columns: 1fr;
	}
}

/* Page de commande (Wix) : 1. Ajoutez vos détails · 2. Paiement + récapitulatif */
.afvf-event-single--checkout {
	padding: clamp(6.5rem, 12vw, 8.5rem) 1rem 4rem;
}

.afvf-co {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 15.5rem;
	gap: 1.5rem;
	max-width: 52rem;
	margin: 0 auto;
	align-items: start;
}

.afvf-co__step {
	margin: 0 0 1.4rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.35rem;
	font-weight: 300;
	line-height: 1.2;
	color: #222;
}

.afvf-co__step--next {
	margin: 2rem 0 0;
	color: #777;
	font-size: 1.15rem;
}

.afvf-co__form {
	display: block;
	position: relative;
}

.afvf-co__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1.2rem;
}

.afvf-co__form label {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	font-size: 0.72rem;
	color: #333;
}

.afvf-co__full {
	margin-bottom: 1.4rem;
}

.afvf-co__form input[type="text"],
.afvf-co__form input[type="email"] {
	height: 2.4rem;
	padding: 0 0.6rem;
	border: 1px solid #555;
	border-radius: 0;
	background: #fff;
	font-size: 0.85rem;
}

.afvf-co__btn {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
	border: 0;
	background: #ec5e87;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.afvf-co__btn:hover {
	background: #d94a74;
}

.afvf-co__timer {
	margin: 0 0 1rem;
	padding: 0.75rem 0.5rem;
	border: 1px solid #ddd;
	background: #fff;
	text-align: center;
	font-size: 0.68rem;
	color: #333;
}

.afvf-co__sum {
	border: 1px solid #ddd;
	background: #fff;
	font-size: 0.72rem;
	color: #222;
}

.afvf-co__sum-head {
	padding: 1rem;
	border-bottom: 1px solid #ddd;
}

.afvf-co__sum-head h2 {
	margin: 0 0 0.5rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.4;
}

.afvf-co__sum-head p {
	margin: 0;
	font-size: 0.66rem;
	line-height: 1.5;
}

.afvf-co__items {
	padding: 0.9rem 1rem;
}

.afvf-co__item {
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	margin-bottom: 0.7rem;
}

.afvf-co__item small {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.64rem;
	color: #555;
}

.afvf-co__item strong {
	font-weight: 400;
	white-space: nowrap;
}

.afvf-co__total {
	display: flex;
	justify-content: space-between;
	padding: 0.85rem 1rem;
	background: #dedede;
	font-size: 0.82rem;
}

.afvf-co__total strong {
	font-weight: 400;
}

@media (max-width: 760px) {
	.afvf-co {
		grid-template-columns: 1fr;
	}
	.afvf-co__side {
		order: -1;
	}
}

.afvf-ev-map {
	margin-top: 2rem;
}

.afvf-ev-map iframe {
	display: block;
	width: 100%;
	height: clamp(14rem, 36vw, 19rem);
	border: 0;
}

.afvf-ev-cover img {
	object-position: center 30%;
}

/* Toutes les pages : fond blanc */
html,
body,
body.afvf-bg-white {
	background: #fff;
}

/* Motif « Comment cela se passe ? » : fond cuivré + 3 cartes numérotées */
.afvf-comment {
	/* Fond animé : la bande cuivrée glisse lentement de gauche à droite (boucle sans coupure). */
	background-color: #5b3a12;
	background-image: linear-gradient(90deg, #5b3a12 0%, #a65c3b 25%, #5b3a12 50%, #a65c3b 75%, #5b3a12 100%);
	background-size: 200% 100%;
	background-position: 0% 0;
	animation: afvf-comment-bg 14s linear infinite;
	padding: 1.2rem 1rem 2rem;
}

@keyframes afvf-comment-bg {
	from {
		background-position: 0% 0;
	}
	to {
		background-position: 100% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.afvf-comment {
		animation: none;
	}
}

.afvf-comment__head {
	gap: 1.5rem;
	max-width: 64rem;
	margin: 0 auto 0.9rem;
}

.afvf-comment .afvf-comment__title {
	margin: 0;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: clamp(1.5rem, 3.2vw, 2.1rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	text-align: center;
}

.afvf-comment__btn .wp-block-button__link,
.afvf-comment__more .wp-block-button__link {
	padding: 0.65rem 1.5rem;
	font-size: 0.68rem;
	font-weight: 400;
	line-height: 1.2;
	border-radius: 0;
}

.afvf-comment__btn .wp-block-button__link:hover,
.afvf-comment__more .wp-block-button__link:hover {
	background: #f0e4dc !important;
}

.wp-block-columns.afvf-comment__cards {
	gap: 0.6rem;
	max-width: 64rem;
	margin: 0 auto;
	align-items: stretch;
	flex-wrap: nowrap;
}

.afvf-comment-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: 0.5rem 1.1rem 1.5rem;
	background: #f6f7f4;
	text-align: center;
	color: #3a2a12;
}

.afvf-comment-step > * {
	margin-top: 0;
	margin-bottom: 0;
	max-width: 100%;
}

.afvf-comment .afvf-comment-step__num {
	margin: 0 0 0.6rem;
	font-family: "Playfair Display", "Didot", Georgia, serif;
	font-size: clamp(3.4rem, 7.5vw, 5.4rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
	background: linear-gradient(100deg, #d4a06a 0%, #b08a6e 45%, #7a6e72 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.afvf-comment .afvf-comment-step__caption {
	margin: 0 0 0.9rem;
	font-size: 0.74rem;
	line-height: 1.45;
	color: #5b3a12;
}

.afvf-comment-step figure.afvf-comment-step__icon {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #5b4036;
}

.afvf-comment-step figure.afvf-comment-step__icon img {
	width: 52%;
	height: auto;
}

.afvf-comment-step figure.afvf-comment-step__icon--cup {
	width: 5.2rem;
	height: 5.2rem;
	margin-bottom: 1.1rem;
	background: #b45a3c;
}

.afvf-comment-step figure.afvf-comment-step__icon--cup img {
	width: 28%;
}

.afvf-comment-step figure.afvf-comment-step__icon--pin {
	background: #46718a;
}

.afvf-comment .afvf-comment-step__text {
	margin: 0 0 0.9rem;
	font-size: 0.66rem;
	line-height: 1.6;
	text-align: justify;
	color: #2a2a2a;
}

.afvf-comment .afvf-comment-step__address {
	margin: 0 0 1rem;
	font-size: 0.64rem;
	color: #333;
}

.afvf-comment-step figure.afvf-comment-step__photo {
	margin: auto auto 0;
	width: min(9.8rem, 62%);
}

.afvf-comment-step figure.afvf-comment-step__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.afvf-comment__more {
	max-width: 64rem;
	margin: 1.4rem auto 0;
	padding-left: 18%;
}

@media (max-width: 781px) {
	.wp-block-columns.afvf-comment__cards {
		flex-wrap: wrap;
	}
	.afvf-comment__more {
		padding-left: 0;
		justify-content: center;
	}
}

.afvf-comment-step figure.afvf-comment-step__photo,
.afvf-comment-step figure.afvf-comment-step__photo img {
	border-radius: 0;
}

/* Motif « Enfants · Femmes · Gala » : 3 colonnes séparées par un trait noir */
.wp-block-columns.afvf-gala {
	gap: 0;
	margin: 0;
	flex-wrap: nowrap;
	align-items: stretch;
	background: #fff;
	border-top: 1px solid #111;
	border-bottom: 1px solid #111;
}

.afvf-gala__col {
	min-width: 0;
	padding: 2.4rem 1.8rem 2.2rem 2.2rem;
	border-left: 1px solid #111;
	color: #333;
}

.afvf-gala__col:last-child {
	border-right: 1px solid #111;
}

.afvf-gala .afvf-gala__icon {
	max-width: 3.4rem;
	margin: 0 auto 2.6rem;
}

.afvf-gala .afvf-gala__icon img {
	display: block;
	width: 100%;
	height: auto;
}

.afvf-gala .afvf-gala__title {
	margin: 0 0 1.1rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.6;
	text-align: center;
	color: #333;
}

.afvf-gala .afvf-gala__title--big {
	margin-bottom: 0.3rem;
	font-size: 1.15rem;
	line-height: 1.45;
	color: #222;
}

.afvf-gala .afvf-gala__title--blue {
	margin-bottom: 1.2rem;
	color: #4a9be0;
}

.afvf-gala .afvf-gala__sub {
	margin: 1.1rem 0 0.4rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
	color: #333;
}

.afvf-gala .afvf-gala__sub--dark {
	margin: 1.6rem 0 1rem;
	color: #111;
}

.afvf-gala__col > p,
.afvf-gala__list {
	font-size: 0.8rem;
	line-height: 1.65;
	color: #444;
}

.afvf-gala__col > p {
	margin: 0 0 0.8rem;
}

.afvf-gala__list {
	margin: 0 0 0.5rem;
	padding-left: 1.4rem;
}

.afvf-gala__list li {
	margin: 0 0 0.35rem;
}

.afvf-gala .afvf-gala__date {
	margin-top: 1.1rem;
}

@media (max-width: 781px) {
	.wp-block-columns.afvf-gala {
		flex-wrap: wrap;
	}
	.afvf-gala__col {
		flex-basis: 100% !important;
		border-left: 0;
		border-right: 0;
		border-top: 1px solid #111;
		padding: 2rem 1.3rem;
	}
	.afvf-gala__col:first-child {
		border-top: 0;
	}
}

/* ── Contact — formulaire violet (Wix) ── */
.afvf-cwix-wrap {
  max-width: 460px;
  margin: 2.5rem auto;
  padding: 0 1rem;
  font-family: "Futura", "Jost", "Century Gothic", "Trebuchet MS", sans-serif;
}
.afvf-cwix-wrap__title {
  margin: 0 0 1.6rem;
  font-family: inherit;
  font-size: 2rem;
  font-weight: 500;
  color: #5a2a6e;
  letter-spacing: -0.01em;
}
.afvf-cwix__form { margin: 0; }
.afvf-cwix__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.2rem;
}
.afvf-cwix__field { margin: 0 0 1.35rem; }
.afvf-cwix__field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a1f5c;
}
.afvf-cwix__field input,
.afvf-cwix__field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 2.75rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 0;
  background: #c47cdd;
  color: #3a124a;
  font-family: inherit;
  font-size: 0.85rem;
  box-shadow: none;
}
.afvf-cwix__field textarea {
  height: auto;
  min-height: 3.2rem;
  padding: 0.7rem 0.9rem;
  resize: vertical;
}
.afvf-cwix__field input::placeholder,
.afvf-cwix__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}
.afvf-cwix__field input:focus,
.afvf-cwix__field textarea:focus {
  outline: 2px solid #5a2a6e;
  outline-offset: 1px;
}
.afvf-cwix__submit-wrap { margin: 1.4rem 0 0; text-align: center; }
.afvf-cwix__submit {
  min-width: 12.2rem;
  padding: 0.6rem 1.2rem;
  border: 3px solid #b865d0;
  border-radius: 0;
  background: #fff;
  color: #3a124a;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.afvf-cwix__submit:hover,
.afvf-cwix__submit:focus-visible {
  background: #b865d0;
  color: #fff;
}
.afvf-cwix__notice {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  background: #f3e3f9;
  color: #3a124a;
}
.afvf-cwix__notice--error { background: #fde8e8; color: #8a1f1f; }
@media (max-width: 520px) {
  .afvf-cwix__row { grid-template-columns: 1fr; }
}

/* Motif « Don » : Chèque / En ligne / Par téléphone */
.wp-block-columns.afvf-don3 {
	gap: 0;
	margin: 0;
	flex-wrap: nowrap;
	align-items: stretch;
}
.afvf-don3__col {
	min-width: 0;
	padding: 2.6rem 2rem 3rem;
	color: #fff;
	text-align: center;
}
.afvf-don3__col--pink { background: #ee5f87; }
.afvf-don3__col--sky { background: #7ba7f5; }
.afvf-don3__col--navy { background: #25418c; }
.afvf-don3 .afvf-don3__icon {
	width: 1.9rem;
	margin: 0 auto 0.9rem;
}
.afvf-don3 .afvf-don3__icon img {
	display: block;
	width: 100%;
	height: auto;
}
.afvf-don3 .afvf-don3__title {
	margin: 0 0 0.9rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}
.afvf-don3 .afvf-don3__text {
	max-width: 19rem;
	margin: 0 auto 1rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 300;
	line-height: 1.9;
	color: #fff;
}
.afvf-don3 .afvf-don3__phone {
	margin-top: 1.9rem;
}
.afvf-don3 .afvf-don3__btns {
	margin-top: 0.4rem;
}
.afvf-don3 .afvf-don3__btn .wp-block-button__link {
	padding: 0.6rem 1.15rem;
	border-radius: 0;
	background: #fff;
	color: #25418c;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
}
.afvf-don3 .afvf-don3__btn .wp-block-button__link:hover {
	background: #25418c;
	color: #fff;
	outline: 1px solid #fff;
}
@media (max-width: 781px) {
	.wp-block-columns.afvf-don3 { flex-wrap: wrap; }
	.afvf-don3__col { flex-basis: 100% !important; padding: 2.2rem 1.3rem; }
}

/* ── Services en ligne : catalogue + réservation (Wix Bookings) ── */
.afvf-services-auto {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2rem 1.3rem 3rem;
}
.afvf-services-auto .afvf-services-auto__kicker {
	margin: 0;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.35rem;
	font-weight: 600;
	text-align: center;
	color: #111;
}
.afvf-services-auto .afvf-services-auto__title {
	margin: 0 0 1.6rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: clamp(1.6rem, 3.6vw, 2.2rem);
	font-weight: 600;
	text-align: center;
	color: #333;
}
.afvf-svc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
	align-items: stretch;
}
.afvf-svc-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #d9d9d9;
}
.afvf-svc-card__img {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eee;
}
.afvf-svc-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.afvf-svc-card__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f6c3d3, #c7d8f8);
}
.afvf-svc-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.6rem 1.3rem 1.4rem;
}
.afvf-svc-card__title {
	margin: 0 0 1.6rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #d9d9d9;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
}
.afvf-svc-card__title a { color: #111; text-decoration: none; }
.afvf-svc-card__meta {
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
	font-size: 0.72rem;
	color: #333;
}
.afvf-svc-card__meta li { margin: 0 0 0.7rem; }
.afvf-svc-card__cta { margin: auto 0 0; }
.afvf-svc-btn {
	display: inline-block;
	padding: 0.55rem 1.1rem;
	background: #ec5e87;
	color: #fff;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.78rem;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}
.afvf-svc-btn:hover { background: #d94b75; color: #fff; }
@media (max-width: 900px) {
	.afvf-svc-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* Page « Programmer votre service » */
.afvf-bk-page { padding: 5rem 1rem 3rem; background: #fff; }
.afvf-bk {
	max-width: 700px;
	margin: 0 auto;
	font-family: "Poppins", system-ui, sans-serif;
	color: #111;
}
.afvf-bk[hidden], .afvf-bk [hidden] { display: none !important; }
.afvf-bk__back {
	display: inline-block;
	margin-bottom: 1.6rem;
	font-size: 0.8rem;
	color: #111;
	text-decoration: none;
}
.afvf-bk__title {
	margin: 0 0 0.9rem;
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1.2;
}
.afvf-bk__intro { margin: 0 0 2.2rem; font-size: 0.8rem; }
.afvf-bk__notice {
	margin: 0 0 1.4rem;
	padding: 0.7rem 0.9rem;
	background: #fde8ee;
	color: #8a1f3f;
	font-size: 0.82rem;
}
.afvf-bk__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.4rem 1rem;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid #bbb;
}
.afvf-bk__head h2,
.afvf-bk__details h2 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
}
.afvf-bk__tz { font-size: 0.7rem; color: #444; }
.afvf-bk__pick {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1.2rem 2.4rem;
	margin: 1.1rem 0 2.6rem;
	min-height: 17rem;
}
.afvf-cal__bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.8rem;
	margin-bottom: 0.9rem;
	font-size: 0.8rem;
}
.afvf-cal__nav {
	width: 1.8rem;
	height: 1.8rem;
	border: 0;
	background: none;
	font-size: 1.5rem;
	line-height: 1;
	color: #111;
	cursor: pointer;
}
.afvf-cal__nav:disabled { color: #bbb; cursor: default; }
.afvf-cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.afvf-cal__grid th {
	padding: 0.5rem 0 0.7rem;
	font-size: 0.7rem;
	font-weight: 400;
	color: #333;
}
.afvf-cal__grid td { padding: 0; text-align: center; }
.afvf-cal__day {
	position: relative;
	width: 1.75rem;
	height: 1.75rem;
	margin: 0.25rem auto 0.55rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font: inherit;
	font-size: 0.78rem;
	color: #111;
	cursor: pointer;
}
.afvf-cal__day.is-past { color: #999; cursor: default; }
.afvf-cal__day.is-avail { color: #ec5e87; }
.afvf-cal__day.is-avail i {
	position: absolute;
	left: 50%;
	bottom: -0.45rem;
	width: 3px;
	height: 3px;
	margin-left: -1.5px;
	border-radius: 50%;
	background: #ec5e87;
}
.afvf-cal__day.is-sel { background: #ec5e87; color: #fff; }
.afvf-cal__day.is-sel i { display: none; }
.afvf-cal__day:not(.is-past):not(.is-sel):hover { background: #fbe3eb; }
.afvf-bk__avail { margin: 0.2rem 0 0.2rem; font-size: 0.78rem; }
.afvf-bk__none { margin: 0 0 1rem; font-size: 0.78rem; }
.afvf-bk__nextdate {
	display: block;
	width: 100%;
	padding: 0.7rem 1rem;
	border: 0;
	background: #ec5e87;
	color: #fff;
	font: inherit;
	font-size: 0.8rem;
	cursor: pointer;
}
.afvf-bk__nextdate:hover { background: #d94b75; }
.afvf-bk__times {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr));
	gap: 0.55rem;
	margin-top: 0.8rem;
}
.afvf-bk__time {
	padding: 0.55rem 0.4rem;
	border: 1px solid #ec5e87;
	background: #fff;
	color: #ec5e87;
	font: inherit;
	font-size: 0.78rem;
	cursor: pointer;
}
.afvf-bk__time:hover { background: #fbe3eb; }
.afvf-bk__time.is-sel { background: #ec5e87; color: #fff; }
.afvf-bk__details { margin-bottom: 2.4rem; }
.afvf-bk__details h2 { padding-bottom: 0.4rem; border-bottom: 1px solid #bbb; }
.afvf-bk__dtitle { margin: 0.9rem 0 0.1rem; font-size: 0.8rem; }
.afvf-bk__dmeta { margin: 0 0 0.5rem; font-size: 0.7rem; color: #444; }
.afvf-bk__more { margin: 0.6rem 0; font-size: 0.78rem; line-height: 1.7; }
.afvf-bk__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.7rem;
	color: #333;
	cursor: pointer;
}
.afvf-bk__toggle i { font-style: normal; font-size: 1.1rem; }
.afvf-bk__toggle.is-open i { transform: rotate(180deg); }
.afvf-bk__next {
	display: block;
	width: 100%;
	padding: 0.8rem 1rem;
	border: 0;
	background: #666;
	color: #ddd;
	font: inherit;
	font-size: 0.8rem;
	cursor: not-allowed;
}
.afvf-bk__next--on { background: #ec5e87; color: #fff; cursor: pointer; }
.afvf-bk__next--on:hover { background: #d94b75; }
.afvf-bk__recap {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin: 1rem 0 1.4rem;
	padding: 0.9rem 1rem;
	background: #f6f6f6;
	font-size: 0.8rem;
}
.afvf-bk__form p { margin: 0 0 1rem; }
.afvf-bk__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; }
.afvf-bk__form label { display: block; margin-bottom: 0.25rem; font-size: 0.72rem; font-weight: 500; }
.afvf-bk__form input[type="text"],
.afvf-bk__form input[type="email"],
.afvf-bk__form input[type="tel"],
.afvf-bk__form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 0.7rem;
	border: 1px solid #bbb;
	border-radius: 0;
	font: inherit;
	font-size: 0.82rem;
	background: #fff;
}
.afvf-bk__form input:focus,
.afvf-bk__form textarea:focus { outline: 2px solid #ec5e87; outline-offset: 0; border-color: #ec5e87; }
@media (max-width: 640px) {
	.afvf-bk__pick { grid-template-columns: 1fr; }
	.afvf-bk__row { grid-template-columns: 1fr; }
}
.afvf-bk .afvf-bk__title,
.afvf-bk .afvf-bk__head h2,
.afvf-bk .afvf-bk__details h2 {
	font-family: "Poppins", system-ui, sans-serif;
}

/* Réservation : créneaux (3 colonnes) + formulaire en 2 colonnes (Wix) */
.afvf-bk { max-width: 760px; }
.afvf-bk__tz { cursor: default; }
.afvf-bk__times {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.6rem;
	margin-top: 1.1rem;
}
.afvf-bk__time {
	padding: 0.6rem 0.2rem;
	border: 1px solid #111;
	background: #fff;
	color: #111;
}
.afvf-bk__time:hover { background: #fbe3eb; border-color: #ec5e87; }
.afvf-bk__time.is-sel { background: #ec5e87; border-color: #ec5e87; color: #fff; }
.afvf-bk__allwrap { margin: 1.4rem 0 0; text-align: center; }
.afvf-bk__all {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.75rem;
	color: #ec5e87;
	text-decoration: underline;
	cursor: pointer;
}

.afvf-bk__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 14.5rem;
	gap: 0 3rem;
	align-items: start;
}
.afvf-bk__h2 {
	margin: 0 0 1.2rem;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid #bbb;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
}
.afvf-bk__h3 {
	margin: 1rem 0 0.4rem;
	padding-top: 0.9rem;
	border-top: 1px solid #bbb;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.85rem;
	font-weight: 400;
}
.afvf-bk__form label { font-weight: 400; font-size: 0.78rem; color: #333; }
.afvf-bk__form input[type="text"],
.afvf-bk__form input[type="email"],
.afvf-bk__form input[type="tel"],
.afvf-bk__form textarea,
.afvf-bk__phone select {
	border: 1px solid #111;
	border-radius: 0;
}
.afvf-bk__form input[type="text"],
.afvf-bk__form input[type="email"],
.afvf-bk__form input[type="tel"] { height: 2.3rem; padding-top: 0; padding-bottom: 0; }
.afvf-bk__phone { display: flex; }
.afvf-bk__phone select {
	flex: 0 0 auto;
	width: 5.6rem;
	height: 2.3rem;
	padding: 0 0.3rem;
	border-right: 0;
	background: #fff;
	font: inherit;
	font-size: 0.78rem;
}
.afvf-bk__phone input { flex: 1; min-width: 0; }
.afvf-bk__col--sum { font-size: 0.8rem; }
.afvf-bk__sumtitle { margin: 0 0 0.1rem !important; }
.afvf-bk__sumdate { margin: 0 0 0.6rem !important; }
.afvf-bk__toggle--sum { padding-bottom: 0.8rem; }
.afvf-bk__sumdetail { margin: 0 0 0.8rem !important; font-size: 0.72rem; color: #444; }
.afvf-bk__sumprice { margin: 0 0 0.9rem !important; padding-bottom: 0.9rem; border-bottom: 1px solid #bbb; font-size: 0.72rem; color: #444; }
.afvf-bk__legal { margin: 0 0 1.1rem !important; font-size: 0.65rem; line-height: 1.7; color: #444; }
.afvf-bk__col--sum .afvf-bk__next { padding: 0.65rem 1rem; }
@media (max-width: 700px) {
	.afvf-bk__cols { grid-template-columns: 1fr; }
	.afvf-bk__col--sum { margin-top: 1.4rem; }
}
.afvf-bk__step--form { margin-top: 2.4rem; }

/* Vidéo de fond ajoutée à une Couverture (accueil, bannières) */
.wp-block-cover video.afvf-bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}
/* Le « fond fixe » reste cadré dans la Couverture, même placée au milieu de la page. */
.wp-block-cover.afvf-wix-fixed-media {
	clip-path: inset(0);
}

/* Motif « Une promesse… » : photo carrée + carte blanche sur fond de photo */
.wp-block-cover.afvf-promesse {
	min-height: 410px;
	padding: 0 !important;
	align-items: stretch;
}
.wp-block-cover.afvf-promesse .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
	display: flex;
}
.afvf-promesse__stage {
	display: flex;
	align-items: stretch;
	width: min(726px, 94%);
	margin: 0 auto 0 22%;
	min-height: 410px;
}
.afvf-promesse__stage > .wp-block-image.afvf-promesse__photo {
	flex: 0 0 39.7%;
	align-self: flex-start;
	margin: 34px 0 0;
}
.afvf-promesse__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 0.99;
	height: auto;
	object-fit: cover;
	border-radius: 0;
}
.afvf-promesse__card.wp-block-group {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 1.8rem 1.9rem 1.8rem 5.2rem;
	background: #fff;
	color: #333;
}
.afvf-promesse__card .afvf-promesse__title {
	margin: 0 0 1rem;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: #333;
}
.afvf-promesse__card .afvf-promesse__text {
	margin: 0;
	font-family: "Montserrat", "Avenir Next", Avenir, system-ui, sans-serif;
	font-size: 0.66rem;
	line-height: 1.36;
	text-align: justify;
	color: #333;
}
.afvf-promesse__card .afvf-promesse__btns {
	margin-top: auto;
	padding-top: 1.4rem;
}
.afvf-promesse__card .afvf-promesse__btn .wp-block-button__link {
	padding: 0.5rem 0.9rem;
	border-radius: 0;
	background: #ec5e87;
	color: #fff;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 0.62rem;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
}
.afvf-promesse__card .afvf-promesse__btn .wp-block-button__link:hover {
	background: #d94b75;
}
@media (max-width: 900px) {
	.afvf-promesse__stage {
		flex-direction: column;
		width: 100%;
		margin: 0;
		min-height: 0;
	}
	.afvf-promesse__stage > .wp-block-image.afvf-promesse__photo {
		flex: none;
		width: min(320px, 80%);
		margin: 1.6rem auto 0;
		align-self: center;
	}
	.afvf-promesse__card.wp-block-group {
		margin: 0 1rem 1.6rem;
		padding: 1.6rem 1.4rem;
	}
}
