/* =========================================================
   Eve Lescieux — Kinésiologue
   Palette issue du logo (arbre de vie) et des visuels du site.
   Les variables :root sont surchargées par la page « Apparence »
   de l'administration (voir inc/appearance.php).
   ========================================================= */

:root {
  --teal-900: #1d4a42;
  --teal-700: #2f6f63;
  --teal-500: #4a9184;
  --teal-300: #9cc4b9;
  --teal-100: #dfece7;

  --sand-50: #fdfaf5;
  --sand-100: #f7f1e6;
  --sand-200: #efe4d4;
  --sand-300: #e2d2bd;

  --clay-500: #c98a6b;
  --clay-600: #b06f50;

  --ink-900: #2a2622;
  --ink-700: #4a423a;
  --ink-500: #7a6f64;

  --white: #ffffff;

  --font-title: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(42, 38, 34, 0.06);
  --shadow: 0 12px 40px rgba(42, 38, 34, 0.09);
  --shadow-lg: 0 24px 70px rgba(29, 74, 66, 0.16);

  --container: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  color: var(--teal-900);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
a:hover {
  color: var(--clay-600);
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Mise en page ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: clamp(72px, 10vw, 130px);
}

.section--sand {
  background: var(--sand-100);
}

.section--teal {
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  color: var(--teal-100);
}
.section--teal h2,
.section--teal h3 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-600);
  margin-bottom: 14px;
}
.section--teal .eyebrow {
  color: var(--teal-300);
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-500);
}
.section--teal .lead {
  color: var(--teal-100);
}

.grid {
  display: grid;
  gap: 32px;
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal-700);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(47, 111, 99, 0.28);
}
.btn--primary:hover {
  background: var(--teal-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(47, 111, 99, 0.34);
}

.btn--outline {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal-300);
}
.btn--outline:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--teal-900);
}
.btn--light:hover {
  background: var(--sand-200);
  color: var(--teal-900);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Cartes ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-200);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.06);
}

.card__body {
  padding: 30px 30px 34px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__body p {
  color: var(--ink-500);
  font-size: 0.97rem;
}
.card__link {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Formulaires ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(74, 145, 132, 0.16);
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: #c0563f;
}

.field__error {
  font-size: 0.85rem;
  color: #b0472f;
}

.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 22px;
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.alert--success {
  background: var(--teal-100);
  color: var(--teal-900);
  border-left: 4px solid var(--teal-500);
}
.alert--error {
  background: #fbeae5;
  color: #8f3a24;
  border-left: 4px solid #c0563f;
}

/* ---------- Utilitaires ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--teal-900);
  color: var(--white);
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  color: var(--white);
}

.text-center {
  text-align: center;
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.stack-actions--center {
  justify-content: center;
}

/* ---------- Animation d'apparition ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   En-tête
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 245, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}
.header.is-scrolled {
  background: rgba(253, 250, 245, 0.96);
  border-bottom-color: var(--sand-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-900);
}
.brand__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__text strong {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
}
.brand__text small {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay-600);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  position: relative;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-700);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--clay-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover {
  color: var(--teal-900);
}
.nav a:hover::after,
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
  transform: scaleX(1);
}
.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: var(--teal-900);
}

/* Le panier se distingue des pages : petite pastille en fin de menu. */
.nav .menu-item--cart {
  margin-left: 6px;
}
.nav .menu-item--cart > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--sand-300);
  background: var(--white);
  color: var(--teal-900);
}
.nav .menu-item--cart > a:hover {
  border-color: var(--teal-700);
}
.nav .menu-item--cart > a::after {
  display: none;
}

.nav__cta {
  padding: 12px 24px;
  font-size: 0.76rem;
}
.nav__cta::after {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--sand-300);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.burger__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--teal-900);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.is-open .burger__bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}
.is-open .burger__bar:nth-child(3) {
  opacity: 0;
}
.is-open .burger__bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1120px) {
  .burger {
    display: flex;
    order: 3;
  }
  .nav {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .header.is-open .nav {
    max-height: 620px;
    padding-block: 12px 26px;
  }
  .header__inner {
    flex-wrap: wrap;
    padding-block: 14px;
  }
  .nav a {
    display: block;
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--sand-200);
  }
  .nav a::after {
    display: none;
  }
  .nav .menu-item--cart {
    margin-left: 0;
  }
  .nav .menu-item--cart > a {
    display: flex;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid var(--sand-200);
    background: none;
  }
  .nav a.nav__cta {
    display: inline-block;
    margin-top: 16px;
    align-self: flex-start;
    border-radius: var(--radius-pill);
    border-bottom: 0;
  }
}

/* =========================================================
   Pied de page
   ========================================================= */

.footer {
  background: linear-gradient(165deg, var(--teal-700), var(--teal-900));
  color: var(--teal-100);
  padding-block: 80px 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--sand-50);
  border-radius: 50%;
  padding: 4px;
}
.footer__brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer__brand strong {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
}
.footer__brand small {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.footer__baseline {
  max-width: 320px;
  font-size: 0.95rem;
  color: rgba(223, 236, 231, 0.82);
}

.footer__title {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(223, 236, 231, 0.82);
}
.footer__list a {
  color: rgba(223, 236, 231, 0.9);
}
.footer__list a:hover {
  color: var(--white);
}

.footer__note {
  font-size: 0.95rem;
  color: rgba(223, 236, 231, 0.82);
}

.footer__bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(223, 236, 231, 0.7);
}
.footer__bottom p {
  margin: 0;
}
.footer__legal {
  max-width: 620px;
}

@media (max-width: 940px) {
  .footer__grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
  }
}

/* =========================================================
   Bloc : grande bannière
   ========================================================= */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sand-50);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(253, 250, 245, 0.96) 0%,
    rgba(253, 250, 245, 0.88) 42%,
    rgba(253, 250, 245, 0.32) 74%,
    rgba(29, 74, 66, 0.18) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 90px;
}
.hero__content {
  max-width: 640px;
}
.hero__logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 22px;
}
.hero h1 {
  margin-bottom: 0.1em;
}
.hero__baseline {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-style: italic;
  color: var(--clay-600);
  margin-bottom: 0.7em;
}
.hero__text {
  max-width: 520px;
  font-size: 1.1rem;
  margin-bottom: 2em;
}

/* =========================================================
   Bloc : bannière de page
   ========================================================= */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(56vh, 460px);
  overflow: hidden;
  background: var(--sand-100);
}
.page-hero__media {
  position: absolute;
  inset: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(253, 250, 245, 0.95) 0%,
    rgba(253, 250, 245, 0.86) 48%,
    rgba(253, 250, 245, 0.5) 100%
  );
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 80px;
  max-width: 900px;
}
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}
.page-hero__text {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--ink-500);
  margin: 0;
}

/* =========================================================
   Bloc : texte + image
   ========================================================= */

.split {
  align-items: center;
  gap: 60px;
}
.split--reverse .split__media {
  order: 2;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split__media--cover img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media--natural img {
  box-shadow: var(--shadow);
}
.split__media--framed {
  display: grid;
  place-items: center;
  background: var(--sand-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.split__media--framed img {
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.split__quote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--clay-500);
  background: rgba(201, 138, 107, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--teal-900);
}
.split__body .stack-actions {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .split--reverse .split__media {
    order: 0;
  }
}

/* =========================================================
   Bloc : points clés
   ========================================================= */

.feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
}
.feature--numbered {
  padding-top: 40px;
  border-top: 3px solid var(--teal-300);
}
.feature__index {
  display: block;
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--teal-300);
  line-height: 1;
  margin-bottom: 12px;
}
.feature p {
  color: var(--ink-500);
  margin: 0;
  font-size: 0.97rem;
}

/* =========================================================
   Bloc : étapes numérotées
   ========================================================= */

.seance {
  align-items: center;
  gap: 60px;
}
.seance--image-left .seance__media {
  order: -1;
}
.seance__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 62px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.2rem;
}
.steps strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--teal-900);
  margin-bottom: 4px;
}
.steps span {
  color: var(--ink-500);
  font-size: 0.97rem;
}

@media (max-width: 900px) {
  .seance__media {
    order: -1;
  }
}

/* =========================================================
   Bloc : informations pratiques
   ========================================================= */

.infos {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.infos li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--sand-200);
}
.infos strong {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-600);
}
.infos span {
  color: var(--ink-700);
}
.note {
  background: var(--sand-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 8px;
}
.note p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-500);
}

/* =========================================================
   Bloc : galerie
   ========================================================= */

.shot {
  margin: 0;
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.shot figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-500);
  text-align: center;
}

/* =========================================================
   Bloc : formulaire de rendez-vous
   ========================================================= */

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.contact__aside .infos li {
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  justify-content: flex-start;
}

.aside__note {
  background: var(--sand-100);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.aside__note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-500);
}

@media (max-width: 980px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--shadow);
}

.form-footer {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.form-legal {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.form-done {
  text-align: center;
  padding-block: 24px;
}
.form-done img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.form-done p {
  max-width: 460px;
  margin-inline: auto;
  color: var(--ink-500);
}

/* =========================================================
   Contenu classique (articles, pages sans blocs du thème)
   ========================================================= */

.prose > * {
  max-width: 100%;
}
.prose h3 {
  margin: 1.8em 0 0.5em;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
.prose h4 {
  margin: 1.6em 0 0.5em;
  font-size: 1.2rem;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose hr {
  margin: 2.2em 0;
  border: none;
  border-top: 1px solid var(--sand-200);
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose img {
  border-radius: var(--radius);
  margin-block: 1.5em;
}
.prose blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--clay-500);
  background: rgba(201, 138, 107, 0.08);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--teal-900);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--sand-200);
  text-align: left;
}

.post-list {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.post-list__category {
  margin-left: 10px;
  color: var(--teal-700);
}

/* Filtres par catégorie du blog. */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filters__chip {
  padding: 8px 18px;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink-700);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.25s var(--ease);
}
.filters__chip:hover {
  border-color: var(--teal-500);
}
.filters__chip.is-active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white);
}
.filters__chip--child {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
}
.post-list__date {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-600);
  margin-bottom: 8px;
}

.pagination {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}
.pagination .page-numbers.current {
  background: var(--teal-700);
  color: var(--white);
}

/* =========================================================
   Éditeur de blocs : rendre l'aperçu fidèle
   ========================================================= */

.editor-styles-wrapper .section,
.editor-styles-wrapper .hero,
.editor-styles-wrapper .page-hero {
  margin: 0;
}
.editor-styles-wrapper .hero {
  min-height: 520px;
}
.editor-styles-wrapper .page-hero {
  min-height: 320px;
}
