/* ==========================================================================
   Le Moulin de Mac Gregor : feuille de style
   Charte de la cliente : crème, terracotta, brun foncé, Roboto Slab + DM Sans.
   Toutes les couleurs sont ici, dans :root. Nulle part ailleurs.
   ========================================================================== */

:root {
  --creme: #F5F1EA;
  --papier: #FBF8F3;
  --blanc: #FFFFFF;
  --ink: #2B2622;
  --ink-2: #4A3F35;
  --doux: #5A514A;
  --terra: #B4572B;
  --terra-f: #8E4120;
  --or: #7F6129;
  --sable: #EFE3D0;
  --sable-2: #F1E7D6;
  --ligne: #E4DBCD;
  --ligne-2: #CFC3B2;
  --miel: #E9C98F;
  --etoile: #C9962E;
  --gris: #D9D1C6;
  --gris-2: #B8AEA2;
  --ink-ligne: #4A423C;
  --header-bg: rgba(245, 241, 234, .92);
  --overlay: rgba(31, 27, 24, .94);
  --voile: rgba(43, 38, 34, .08);
  --ombre: 0 22px 48px rgba(43, 38, 34, .16);
  --ombre-s: 0 10px 28px rgba(43, 38, 34, .09);
  --ombre-header: 0 6px 24px rgba(43, 38, 34, .07);
  --ombre-logo: drop-shadow(0 18px 30px rgba(43, 38, 34, .10));
  --contour: rgba(233, 201, 143, .38);
  --terra-voile: rgba(180, 87, 43, .14);

  /* Repères communs aux extensions Youvanna (assistant, pop-up). */
  --color-primary: var(--terra);
  --color-primary-dark: var(--terra-f);
  --color-accent: var(--terra);
  --color-secondary: var(--ink);
  --font-heading: 'Roboto Slab', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --hover-grad: linear-gradient(135deg, var(--terra) 0%, var(--terra-f) 55%, var(--ink) 100%);
  --container: 1240px;
  --gutter: 24px;
  --section: 104px;
  --radius: 22px;
  --radius-l: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  overflow-x: clip;
  max-width: 100vw;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--terra); text-underline-offset: 3px; }
a:hover { color: var(--terra-f); }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.01em; }
h3 { font-size: 22px; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--miel); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--miel); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--papier); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--doux); }

.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--or);
}
.lead { font-size: 19px; line-height: 1.6; color: var(--doux); max-width: 600px; }
.motto { margin-top: 18px; font-family: var(--font-heading); font-size: 21px; font-weight: 500; color: var(--terra-f); }

.section { padding: var(--section) 0; position: relative; }
.section--paper { background: var(--papier); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.section--sable { background: var(--sable); }
.section--tight-top { padding-top: 8px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 + .section-head__text, .section-head__text { margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--doux); }
.section--sable .section-head__text { color: var(--ink-2); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.section-head--split > div:first-child { max-width: 660px; }
.section-head__aside { max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--doux); }

.prose { font-size: 17px; line-height: 1.7; color: var(--doux); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose strong { color: var(--ink); }
.prose--dark { color: var(--ink-2); }
.prose--page { max-width: 780px; }
.prose--page h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.prose--page h3 { margin: 1.4em 0 .4em; }
.prose--page ul { padding-left: 1.2em; }

.grid-auto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-auto--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-auto--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Boutons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-row--center { justify-content: center; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .25s, border-color .25s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--hover-grad);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.btn .ic { width: 19px; height: 19px; flex: none; }
.btn:hover, .btn:focus-visible { color: var(--blanc); border-color: transparent; transform: translateY(-2px); box-shadow: var(--ombre-s); }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
/* L'aperçu du Studio arrondit à 3 px tout [data-yve-field] : on garde la forme des pastilles. */
.btn[data-yve-field], .badge[data-yve-field] { border-radius: 999px; }
.btn--terra { background: var(--terra); color: var(--blanc); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--dark { background: var(--ink); color: var(--papier); }
.btn--miel { background: var(--miel); color: var(--ink); }
.btn--dl:hover .ic-download { animation: dl .9s var(--ease) infinite; }
@keyframes dl { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--terra-f);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size .4s var(--ease), color .2s;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .ic-arrow { transform: translateX(4px); }
.link-arrow--back:hover .ic { transform: translateX(-4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ligne);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--ombre-header); }
.site-header.is-hidden { transform: translateY(-101%); }
.header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__logo { width: 60px; height: auto; transition: transform .6s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.brand__name { font-family: var(--font-heading); font-weight: 700; font-size: 19px; color: var(--terra); line-height: 1.15; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__list a {
  display: block;
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.nav__list a:hover { background: var(--sable-2); color: var(--ink); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list .current-page-ancestor > a { background: var(--sable); font-weight: 700; }
.header__cta { min-height: 46px; padding: 11px 20px; font-size: 15px; margin-left: 6px; }

.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ligne-2); border-radius: 50%; background: transparent; cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--creme);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
.menu-mobile.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.menu-mobile__inner { display: flex; flex-direction: column; min-height: 100%; gap: 28px; }
.menu-mobile__list { list-style: none; margin: 0; padding: 0; }
.menu-mobile__list li { border-bottom: 1px solid var(--ligne); opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.menu-mobile.is-open .menu-mobile__list li { opacity: 1; transform: none; }
.menu-mobile.is-open .menu-mobile__list li:nth-child(2) { transition-delay: .05s; }
.menu-mobile.is-open .menu-mobile__list li:nth-child(3) { transition-delay: .1s; }
.menu-mobile.is-open .menu-mobile__list li:nth-child(4) { transition-delay: .15s; }
.menu-mobile.is-open .menu-mobile__list li:nth-child(5) { transition-delay: .2s; }
.menu-mobile.is-open .menu-mobile__list li:nth-child(6) { transition-delay: .25s; }
.menu-mobile.is-open .menu-mobile__list li:nth-child(7) { transition-delay: .3s; }
.menu-mobile__list a { display: block; padding: 16px 2px; font-family: var(--font-heading); font-size: 26px; font-weight: 600; color: var(--ink); text-decoration: none; }
.menu-mobile__list .current-menu-item > a { color: var(--terra); }
.menu-mobile__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.menu-mobile__tel { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.menu-mobile__tel .ic { width: 20px; height: 20px; color: var(--terra); }
body.menu-open { overflow: hidden; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .rise { opacity: 0; transform: translateY(18px); }
.js.is-ready .rise { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 260ms); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w__i { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + 80ms); }
.is-ready .is-split .w__i { transform: none; }

/* ---------- Défilements ---------- */
.marquee { overflow: hidden; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee.is-paused .marquee__track, .marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.band-marquee { background: var(--terra); color: var(--blanc); padding: 18px 0; }
.band-marquee__item { font-family: var(--font-heading); font-size: 21px; font-weight: 500; white-space: nowrap; padding: 0 26px; }
.band-marquee__sep { color: var(--miel); font-size: 15px; }

/* ---------- Accueil : haut de page ---------- */
.hero-home { padding: 64px 0 88px; position: relative; }
.hero-home__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero-home__title { font-size: clamp(36px, 4.1vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -.018em; }
.hero-home__text .lead { margin-top: 24px; }
.medallion { position: relative; width: min(470px, 100%); aspect-ratio: 1; margin: 0 auto; }
.medallion__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 48s linear infinite; }
.medallion__ring text { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; letter-spacing: .22em; fill: var(--or); }
.medallion__logo { position: absolute; left: 50%; top: 50%; width: 80%; height: auto; transform: translate(-50%, -50%); animation: bob 7s ease-in-out infinite; filter: var(--ombre-logo); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -53%); } }

/* ---------- Palmarès ---------- */
.palmares { background: var(--ink); color: var(--papier); }
.palmares__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 60px; padding-bottom: 60px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 6px 28px; border-left: 1px solid var(--ink-ligne); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { font-family: var(--font-heading); font-size: clamp(44px, 4.4vw, 58px); font-weight: 700; line-height: 1; color: var(--miel); font-variant-numeric: tabular-nums; }
.stat__label { font-size: 15px; line-height: 1.5; color: var(--gris); max-width: 240px; }

/* ---------- Onglets ---------- */
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ligne-2);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: color .35s var(--ease), border-color .35s, background-color .35s;
}
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--papier); }
.tabs.has-ink .tab.is-active { background: transparent; }
.tabs__ink { position: absolute; z-index: 0; left: 0; top: 0; height: 48px; width: 0; border-radius: 999px; background: var(--ink); opacity: 0; transition: transform .5s var(--ease-out), width .5s var(--ease-out), height .5s var(--ease-out), opacity .3s; pointer-events: none; }
.tabs.has-ink .tabs__ink { opacity: 1; }
.tab__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--sable); color: var(--ink); font-size: 12px; }
.tab.is-active .tab__count { background: var(--terra); color: var(--blanc); }

/* ---------- Races ---------- */
.race-panels { display: grid; }
.race-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  background: var(--papier);
  border: 1px solid var(--ligne);
  border-radius: var(--radius-l);
  padding: 36px;
}
.js .race-panel { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .55s var(--ease), transform .7s var(--ease-out), visibility 0s .55s; }
.js .race-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .05s, transform .8s var(--ease-out) .05s; }
.no-js .race-panel + .race-panel, html:not(.js) .race-panel + .race-panel { margin-top: 20px; grid-area: auto; }
.race-panel__media { border-radius: 20px; overflow: hidden; height: 100%; min-height: 400px; }
.race-panel__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.race-panel.is-active .race-panel__media img { transform: none; }
.race-panel__count { font-size: 14px; font-weight: 700; color: var(--terra-f); }
.race-panel__name { font-size: clamp(26px, 2.6vw, 34px); margin-top: 8px; }
.race-panel__text { margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--doux); }
.awards { margin-top: 22px; background: var(--sable-2); border-radius: 18px; padding: 20px 22px; }
.awards__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.awards__list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.awards__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.js .awards__list li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms + 250ms); }
.js .race-panel.is-active .awards__list li { opacity: 1; transform: none; }
.awards__list .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--terra); }
.awards__more { margin-top: 12px; font-size: 14px; color: var(--doux); }
.races__foot, .reviews__foot { margin-top: 28px; }

/* ---------- Espaces ---------- */
.spaces__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.space-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.space-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--sable); margin-bottom: 6px; }
.space-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.space-card__title { font-family: var(--font-heading); font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.space-card__text { font-size: 15px; line-height: 1.55; color: var(--doux); }
.space-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--terra-f); }
.space-card__cta .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
a.card-clickable { transition: transform .45s var(--ease-out); }
a.space-card:hover .space-card__media img { transform: scale(1.06); }
a.space-card:hover .space-card__cta .ic { transform: translateX(4px); }

.zoomable { position: relative; cursor: zoom-in; }
.zoomable__icon { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--papier); color: var(--ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-out); }
.zoomable__icon .ic { width: 18px; height: 18px; }
.zoomable:hover .zoomable__icon, .zoomable:focus-visible .zoomable__icon { opacity: 1; transform: none; }
.zoomable:hover img { transform: scale(1.04); }
.zoomable img { transition: transform .9s var(--ease-out); }

/* ---------- L'éleveuse (accueil) ---------- */
.ruth__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.ruth__media { position: relative; max-width: 470px; }
.ruth__frame { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 3 / 4; }
.ruth__frame img, .next__frame img, .story__sticky img { width: 100%; height: 100%; object-fit: cover; }
.ruth__stamp { position: absolute; right: -22px; bottom: 36px; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; background: var(--miel); color: var(--ink); box-shadow: var(--ombre-s); animation: sway 6s ease-in-out infinite; }
.ruth__stamp .ic { width: 38px; height: 38px; }
@keyframes sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.ruth__body h2 { margin-bottom: 22px; }
.ruth__body .link-arrow { margin-top: 22px; }
[data-parallax] { will-change: transform; }

/* ---------- Photos défilantes ---------- */
.strip { padding: 0 0 var(--section); }
.strip__head { margin-bottom: 36px; }
.strip__rail { padding: 10px 0 18px; }
.strip__item { display: block; flex: none; height: 300px; margin-right: 18px; border-radius: 20px; overflow: hidden; background: var(--sable); transition: transform .5s var(--ease-out), box-shadow .5s; }
.strip__item:nth-child(odd) { transform: rotate(-1.2deg); }
.strip__item:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.strip__item img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.strip__item:hover { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: var(--ombre); }

/* ---------- Étapes ---------- */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; z-index: 1; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps__line { position: absolute; left: 48px; right: 48px; top: 47px; height: 2px; background: var(--voile); border-radius: 2px; z-index: 0; }
.steps__fill { position: absolute; inset: 0; background: var(--terra); transform-origin: left center; transform: scaleX(var(--p, 0)); border-radius: 2px; }
.steps__item { display: flex; }
.step { display: flex; flex-direction: column; gap: 12px; width: 100%; background: var(--papier); border-radius: var(--radius); padding: 28px; color: inherit; text-decoration: none; }
.step--bordered { border: 1px solid var(--ligne); }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--terra); color: var(--blanc); font-family: var(--font-heading); font-size: 16px; font-weight: 700; box-shadow: 0 0 0 6px var(--papier); transition: transform .5s var(--ease-out); }
.step__num--dot { width: 18px; height: 18px; margin: 11px; box-shadow: 0 0 0 8px var(--terra-voile); }
.step__title { font-family: var(--font-heading); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.step__text { font-size: 15px; line-height: 1.55; color: var(--doux); }
.step__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--terra-f); }
.step__cta .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
a.step { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
a.step:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
a.step:hover .step__num { transform: scale(1.1) rotate(-6deg); }
a.step:hover .step__cta .ic { transform: translateX(4px); }

.call-band { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--papier); border-radius: var(--radius); padding: 28px 32px; }
.call-band__title { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.call-band__text { margin-top: 6px; font-size: 15px; color: var(--gris); }
.call-band__btn { font-size: 17px; }
.call-band__ring { display: grid; place-items: center; animation: ring 2.6s ease-in-out infinite; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-16deg); } 80% { transform: rotate(14deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(6deg); } }

/* ---------- Avis ---------- */
.scores { display: flex; flex-wrap: wrap; gap: 12px; }
.score { display: flex; flex-direction: column; gap: 4px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 18px; padding: 16px 22px; min-width: 170px; }
.score__value { font-family: var(--font-heading); font-size: 32px; font-weight: 700; line-height: 1.1; }
.score__value small { font-size: 18px; color: var(--doux); font-weight: 500; }
.score__label { font-size: 14px; color: var(--doux); }
.review { margin: 0; display: flex; flex-direction: column; gap: 16px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 30px; }
.review__stars { display: flex; gap: 3px; }
.star { width: 19px; height: 19px; fill: var(--etoile); }
.js .review .star { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.js .review.is-in .star { transform: none; }
.review.is-in .star:nth-child(2) { transition-delay: .08s; }
.review.is-in .star:nth-child(3) { transition-delay: .16s; }
.review.is-in .star:nth-child(4) { transition-delay: .24s; }
.review.is-in .star:nth-child(5) { transition-delay: .32s; }
.review__text { margin: 0; font-family: var(--font-heading); font-size: 19px; font-weight: 500; line-height: 1.5; }
.review__by { margin-top: auto; font-size: 14px; color: var(--doux); }
.review__by strong { color: var(--ink); }

/* ---------- Actualités ---------- */
.post-card { display: flex; flex-direction: column; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sable); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.post-card__date { font-size: 13px; font-weight: 700; color: var(--or); }
.post-card__title { font-family: var(--font-heading); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.post-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--doux); }
.post-card__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--terra-f); }
.post-card__cta .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
a.post-card:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
a.post-card:hover img { transform: scale(1.05); }
a.post-card:hover .post-card__cta .ic { transform: translateX(4px); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ligne-2); color: var(--ink); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--ink); color: var(--papier); border-color: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--papier); margin-top: 0; }
.footer-marquee { padding: 34px 0 6px; border-bottom: 1px solid var(--ink-ligne); }
.footer-marquee__item { font-family: var(--font-heading); font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--contour); padding: 0 28px; }
.footer-marquee__sep { width: 34px; height: 34px; color: var(--terra); flex: none; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand--visit { display: block; }
.footer__visit-title { color: var(--papier); font-size: clamp(28px, 2.8vw, 36px); line-height: 1.15; }
.footer__visit-text { margin-top: 14px; color: var(--gris); font-size: 16px; line-height: 1.6; max-width: 420px; }
.footer__logo { flex: none; width: 92px; height: 92px; border-radius: 50%; background: var(--creme); display: grid; place-items: center; }
.footer__logo img { width: 68px; height: auto; }
.footer__name { font-family: var(--font-heading); font-size: 22px; font-weight: 700; }
.footer__tagline { margin-top: 6px; font-size: 15px; color: var(--gris); }
.footer__col { font-size: 15px; line-height: 1.6; }
.footer__label { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--miel); }
.footer__muted { margin-top: 8px; color: var(--gris); }
.footer__list, .footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--papier); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.site-footer a:hover { color: var(--miel); background-size: 100% 1px; }
.footer__fb { display: inline-flex; gap: 8px; align-items: center; color: var(--miel) !important; }
.footer__fb .ic { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--ink-ligne); font-size: 14px; color: var(--gris-2); }
.footer__bottom-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__bottom-links a { color: var(--gris-2); }

/* ---------- Pages : haut de page ---------- */
.page-hero { padding: 72px 0 64px; }
.page-hero--compact { padding-bottom: 40px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.page-hero__grid--media { align-items: center; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); }
.page-hero__text { max-width: 760px; }
.page-hero__text--wide { max-width: 880px; }
.page-hero__text .lead { margin-top: 22px; max-width: 720px; }
.page-hero .tabs { margin-top: 30px; margin-bottom: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; background: var(--papier); border: 1px solid var(--ligne); border-radius: 18px; padding: 22px 20px; }
.tile__value { font-family: var(--font-heading); font-size: 38px; font-weight: 700; line-height: 1; color: var(--terra); font-variant-numeric: tabular-nums; }
.tile__label { font-size: 14px; color: var(--doux); }
.page-hero__media { display: flex; justify-content: center; }
.float-frame { width: min(440px, 100%); aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--ombre); animation: float 8s ease-in-out infinite; }
.float-frame img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

/* ---------- L'élevage ---------- */
.postcard { padding: 8px var(--gutter) 96px; }
.postcard__figure { margin: 0 auto; max-width: 660px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.postcard__paper { display: block; background: var(--blanc); padding: 14px 14px 18px; border-radius: 6px; box-shadow: var(--ombre); transform: rotate(var(--tilt, -3deg)) scale(var(--tscale, .97)); transition: transform .2s linear; }
.postcard__paper img { width: 100%; filter: sepia(.15) contrast(1.02); }
.postcard__figure figcaption { font-family: var(--font-heading); font-size: 16px; color: var(--doux); text-align: center; }

.parks__head { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.parks__head > div:first-child { flex: 1 1 520px; max-width: 700px; }
.highlight { flex: 0 1 330px; display: flex; flex-direction: column; gap: 8px; background: var(--sable); border-radius: var(--radius); padding: 26px 28px; }
.highlight__value { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--terra); line-height: 1.1; }
.highlight__text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.parks__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.parks__photo { display: block; height: 360px; border-radius: 20px; overflow: hidden; background: var(--sable); }
.parks__photo:nth-child(2) { margin-top: 40px; }
.parks__frame { display: block; height: 118%; margin-top: -9%; }
.parks__frame img { width: 100%; height: 100%; object-fit: cover; }

.story__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.story__sticky { position: sticky; top: calc(var(--header-h) + 28px); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 3 / 4; max-width: 460px; }
.story__body h2 { margin-bottom: 22px; }
.timeline { list-style: none; margin: 36px 0 0; padding: 4px 0 0 0; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 5px; top: 8px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--ligne); }
.timeline::after { background: var(--terra); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 0 0 24px 34px; }
.timeline__dot { position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--creme); border: 2px solid var(--ligne-2); z-index: 1; transition: background-color .4s, border-color .4s, box-shadow .4s, transform .5s var(--ease-out); }
.timeline__item.is-on .timeline__dot { background: var(--terra); border-color: var(--terra); box-shadow: 0 0 0 6px var(--terra-voile); transform: scale(1.15); }
.timeline__year { font-family: var(--font-heading); font-weight: 700; color: var(--terra-f); font-size: 18px; line-height: 1.3; }
.timeline__text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.js .timeline__item { opacity: .35; transition: opacity .5s; }
.js .timeline__item.is-on { opacity: 1; }

.next__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: center; }
.next__body h2 { margin-bottom: 22px; }
.next__body .btn { margin-top: 28px; }
.next__media { display: flex; justify-content: center; }
.next__frame { width: min(400px, 100%); aspect-ratio: 1179 / 1934; max-height: 640px; border-radius: var(--radius-l); overflow: hidden; }

/* ---------- Galerie ---------- */
.gallery-section { padding: 16px 0 var(--section); }
.gallery { columns: 3 300px; column-gap: 20px; }
.g-item { break-inside: avoid; margin: 0 0 20px; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--radius); overflow: hidden; display: inline-block; width: 100%; }
.g-item__media { display: block; overflow: hidden; background: var(--sable); }
.g-item__media img { width: 100%; height: auto; }
.g-item__cap { display: flex; flex-direction: column; gap: 4px; padding: 15px 20px 17px; }
.g-item__title { font-family: var(--font-heading); font-size: 17px; font-weight: 600; line-height: 1.3; }
.g-item__breed { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--or); }
.g-item.is-hidden { display: none; }
.g-item.is-pop { animation: pop .6s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 35ms); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.cta-band { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--sable); border-radius: var(--radius); padding: 28px 32px; }
.cta-band__title { font-family: var(--font-heading); font-size: 23px; font-weight: 600; }

/* ---------- Adopter un chiot ---------- */
.prices__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.prices__main h2 { margin-bottom: 26px; }
.price-table { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 20px; overflow: hidden; }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 22px 26px; border-bottom: 1px solid var(--ligne); transition: background-color .3s; }
.price-row:last-child { border-bottom: 0; }
.price-row__breed { font-family: var(--font-heading); font-size: 20px; font-weight: 600; }
.price-row__price { font-size: 17px; font-weight: 700; color: var(--terra-f); }
.prices__note { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--doux); }
.included { background: var(--ink); color: var(--papier); border-radius: 24px; padding: 36px; position: sticky; top: calc(var(--header-h) + 24px); }
.included__title { color: var(--miel); font-size: 24px; margin-bottom: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ic { width: 21px; height: 21px; flex: none; color: var(--miel); stroke-width: 2.6; margin-top: 2px; }
.checklist--terra .ic { color: var(--terra); }
.js [data-checks] .ic-check path { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .6s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms + 250ms); }
.js [data-checks].is-in .ic-check path { stroke-dashoffset: 0; }
.checklist li > .ic { transition-delay: inherit; }
.included__note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--ink-ligne); font-size: 15px; color: var(--gris); }
.births__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.births__body h2 { margin-bottom: 18px; }
.births__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.births__photo { display: block; height: 340px; border-radius: 20px; overflow: hidden; background: var(--sable); }
.births__photo:nth-child(2) { margin-top: 48px; }
.births__frame { display: block; height: 116%; margin-top: -8%; }
.births__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Le jour J ---------- */
.cert { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: space-between; background: var(--sable); border-radius: var(--radius-l); padding: 38px 42px; }
.cert__body { flex: 1 1 520px; }
.cert__title { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 12px; }
.depart { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.depart__card { display: flex; flex-direction: column; gap: 12px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 30px; font-size: 15px; line-height: 1.55; color: var(--doux); }
.depart__card--dark { background: var(--ink); border-color: var(--ink); color: var(--gris); }
.depart__card--dark .depart__title { color: var(--miel); }
.depart__age { font-family: var(--font-heading); font-size: clamp(30px, 3vw, 36px); font-weight: 700; line-height: 1.1; color: var(--terra); }
.depart__title { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--ink); }
.depart .checklist { font-size: 15px; gap: 9px; color: var(--ink-2); }
.depart .checklist .ic { width: 18px; height: 18px; }
.steps-wrap--meals .steps__line { top: 50px; }
.meal { display: flex; flex-direction: column; gap: 10px; width: 100%; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 28px; }
.meal__age { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--or); }
.meal__times { font-family: var(--font-heading); font-size: 30px; font-weight: 700; color: var(--terra); line-height: 1.1; }
.meal__food { font-size: 15px; line-height: 1.55; color: var(--doux); }
.care__card { display: flex; flex-direction: column; gap: 12px; background: var(--papier); border-radius: var(--radius); padding: 30px; }
.care__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.care__card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blanc); background: var(--terra); padding: 6px 12px; border-radius: 999px; }
.care__more { margin-top: 28px; font-size: 15px; }
.final { text-align: center; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final__heart { color: var(--terra); }
.final__heart .ic { width: 46px; height: 46px; animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(.96); } 45% { transform: scale(1.1); } }
.final__text { font-family: var(--font-heading); font-size: clamp(27px, 3.3vw, 40px); font-weight: 700; line-height: 1.25; max-width: 840px; text-wrap: balance; }

/* ---------- La pension ---------- */
.soon { padding: 96px 0 120px; text-align: center; }
.soon__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.soon__inner .kicker { margin: 0; }
.soon__inner h1 { max-width: 860px; }
.soon__logo img { width: 170px; height: 170px; object-fit: contain; animation: bobs 6s ease-in-out infinite; }
@keyframes bobs { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.soon__status { display: inline-flex; align-items: center; gap: 12px; background: var(--sable); border-radius: 999px; padding: 14px 24px; font-size: 18px; font-weight: 700; color: var(--ink-2); }
.soon__status .ic { width: 22px; height: 22px; color: var(--terra); }
.soon__dots { display: inline-flex; gap: 4px; }
.soon__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--terra); animation: dots 1.4s ease-in-out infinite; }
.soon__dots i:nth-child(2) { animation-delay: .2s; }
.soon__dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

/* ---------- Contact ---------- */
.contact { padding: 72px 0 88px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.contact__info .lead { margin-top: 22px; }
.contact__cards { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.c-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--papier); border: 1px solid var(--ligne); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s; }
.c-card:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--terra); box-shadow: var(--ombre-s); }
.c-card__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--sable); color: var(--terra); }
.c-card__icon .ic { width: 19px; height: 19px; }
.c-card__body { display: flex; flex-direction: column; gap: 3px; }
.c-card__value { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.c-card__meta { font-size: 14px; color: var(--gris); }
.c-card--main { background: var(--ink); border-color: var(--ink); color: var(--papier); }
.c-card--main:hover { color: var(--papier); border-color: var(--miel); }
.c-card--main .c-card__icon { background: var(--ink-ligne); color: var(--miel); }
.c-card--main .c-card__value { font-size: 20px; font-weight: 700; }
.contact__address { margin-top: 26px; font-size: 17px; line-height: 1.55; }
.contact__address .kicker { margin-bottom: 6px; }
.contact__form { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--radius-l); padding: 38px; box-shadow: var(--ombre-s); }
.contact__form-title { font-size: 28px; margin-bottom: 22px; }
.mm-form { display: flex; flex-direction: column; gap: 18px; }
.mm-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mm-form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 700; }
.mm-form .wpcf7-form-control-wrap { display: block; }
.mm-form input[type="text"], .mm-form input[type="email"], .mm-form input[type="tel"], .mm-form select, .mm-form textarea {
  width: 100%;
  font: 400 16px var(--font-body);
  color: var(--ink);
  padding: 13px 14px;
  border: 1px solid var(--ligne-2);
  border-radius: 12px;
  background: var(--blanc);
  transition: border-color .25s, box-shadow .25s;
}
.mm-form textarea { min-height: 140px; resize: vertical; }
.mm-form input:focus, .mm-form select:focus, .mm-form textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px var(--terra-voile); }
.mm-form input[type="submit"], .mm-form .wpcf7-submit {
  align-self: flex-start;
  font: 700 16px var(--font-body);
  background: var(--terra);
  color: var(--blanc);
  border: 0;
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  transition: background .3s, transform .35s var(--ease);
}
.mm-form .wpcf7-submit:hover { background: var(--hover-grad); transform: translateY(-2px); }
.wpcf7-not-valid-tip { font-size: 13px; font-weight: 500; color: var(--terra-f); margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 15px; border: 1px solid var(--ligne-2); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--terra); background: var(--sable-2); }
.wpcf7-spinner { margin: 0 0 0 12px; }
.map-section { padding: 0 0 var(--section); }
.map { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--ligne); background: var(--sable); }
.map iframe { width: 100%; height: 400px; border: 0; }

/* ---------- Actualité seule ---------- */
.article { padding: 64px 0 var(--section); }
.article__head { max-width: 900px; text-align: center; }
.article__head .kicker { margin-bottom: 16px; }
.article__media { margin: 40px auto 0; max-width: 1000px; }
.article__media img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius-l); }
.article__body { margin: 44px auto 0; }
.article__back { max-width: 780px; margin: 36px auto 0; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100005; display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; background: var(--overlay); padding: 24px; opacity: 0; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; border-radius: 14px; object-fit: contain; transition: opacity .3s, transform .4s var(--ease-out); }
.lightbox__img.is-loading { opacity: 0; transform: scale(.98); }
.lightbox__caption { display: flex; gap: 16px; align-items: baseline; color: var(--papier); font-size: 15px; text-align: center; }
.lightbox__text { font-family: var(--font-heading); font-size: 18px; }
.lightbox__count { color: var(--gris-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.lightbox button { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink-ligne); background: var(--ink); color: var(--papier); cursor: pointer; transition: background-color .25s, transform .3s; }
.lightbox button:hover { background: var(--terra); transform: scale(1.06); }
.lightbox button .ic { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__prev { justify-self: start; }
.lightbox__next { justify-self: end; }
body.lb-open { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 1100px) {
  :root { --section: 88px; }
  .steps--5 { display: flex; flex-wrap: wrap; justify-content: center; }
  .steps--5 .steps__item { flex: 0 1 calc((100% - 40px) / 3); }
  .steps-wrap:has(.steps--5) .steps__line { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero-home__grid, .ruth__grid, .story__grid, .next__grid, .prices__grid, .births__grid, .contact__grid, .page-hero__grid, .page-hero__grid--media { grid-template-columns: minmax(0, 1fr); }
  .hero-home__visual { order: -1; }
  .medallion { width: min(340px, 78vw); }
  .palmares__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .race-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px; }
  .race-panel__media { min-height: 0; height: 320px; }
  .spaces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-wrap .steps__line { display: none; }
  .grid-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-auto > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid-auto--4 > :last-child:nth-child(odd) { grid-column: auto; }
  .depart { grid-template-columns: minmax(0, 1fr); }
  .ruth__media { margin: 0 auto; }
  .story__sticky { position: relative; top: 0; margin: 0 auto; }
  .next__media { order: -1; }
  .included { position: relative; top: 0; }
  .page-hero__media { order: -1; }
  .float-frame { width: min(360px, 88%); }
}
@media (max-width: 700px) {
  :root { --section: 68px; --gutter: 20px; --header-h: 68px; }
  body { font-size: 16px; }
  h2 { font-size: clamp(27px, 7.4vw, 32px); }
  .hero-home { padding: 32px 0 64px; }
  .hero-home__title { font-size: clamp(33px, 9vw, 42px); }
  .lead { font-size: 17px; }
  .brand__logo { width: 50px; }
  .brand__name { font-size: 17px; }
  .band-marquee__item { font-size: 18px; padding: 0 18px; }
  .palmares__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 44px; padding-bottom: 44px; gap: 28px 18px; }
  .stat { border-left: 0; padding: 0; }
  .stat__value { font-size: 42px; }
  .stat__label { font-size: 14px; }
  .race-panel__media { height: 260px; }
  .tab { padding: 12px 16px; font-size: 14px; min-height: 44px; }
  .tabs__ink { height: 44px; }
  .spaces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .space-card__media { border-radius: 14px; }
  .space-card__title { font-size: 18px; }
  .space-card__text { font-size: 14px; }
  .space-card__cta { font-size: 13px; }
  .steps, .steps--3, .steps--5 { display: grid; grid-template-columns: minmax(0, 1fr); }
  .steps--5 .steps__item { flex: none; }
  .grid-auto, .grid-auto--4, .grid-auto--2 { grid-template-columns: minmax(0, 1fr); }
  .grid-auto > :last-child:nth-child(odd) { grid-column: auto; }
  .strip__item { height: 220px; }
  .call-band, .cta-band, .cert { padding: 24px; }
  .tiles { gap: 8px; }
  .tile { padding: 16px 14px; }
  .tile__value { font-size: 30px; }
  .parks__photos { grid-template-columns: minmax(0, 1fr); }
  .parks__photo { height: 260px; }
  .parks__photo:nth-child(2) { margin-top: 0; }
  .births__photo { height: 230px; }
  .births__photo:nth-child(2) { margin-top: 28px; }
  .timeline__item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; }
  .footer-marquee__sep { width: 24px; height: 24px; }
  .contact__form { padding: 24px; }
  .mm-form__row { grid-template-columns: minmax(0, 1fr); }
  .map iframe { height: 300px; }
  .ruth__stamp { right: 8px; width: 70px; height: 70px; }
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 64px 12px 90px; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 22px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .postcard { padding-bottom: 64px; }
  .soon { padding: 64px 0 88px; }
  .soon__logo img { width: 130px; height: 130px; }
  .soon__status { font-size: 16px; padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .rise, .w__i { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .marquee { overflow-x: auto; }
}
