/* =========================================================
   Base Agence — styles du thème parent
   Les couleurs, polices et arrondis viennent de theme.json
   (thème enfant ou variation de style) : ne pas les écrire en dur ici.
   ========================================================= */
:root, .editor-styles-wrapper {
  --bg: var(--wp--preset--color--base, #d3e4df);
  --surface: var(--wp--preset--color--surface, #ffffff);
  --surface-alt: var(--wp--preset--color--surface-alt, #edf4f2);
  --ink: var(--wp--preset--color--contrast, #0d1212);
  --dark: var(--wp--preset--color--dark, #34484a);
  --muted: var(--wp--preset--color--muted, #565959);
  --subtle: var(--wp--preset--color--subtle, #9aa3a5);
  --soft: var(--wp--preset--color--soft, #7b8889);
  --accent: var(--wp--preset--color--accent, #64d5b3);
  --accent-2: var(--wp--preset--color--accent-2, #5b8279);
  --on-dark: var(--wp--preset--color--surface, #ffffff);
  --on-dark-2: color-mix(in srgb, var(--on-dark) 72%, transparent);
  --on-dark-3: color-mix(in srgb, var(--on-dark) 58%, transparent);
  --line: color-mix(in srgb, var(--muted) 32%, transparent);
  --line-soft: color-mix(in srgb, var(--muted) 20%, transparent);
  --line-dark: color-mix(in srgb, var(--on-dark) 18%, transparent);

  --font-s: var(--wp--preset--font-family--body, "Inter", ui-sans-serif, system-ui, sans-serif);
  --font-l: var(--wp--preset--font-family--display, "Archivo", "Inter", ui-sans-serif, sans-serif);

  --r-card: var(--wp--custom--radius--card, 36px);
  --r-badge: var(--wp--custom--radius--badge, 20px);
  --r-input: var(--wp--custom--radius--input, 16px);
  --r-btn: var(--wp--custom--radius--button, 12px);
  --r-pill: var(--wp--custom--radius--pill, 16px);

  --max: var(--wp--custom--max-width, 1200px);
  --frame: var(--wp--custom--frame-width, 1360px);
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-s);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .01em;
  font-feature-settings: "kern" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.ba-js body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Annule les marges que WordPress ajoute entre les grands blocs */
body .wp-site-blocks { padding: 0; }
body .wp-site-blocks > *, body .wp-site-blocks > * + * { margin-block: 0; }
.ba-main > .ba-content > *, .ba-content > * + * { margin-block: 0; }

/* Listes des composants (les listes de texte libre gardent leurs puces) */
.nav ul, .menu ul, .footer ul, .hero__badges, .offer__list, .chips, .ba-main .is-style-plain { list-style: none; margin: 0; padding: 0; }

/* Mise en page */
.ba-container, .container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ba-section, .section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.no-pad-top { padding-top: 0 !important; }
.mt-80 { margin-top: clamp(56px, 7vw, 80px) !important; }
.mt-40 { margin-top: 40px !important; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Rangées de boutons (WordPress) */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wp-block-buttons > .wp-block-button { margin: 0; }

/* Images (WordPress) */
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; }

/* =========================================================
   TYPOGRAPHIE
   ========================================================= */
.eyebrow {
  font: 600 12px/1.5 var(--font-s);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--on-dark-3) !important; }
.h-display-sm, .hero__title, .final__title, .h-heading-lg, .page-hero__title, .statement {
  font-family: var(--font-l);
  font-weight: 400;
  font-variation-settings: "wdth" 112;
  letter-spacing: 0;
  line-height: 1.1;
}
.h-display-sm { font-size: clamp(36px, 5vw, 56px); }
.h-heading-lg { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.2; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); margin-top: 28px; letter-spacing: 0; }
.body-muted { color: var(--muted); margin-top: 16px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 24px; }
.statement { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.15; max-width: 22ch; }

/* Découpage des titres (créé par le script) */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > .line__in, .word { display: inline-block; will-change: transform; }
.word { overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.word > span { display: inline-block; will-change: transform; }

/* =========================================================
   BOUTONS
   .btn : boutons écrits par le thème (en-tête, formulaire)
   .wp-block-button : boutons modifiables dans l'éditeur
   ========================================================= */
.btn, .wp-block-button .wp-block-button__link {
  --pad: 12px 24px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad);
  border: 0;
  border-radius: var(--r-btn);
  font: 600 15px/1.2 var(--font-s);
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--accent); color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn--lg, .wp-block-button.btn--lg .wp-block-button__link { --pad: 18px 30px; font-size: 16px; }

/* Plein (accent) */
.btn--teal::before, .btn--dark::before,
.wp-block-button:not([class*="is-style-"]) .wp-block-button__link::before,
.wp-block-button.is-style-fill .wp-block-button__link::before,
.wp-block-button.is-style-dark .wp-block-button__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  border-radius: inherit;
}
.btn--teal:hover, .wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover, .wp-block-button.is-style-fill .wp-block-button__link:hover { color: var(--on-dark); }
.btn--teal:hover::before, .btn--dark:hover::before,
.wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover::before,
.wp-block-button.is-style-fill .wp-block-button__link:hover::before,
.wp-block-button.is-style-dark .wp-block-button__link:hover::before { transform: translateY(0); }

/* Sombre (pilule) */
.btn--dark, .wp-block-button.is-style-dark .wp-block-button__link { background: var(--ink); color: var(--on-dark); border-radius: var(--r-pill); --pad: 10px 20px; font-size: 14px; }
.btn--dark::before, .wp-block-button.is-style-dark .wp-block-button__link::before { background: var(--accent); }
.btn--dark:hover, .wp-block-button.is-style-dark .wp-block-button__link:hover { color: var(--ink); }

/* Lien fléché */
.btn--ghost, .wp-block-button.is-style-ghost .wp-block-button__link { --pad: 10px 6px; background: none; color: var(--ink); font-weight: 500; font-size: 15px; overflow: visible; }
.wp-block-button.is-style-ghost .wp-block-button__link::after { content: "→"; transition: transform .4s var(--ease); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover::after { transform: translateX(5px); }
.wp-block-button.is-style-ghost .wp-block-button__link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 6px calc(100% - 6px);
  transition: background-size .5s var(--ease);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background-size: calc(100% - 12px) 1px; }

/* Contour clair (sur fond sombre) */
.btn--outline-light, .wp-block-button.is-style-outline-light .wp-block-button__link { background: none; color: var(--on-dark); border: 1px solid color-mix(in srgb, var(--on-dark) 40%, transparent); --pad: 17px 28px; font-size: 16px; }
.btn--outline-light:hover, .wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: var(--on-dark); color: var(--ink); }

/* Flèche carrée : texte + carré accent, toute la carte devient cliquable */
.wp-block-button.is-style-arrow .wp-block-button__link { --pad: 0; background: none; color: inherit; font-weight: 500; font-size: 16px; gap: 16px; position: static; overflow: visible; }
.wp-block-button.is-style-arrow .wp-block-button__link::after {
  content: "→"; width: 56px; height: 56px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-size: 22px;
  transition: transform .5s var(--ease);
}
.wp-block-button.is-style-arrow .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
:is(.fcard, .card):has(.is-style-arrow):hover .is-style-arrow .wp-block-button__link::after { transform: translateX(8px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center;
  background: var(--surface-alt); color: var(--ink);
  font: 500 13px/1.3 var(--font-s);
  letter-spacing: .02em;
  padding: 6px 13px;
  border-radius: var(--r-badge);
  width: fit-content;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { display: inline-flex; background: var(--surface-alt); color: var(--ink); font: 500 13px/1.3 var(--font-s); letter-spacing: .02em; padding: 6px 13px; border-radius: var(--r-badge); }
.chips--lg li { font-size: 15px; padding: 10px 18px; background: var(--surface); }

/* ---------- Cartes image ---------- */
figure.card-img { background: var(--surface); border-radius: var(--r-card); overflow: hidden; position: relative; isolation: isolate; }
figure.card-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }

/* =========================================================
   INTRO
   ========================================================= */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--on-dark); display: grid; place-items: center; }
html:not(.ba-js) .intro { display: none; }
/* Sécurité : si le script ne démarre pas, l'intro disparaît d'elle-même */
.intro { animation: ba-intro-secours 0s linear 6s forwards; }
@keyframes ba-intro-secours { to { visibility: hidden; opacity: 0; } }
.intro__inner { width: min(600px, 80vw); text-align: center; position: relative; }
.intro__road { width: 100%; height: 40px; display: block; }
.intro__line { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 24 16; }
.intro__brand { margin-top: 28px; overflow: hidden; }
.intro__eyebrow { display: block; font: 600 12px/1.5 var(--font-s); letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-3); }
.intro__name { display: block; font-family: var(--font-l); font-variation-settings: "wdth" 120; font-size: clamp(34px, 6vw, 64px); line-height: 1.1; margin-top: 6px; }
.intro__count { position: fixed; right: var(--gutter); bottom: var(--gutter); font: 500 14px/1 var(--font-s); color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.intro--short .intro__brand { margin: 0; }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px var(--gutter); transition: transform .6s var(--ease); }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner {
  max-width: var(--frame); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 22px;
  border-radius: 20px;
  transition: background-color .5s var(--ease), backdrop-filter .5s;
}
.nav.is-scrolled .nav__inner { background: color-mix(in srgb, var(--surface-alt) 72%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.nav__links--right { justify-content: flex-end; }
.nav__links a { position: relative; padding: 5px 0; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: center; }
.logo__img { max-height: 44px; width: auto; }
.logo__mark { width: 38px; height: 38px; border-radius: var(--r-btn); background: var(--ink); color: var(--on-dark); display: grid; place-items: center; flex: none; }
.logo__mark svg { width: 22px; height: 22px; fill: none; stroke: var(--on-dark); stroke-width: 2.2; stroke-linecap: round; }
.logo__mark .logo__dash { stroke: var(--accent); stroke-dasharray: 3 3.5; stroke-width: 1.6; }
.logo__mark--letter { font-family: var(--font-l); font-variation-settings: "wdth" 120; font-size: 20px; line-height: 1; }
.logo__text { font-family: var(--font-l); font-variation-settings: "wdth" 115; font-size: 18px; line-height: 1; white-space: nowrap; }
.logo__text small { display: block; font: 600 10px/1 var(--font-s); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); position: relative; justify-self: end; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--on-dark); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  padding: 110px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu ul li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu ul a { display: block; padding: 16px 0; font-family: var(--font-l); font-variation-settings: "wdth" 112; font-size: clamp(28px, 8vw, 40px); line-height: 1.15; }
.menu__foot { display: grid; gap: 14px; color: var(--muted); font-size: 14px; }
.menu__foot .btn { justify-content: center; }

@media (max-width: 1080px) {
  .nav__links, .nav__right { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; padding: 8px 8px 8px 16px; }
  .logo { justify-self: start; }
  .nav__burger { display: block; }
}

/* =========================================================
   SECTION : ACCUEIL PLEIN ÉCRAN (.ba-hero)
   ========================================================= */
.ba-hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: clamp(130px, 18vh, 190px); overflow: hidden; }
.hero__text { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); }
.hero__title { font-size: clamp(52px, 10vw, 120px); line-height: 1.02; margin: 0 auto; max-width: 14ch; }
.hero__sub { max-width: 560px; margin: 28px auto 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; color: var(--muted); letter-spacing: 0; }
.hero__ctas { gap: 18px; justify-content: center; margin-top: 36px; }

.hero__badges { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__badges li {
  position: absolute; left: var(--x, 8%); top: var(--y, 30%);
  display: inline-flex; background: color-mix(in srgb, var(--surface-alt) 85%, transparent); backdrop-filter: blur(6px);
  font: 500 13px/1.3 var(--font-s); letter-spacing: .02em; padding: 9px 16px; border-radius: var(--r-badge); white-space: nowrap;
}
.hero__badges li:nth-child(1) { --x: 8%;  --y: 30%; }
.hero__badges li:nth-child(2) { --x: 78%; --y: 22%; }
.hero__badges li:nth-child(3) { --x: 84%; --y: 56%; }
.hero__badges li:nth-child(4) { --x: 4%;  --y: 62%; }
.hero__badges li:nth-child(n+5) { display: none; }

.hero__media { position: relative; z-index: 3; margin-top: clamp(48px, 7vh, 80px); padding: 0 var(--gutter); height: 100vh; height: 100svh; }
.hero__frame {
  position: relative; width: 100%; height: calc(100% - var(--gutter));
  max-width: var(--frame); margin: 0 auto;
  border-radius: var(--r-card); overflow: hidden; background: var(--surface);
  transform-origin: 50% 0;
}
.hero__frame > .wp-block-image { position: absolute; inset: 0; }
.hero__frame > .wp-block-image img { width: 100%; height: 120%; object-fit: cover; transform-origin: 50% 40%; }
.hero__overlay {
  position: absolute; inset: auto 0 0 0; padding: clamp(24px, 5vw, 64px);
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 72%, transparent), transparent);
  color: var(--on-dark);
}
.hero__overlay-title { font-family: var(--font-l); font-variation-settings: "wdth" 112; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.1; max-width: 18ch; }
.play-toggle { position: absolute; right: 24px; top: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; z-index: 2; }
.play-toggle span { width: 10px; height: 12px; border-left: 3px solid var(--on-dark); border-right: 3px solid var(--on-dark); }
.play-toggle.is-paused span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--on-dark); margin-left: 3px; }

.scroll-hint { position: absolute; left: 50%; top: calc(100svh - 56px); transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 10px; font: 600 11px/1 var(--font-s); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.scroll-hint span { width: 1px; height: 28px; background: var(--soft); transform-origin: top; animation: hint 2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 760px) {
  .hero__badges { display: none; }
  .hero__media { height: 78svh; }
  .scroll-hint { display: none; }
}

/* =========================================================
   SECTION : EN-TÊTE DE PAGE (.ba-page-hero)
   ========================================================= */
.ba-page-hero { padding-top: clamp(130px, 17vh, 180px); }
.page-hero__text { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px 60px; align-items: end; }
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--soft); }
.crumbs a:hover { color: var(--ink); }
.page-hero__title { font-size: clamp(50px, 8.4vw, 120px); line-height: 1.02; }
.page-hero__aside { padding-bottom: 12px; }
.page-hero__aside p { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; letter-spacing: 0; }
.page-hero__aside .wp-block-buttons { margin-top: 28px; }
.page-hero__media { margin: clamp(48px, 7vh, 80px) var(--gutter) 0; }
.page-hero__frame { max-width: var(--frame); margin: 0 auto; aspect-ratio: 21 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--surface); position: relative; }
.page-hero__frame > .wp-block-image { position: absolute; inset: 0; }
.page-hero__frame > .wp-block-image img { width: 100%; height: 115%; object-fit: cover; }
.page-hero__tag { position: absolute; left: 24px; bottom: 24px; z-index: 1; }
.page-hero__tag:empty { display: none; }
@media (max-width: 860px) {
  .page-hero__text { grid-template-columns: 1fr; }
  .page-hero__frame { aspect-ratio: 4 / 3; }
}

/* =========================================================
   SECTION : BANDEAU DÉFILANT (.ba-marquee)
   ========================================================= */
.ba-marquee { padding: 40px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__text, .marquee__track { font-family: var(--font-l); font-variation-settings: "wdth" 112; font-size: clamp(28px, 4vw, 56px); line-height: 1.1; white-space: nowrap; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; }
.marquee__track i { font-style: normal; font-size: .3em; color: var(--accent-2); }

/* =========================================================
   SECTION : PRÉSENTATION (.ba-about) et TEXTE + IMAGES
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding-bottom: 60px; }
figure.card-img--tall { aspect-ratio: 4 / 5; }
figure.card-img--tall img { object-position: 30% 50%; }
figure.card-img--float { position: absolute; width: 58%; aspect-ratio: 16 / 7; right: -8%; bottom: 0; border: 6px solid var(--bg); border-radius: calc(var(--r-card) + 6px); }
figure.card-img--float img { height: 100%; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats__num { display: block; font-family: var(--font-l); font-variation-settings: "wdth" 112; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stats__label { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.two-imgs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: end; }
.two-imgs > .card-img:first-child { aspect-ratio: 4 / 3; }
.two-imgs > .card-img:last-child { aspect-ratio: 3 / 4; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  figure.card-img--float { right: -2%; }
}
@media (max-width: 560px) { .two-imgs { grid-template-columns: 1fr; } .two-imgs > .card-img:last-child { aspect-ratio: 4 / 3; } }

/* =========================================================
   SECTION : OFFRE / PRIX (.ba-offer)
   ========================================================= */
.ba-offer { padding-top: 0; }
.ba-offer.has-pad-top { padding-top: var(--section); }
.offer__card { background: var(--surface); border-radius: var(--r-card); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.offer__left > .badge { margin-bottom: 28px; background: var(--accent); }
.offer__price { font-family: var(--font-l); font-variation-settings: "wdth" 118; font-size: clamp(84px, 13vw, 168px); line-height: .95; font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; }
.offer__price sup { font: 600 15px/1 var(--font-s); letter-spacing: .04em; margin: 1.2em 0 0 10px; color: var(--muted); vertical-align: baseline; }
.offer__ctas { margin-top: 32px; }
.offer__list li { position: relative; padding: 22px 0 22px 44px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 15px; }
.offer__list li:first-child { border-top: 1px solid var(--line-soft); }
.offer__list li strong { display: block; color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.offer__list li br { display: none; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-alt); }
.offer__list li::after { content: ""; position: absolute; left: 9px; top: 29px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .offer__card { grid-template-columns: 1fr; } }

/* =========================================================
   SECTION : CARTES EN DÉFILEMENT HORIZONTAL (.ba-hscroll)
   ========================================================= */
.ba-hscroll { padding: var(--section) 0 calc(var(--section) * .6); overflow: hidden; }
.formations__head { margin-bottom: 56px; }
@media (min-width: 761px) {
  .ba-hscroll { height: 100vh; min-height: 640px; padding: 96px 0 40px; display: flex; flex-direction: column; justify-content: center; }
  .formations__head { margin-bottom: 36px; }
  .formations__head .eyebrow { margin-bottom: 12px; }
  .fcard__img { aspect-ratio: 16 / 10; }
  .fcard__body { padding: 20px 26px 26px; }
}
@media (min-width: 761px) and (max-height: 820px) { .fcard__img { aspect-ratio: 2 / 1; } .fcard__body p { font-size: 14px; } }
.formations__viewport { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.formations__track { display: flex; gap: 20px; width: max-content; padding-right: var(--gutter); }
.fcard { width: clamp(280px, 30vw, 400px); background: var(--surface); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease); position: relative; }
.fcard:hover { transform: translateY(-8px); }
.fcard__img { aspect-ratio: 4 / 3; overflow: hidden; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.06); }
.fcard__body { padding: 24px 28px 32px; }
.fcard__body > .badge { margin-bottom: 18px; }
.fcard__body h3 { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: 28px; line-height: 1.15; margin: 0 0 10px; }
.fcard__body p:not(.badge) { color: var(--muted); font-size: 15px; }
.fcard--cta { background: var(--ink); color: var(--on-dark); padding: 36px; justify-content: space-between; min-height: 100%; }
.fcard--cta .eyebrow { color: var(--on-dark-3); }
.fcard--cta h3 { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; }
@media (max-width: 760px) {
  .formations__viewport { padding: 0 var(--gutter); }
  .formations__track { flex-direction: column; width: 100%; padding: 0; }
  .fcard { width: 100%; }
  .fcard--cta { min-height: 280px; }
}

/* =========================================================
   SECTION : ÉTAPES SUR FOND SOMBRE (.ba-journey)
   ========================================================= */
.ba-journey { background: var(--dark); color: var(--on-dark); padding: var(--section) 0; border-radius: var(--r-card) var(--r-card) 0 0; position: relative; }
.ba-journey.journey--solo { border-radius: var(--r-card); margin: 0 var(--gutter); }
.journey__head { text-align: center; max-width: 820px; margin: 0 auto 80px; }
.journey__grid { display: grid; grid-template-columns: 40px 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.journey__road { position: relative; }
.journey__road svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey__line-bg { stroke: var(--line-dark); stroke-width: 2; stroke-dasharray: 10 10; vector-effect: non-scaling-stroke; }
.journey__line { stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.journey__car { position: absolute; left: 50%; top: 0; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent); }
.steps { display: grid; gap: clamp(40px, 7vh, 72px); padding: 8px 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; counter-increment: step; transition: opacity .6s var(--ease); }
.ba-js .ba-journey .step { opacity: .35; }
.ba-js .ba-journey .step.is-active { opacity: 1; }
.step::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; font: 600 13px/1.6 var(--font-s); letter-spacing: .05em; color: var(--accent); padding-top: 6px; }
.step > * { grid-column: 2; }
.step h3 { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; margin-bottom: 12px; }
.step p { color: var(--on-dark-2); }
.journey__cards { display: grid; gap: 20px; align-content: start; }
.journey__cards > .card-img { aspect-ratio: 4 / 3; }
.journey__cards > .card-img:nth-child(2) { margin-left: 18%; }
@media (max-width: 960px) {
  .journey__grid { grid-template-columns: 28px 1fr; }
  .journey__cards { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .journey__cards > .card-img:nth-child(2) { margin: 40px 0 0; }
}
@media (max-width: 560px) { .step { grid-template-columns: 1fr; } .step::before { grid-row: auto; padding: 0 0 4px; } .step > * { grid-column: 1; } .journey__head { text-align: left; } }

/* =========================================================
   SECTION : GRAND CHIFFRE SUR FOND SOMBRE (.ba-funding)
   ========================================================= */
.ba-funding { background: var(--dark); color: var(--on-dark); padding: var(--section) 0; border-radius: var(--r-card); margin: 0 var(--gutter); }
.ba-funding.funding--joined { border-radius: 0; margin: 0; padding-top: 0; }
.ba-funding.funding--joined .funding__grid { border-top: 1px solid var(--line-dark); padding-top: var(--section); }
.funding__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.funding__big { font-family: var(--font-l); font-variation-settings: "wdth" 125; line-height: .9; }
.funding__euro { display: block; font-size: clamp(120px, 20vw, 280px); white-space: nowrap; }
.funding__per { display: block; font-size: clamp(28px, 3.2vw, 40px); color: var(--accent); margin-top: 10px; font-variation-settings: "wdth" 112; }
.ba-funding .eyebrow { color: var(--on-dark-3); }
.ba-funding .lead, .ba-funding .fine { color: var(--on-dark-2); }
.ba-funding .fine.is-small { color: var(--on-dark-3); }
@media (max-width: 860px) { .funding__grid { grid-template-columns: 1fr; } }

/* =========================================================
   SECTION : AVIS (.ba-reviews)
   ========================================================= */
.ba-reviews { overflow: hidden; }
.reviews__head, .section-head { max-width: 720px; margin-bottom: 56px; }
.reviews__rail { display: flex; gap: 20px; padding: 0 var(--gutter) 0 max(var(--gutter), calc((100vw - var(--max)) / 2)); width: max-content; }
.review { width: clamp(290px, 32vw, 420px); background: var(--surface); border-radius: var(--r-card); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.review:nth-child(even) { background: var(--surface-alt); }
.review__stars { color: var(--accent-2); letter-spacing: .2em; font-size: 14px; }
.review__text { font-family: var(--font-l); font-variation-settings: "wdth" 108; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.32; flex: 1; }
.review__name { font-size: 14px; font-weight: 600; margin-bottom: -18px; }
.review__meta { color: var(--soft); font-size: 13px; }
.reviews__scores { display: flex; gap: 48px; margin-top: 56px; }
.reviews__score { font-family: var(--font-l); font-variation-settings: "wdth" 112; font-size: 40px; line-height: 1.2; }
.reviews__scores p:not(.reviews__score) { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .reviews__rail { overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; padding-bottom: 8px; scrollbar-width: none; }
  .reviews__rail::-webkit-scrollbar { display: none; }
  .review { flex: none; width: 84vw; scroll-snap-align: center; }
}

/* =========================================================
   SECTION : NOUS TROUVER (.ba-find) + bloc Coordonnées
   ========================================================= */
.find__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.infos { margin: 40px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.infos dt { font: 600 12px/1.5 var(--font-s); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.infos dd { font-size: 17px; line-height: 1.4; }
.infos a, .big-address a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.infos a:hover, .big-address a:hover { background-size: 100% 1px; }
.ba-coords--grand .infos { margin: 48px 0 0; }
.big-address { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.find__media { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: end; }
.find__media > .card-img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
.find__media > .card-img:first-child img { height: 112%; object-position: 50% 30%; }
.find__media > .card-img:nth-child(2) { grid-column: 2; aspect-ratio: 3 / 4; margin-top: -40%; border: 6px solid var(--bg); border-radius: calc(var(--r-card) + 6px); }
@media (max-width: 860px) {
  .find__grid { grid-template-columns: 1fr; }
  .find__media > .card-img:nth-child(2) { margin-top: -25%; }
}
@media (max-width: 480px) { .infos { grid-template-columns: 1fr; } }

/* =========================================================
   SECTION : APPEL FINAL (.ba-final)
   ========================================================= */
.ba-final { padding: 0 var(--gutter) var(--gutter); }
.final__inner {
  max-width: var(--frame); margin: 0 auto;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-card);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.final__inner::before {
  content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; margin: -450px 0 0 -450px; z-index: -1;
  background: conic-gradient(from 90deg, color-mix(in srgb, var(--accent) 40%, transparent), color-mix(in srgb, var(--accent-2) 30%, transparent), color-mix(in srgb, var(--surface-alt) 22%, transparent), transparent 70%);
  filter: blur(90px); border-radius: 50%; opacity: .55;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.final__title { font-size: clamp(44px, 8.6vw, 120px); line-height: 1.04; max-width: 13ch; margin: 0 auto; }
.final__ctas { gap: 16px; justify-content: center; margin-top: 48px; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.footer { padding: 80px 0 32px; color: var(--muted); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 30ch; }
.logo--footer { justify-self: start; color: var(--ink); }
.footer__links li { border-bottom: 1px solid var(--line); }
.footer__links a, .footer__links span { display: block; line-height: 1.88; padding: 6px 0; }
.footer__links a:hover { color: var(--ink); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; font-size: 12px; color: var(--soft); }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   SECTIONS DES PAGES INTÉRIEURES
   ========================================================= */

/* Chiffres clés */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 32px 24px 0 0; border-right: 1px solid var(--line-soft); }
.fact + .fact { padding-left: 24px; }
.fact:last-child { border-right: 0; }
.fact__num { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 115; font-size: clamp(44px, 5.4vw, 72px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact__num.is-small { font-size: clamp(36px, 4vw, 54px); line-height: 1.33; }
.fact__label { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 22ch; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 12px 24px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .fact + .fact { padding-left: 0; }
}

/* Deux colonnes avec titre collant */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split__sticky { position: sticky; top: 120px; }
.split__sticky .lead { margin-top: 24px; }
.split__sticky > .card-img { aspect-ratio: 4 / 3; margin-top: 40px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__sticky { position: static; } }

/* Liste numérotée */
.rows { counter-reset: row; }
.row { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; padding: 26px 20px 26px 0; border-top: 1px solid var(--line); isolation: isolate; counter-increment: row; }
.row:last-child { border-bottom: 1px solid var(--line); }
.row::before { content: counter(row, decimal-leading-zero); grid-column: 1; grid-row: 1; font: 600 13px/1.9 var(--font-s); letter-spacing: .05em; color: var(--accent-2); }
.row:has(> .rows__num)::before { content: none; display: none; }
.row::after { content: ""; position: absolute; inset: 0 -20px; background: var(--surface-alt); border-radius: 20px; z-index: -1; transform: scaleY(0); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.row:hover::after { transform: scaleY(1); opacity: 1; }
.rows__num { grid-column: 1; grid-row: 1; font: 600 13px/1.9 var(--font-s); letter-spacing: .05em; color: var(--accent-2); }
.row > h3 { grid-column: 2; grid-row: 1; font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: clamp(21px, 2vw, 25px); line-height: 1.3; }
.row > p:not(.rows__num) { grid-column: 2; color: var(--muted); font-size: 15px; }
.rows--light .row { border-color: var(--line-dark); }
.rows--light .row::after { background: color-mix(in srgb, var(--on-dark) 6%, transparent); }
.rows--light .row > p:not(.rows__num) { color: var(--on-dark-2); }
.rows--light .row::before, .rows--light .rows__num { color: var(--accent); }

/* Cartes */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border-radius: var(--r-card); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; will-change: transform; position: relative; }
.card--mint, .card.is-style-mint { background: var(--surface-alt); }
.card--dark, .card.is-style-dark { background: var(--ink); color: var(--on-dark); }
.card--glass { background: color-mix(in srgb, var(--on-dark) 6%, transparent); color: var(--on-dark); }
.card--dark .eyebrow, .card--glass .eyebrow { color: var(--on-dark-3); margin: 0; }
.card--link { justify-content: space-between; }
.card--link .eyebrow { margin: 0; }
.card h3 { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; }
.card p { color: var(--muted); }
.card.card--dark p, .card.card--glass p, .card.is-style-dark p { color: var(--on-dark-2); }
.card > .badge { align-self: flex-start; }
.card--mint > .badge { background: var(--surface); }
.card--dark > .badge { background: var(--surface-alt); color: var(--ink); }
figure.card__icon { width: 52px; height: 52px; border-radius: var(--r-pill); background: var(--surface-alt); display: grid; place-items: center; flex: none; }
figure.card__icon img { width: 24px; height: 24px; }
.card--mint figure.card__icon { background: var(--surface); }
.card--dark figure.card__icon { background: var(--accent); }
.card__meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--soft) !important; }
.card--dark .card__meta { border-color: var(--line-dark); color: var(--on-dark-3) !important; }
.card .dash li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; margin-top: 8px; list-style: none; }
.card .dash { padding: 0; margin: 0; }
.card .dash li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: currentColor; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

/* Section sombre arrondie */
.dark { background: var(--dark); color: var(--on-dark); padding: var(--section) 0; border-radius: var(--r-card); margin: 0 var(--gutter); }
.dark .eyebrow { color: var(--on-dark-3); }
.dark .lead { color: var(--on-dark-2); }
.dark .section-head { max-width: 820px; margin: 0 auto 56px; text-align: center; }

/* Jauge */
.score { margin-top: 48px; }
.score__track { position: relative; height: 64px; border-radius: 20px; background: color-mix(in srgb, var(--on-dark) 8%, transparent); overflow: hidden; }
.score__fill { position: absolute; inset: 0; background: var(--accent); border-radius: 20px; transform-origin: 0 50%; }
.ba-js .score__fill { transform: scaleX(0); }
.score__mark { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink); font-weight: 600; font-size: 15px; z-index: 1; }
.score > .score__mark:not(.is-placed) { position: static; transform: none; display: inline-block; margin-bottom: 12px; color: inherit; }
.score__labels { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--on-dark-3); }
.score > .score__caption { font-size: 13px; color: var(--on-dark-3); margin-top: 12px; }

/* Encadré (valeur + texte) */
.notice { display: flex; gap: 20px; align-items: center; background: var(--surface); border-radius: 24px; padding: 24px 28px; }
.notice__value { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 118; font-size: clamp(36px, 4vw, 56px); line-height: 1; white-space: nowrap; flex: none; }
.notice > p:not(.notice__value) { color: var(--muted); }
@media (max-width: 480px) { .notice { flex-direction: column; align-items: flex-start; } }

/* FAQ (blocs « Détails ») */
.faq { border-top: 1px solid var(--line); }
.faq .wp-block-details { border-bottom: 1px solid var(--line); margin: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--font-l); font-variation-settings: "wdth" 110; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat, var(--surface);
  transition: background-color .4s var(--ease), transform .6s var(--ease);
}
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, var(--accent); transform: rotate(180deg); }
.faq__body { overflow: hidden; }
.faq details > p, .faq__body > p { color: var(--muted); padding: 0 64px 28px 0; max-width: 70ch; }
.faq__body > p + p, .faq details > p + p { margin-top: -14px; }

/* Adresse + carte */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-grid > .card { justify-content: space-between; gap: 0; }
.map-card { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--surface); min-height: 520px; }
.map-card > .wp-block-image { position: absolute; inset: 0; }
.map-card > .wp-block-image img { width: 100%; height: 115%; object-fit: cover; }
.map-card__cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 24px; background: color-mix(in srgb, var(--ink) 45%, transparent); color: var(--on-dark); }
.map-card__cover p { font-size: 13px; color: var(--on-dark-2); max-width: 34ch; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card.is-loaded .map-card__cover, .map-card.is-loaded > .wp-block-image { display: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map-card { min-height: 420px; } }

/* Formulaire */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font: 600 12px/1.5 var(--font-s); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }
.field input, .field select, .field textarea {
  font: 400 15px/1.4 var(--font-s); color: var(--ink);
  background: transparent; border: 1px solid color-mix(in srgb, var(--muted) 70%, var(--surface)); border-radius: var(--r-input);
  padding: 14px 16px; width: 100%; transition: border-color .3s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: color-mix(in srgb, var(--surface) 45%, transparent); }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--muted); }
.form__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 14px 18px; border-radius: var(--r-input); font-size: 15px; }
.form__status.is-ok { background: color-mix(in srgb, var(--accent) 30%, var(--surface)); }
.form__status.is-error { background: #fbe3df; color: #7a1d12; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* =========================================================
   PAGES DE TEXTE (mentions légales, articles)
   ========================================================= */
.ba-main--texte { padding: clamp(140px, 18vh, 190px) 0 var(--section); }
.ba-prose { max-width: calc(760px + var(--gutter) * 2); }
.ba-prose__title { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin-bottom: 40px; }
.ba-prose h2 { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin: 48px 0 16px; }
.ba-prose h3 { font-size: 19px; font-weight: 600; margin: 32px 0 10px; }
.ba-prose p, .ba-prose li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.ba-prose p + p { margin-top: 16px; }
.ba-prose ul, .ba-prose ol { padding-left: 22px; margin: 16px 0; }
.ba-prose a:not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }
.ba-prose .wp-block-buttons { margin-top: 32px; }
.ba-prose__image img { border-radius: var(--r-card); margin: 0 0 32px; }
.ba-posts .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.ba-posts .wp-block-post { padding: 28px 0; border-top: 1px solid var(--line); }
.ba-posts .wp-block-post-title { font-family: var(--font-l); font-weight: 400; font-variation-settings: "wdth" 112; font-size: 28px; margin: 6px 0 10px; }

/* Cadrage des photos */
.focus-haut img { object-position: 50% 25% !important; }
.focus-bas img { object-position: 50% 68% !important; }
.focus-gauche img { object-position: 30% 50% !important; }
.focus-droite img { object-position: 65% 50% !important; }
.score__conclusion { max-width: 60ch; margin-top: 48px !important; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .ba-js body.is-loading { overflow: auto; }
  .ba-js .ba-journey .step { opacity: 1; }
}
