/* BMG Diet — page d'accueil · piste « Douceur pastel » */

:root {
  --ink: #1E2B17;
  --muted: #52604A;
  --bg: #FFFCF8;
  --white: #FFFFFF;
  --accent: #3D7A1E;
  --accent-dark: #2F6117;

  --peach: #FDE7DC;
  --peach-strong: #F7C9B3;
  --peach-deep: #B5562F;
  --peach-deeper: #96441F;
  --yellow: #FFF1C9;
  --yellow-strong: #FFE08A;
  --green: #DCEFCD;
  --green-strong: #B9DE9F;
  --green-soft: #EEF7E6;
  --cream: #FFF7F1;
  --line: #D8E6CC;
  --line-soft: #E4EFDB;

  --radius-card: 32px;
  --shadow-chip: 0 12px 32px rgba(30, 43, 23, 0.10);
  --shadow-deco: drop-shadow(0 10px 14px rgba(30, 43, 23, 0.14));
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #000; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
[id] { scroll-margin-top: 24px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px;
}
.skip-link:focus { top: 16px; color: var(--white); }

.page { position: relative; overflow: hidden; }
.container { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.accent { color: var(--accent); }

.deco {
  position: absolute; height: auto; pointer-events: none; user-select: none;
  filter: var(--shadow-deco);
}

/* ---------- Boutons, pastilles, liens ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 30px; border: 0; border-radius: 18px;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1.6;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 0 2px 0 var(--green), 0 0 0 1px var(--green); }
.btn--light:hover { box-shadow: 0 2px 0 var(--green-strong), 0 0 0 1px var(--green-strong); }
.btn--sm { padding: 12px 22px; border-radius: 16px; font-size: 15px; }
.btn--block { width: 100%; height: 56px; padding: 0 30px; }

.pill {
  align-self: flex-start; display: inline-block;
  border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--ink);
}
.pill--lg { align-self: auto; padding: 8px 18px; font-weight: 600; }
.pill--yellow { background: var(--yellow); }
.pill--peach { background: var(--peach); }
.pill--white { background: var(--white); }

.link-arrow { font-weight: 700; font-size: 16px; color: var(--accent); text-underline-offset: 3px; }
.link-arrow:hover { color: var(--accent-dark); }

/* ---------- En-tête ---------- */

.site-header__inner {
  padding-top: 24px; padding-bottom: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 56px; height: 50px; object-fit: cover; object-position: top; display: block; flex: 0 0 auto; background: var(--white); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-weight: 800; font-size: 16px; }
.brand__role { font-size: 13px; color: var(--muted); }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 14px;
  background: var(--green-soft); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero__inner {
  position: relative; z-index: 1;
  padding-top: 48px; padding-bottom: 96px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.hero__title {
  font-weight: 800; font-size: clamp(44px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -2.5px;
  max-width: 960px; text-wrap: balance;
}
.hero__lead { font-size: 20px; color: var(--muted); max-width: 680px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.collage { position: relative; width: 100%; max-width: 980px; height: 440px; margin-top: 24px; }
.collage__circle { position: absolute; border-radius: 50%; }
.collage__circle--peach { left: 4%; top: 40px; width: 220px; height: 220px; background: var(--peach-strong); }
.collage__circle--peach .deco { left: 54px; top: 93px; width: 130px; transform: rotate(-12deg); }
.collage__circle--green { right: 6%; top: 0; width: 180px; height: 180px; background: var(--green-strong); }
.collage__circle--yellow { right: 14%; bottom: 0; width: 120px; height: 120px; background: var(--yellow-strong); }
.collage__circle--yellow .deco { left: 21px; top: 37px; width: 92px; transform: rotate(18deg); }
.collage__farfalle { left: 31%; top: 250px; width: 64px; transform: rotate(28deg); z-index: 3; }
.collage__kiwi { left: 85.4%; top: -28px; width: 112px; z-index: 3; }

.collage__photo {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 380px; max-width: 80%; height: 100%; overflow: hidden;
  background: var(--green-soft); border-radius: 32px; box-shadow: 0 0 0 8px var(--white);
}
.collage__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 74% center; display: block; }

.chip {
  position: absolute; background: var(--white); border-radius: 20px; padding: 14px 18px;
  box-shadow: var(--shadow-chip); text-align: left; display: flex; flex-direction: column; line-height: 1.3;
}
.chip strong { font-weight: 800; }
.chip span { font-size: 13px; color: var(--muted); }
.chip--master { left: 6%; bottom: 24px; }
.chip--hypnose { right: 2%; top: 200px; }
.chip--nice { left: 22%; top: 0; }

/* ---------- Citation ---------- */

.quote { position: relative; background: var(--green-soft); }
.quote__inner {
  position: relative; z-index: 1; max-width: calc(900px + 2 * var(--gutter)); margin: 0 auto; padding: 80px var(--gutter);
  text-align: center; display: flex; flex-direction: column; gap: 12px;
}
.quote blockquote p { font-weight: 700; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.8px; line-height: 1.25; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.quote__olive { left: 96px; top: 13px; width: 124px; transform: rotate(-6deg); }
.quote__mushrooms { right: 110px; bottom: -24px; width: 102px; transform: rotate(14deg); z-index: 2; }

/* ---------- Sections génériques ---------- */

.section { position: relative; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-soft); }

.section__inner {
  position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px;
  display: flex; flex-direction: column; gap: 40px;
}
.section__inner--tight { gap: 32px; }

.section h2 { font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -1.2px; line-height: 1.1; text-wrap: balance; }
.section h3 { font-weight: 800; font-size: 24px; }

.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; align-self: center; text-align: center; }
.section__head p { font-size: 17px; color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid--reasons { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--pricing, .grid--articles { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

/* ---------- Pourquoi consulter ---------- */

.reason { border-radius: var(--radius-card); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.reason--peach { background: var(--peach); }
.reason--yellow { background: var(--yellow); }
.reason--green { background: var(--green); }
.reason__icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.reason ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.reasons__bread { right: -5px; bottom: 50px; width: 170px; transform: rotate(-8deg); }

/* ---------- Mon parcours ---------- */

.about {
  position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px;
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
}
.about__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__text p { font-size: 17px; color: var(--muted); }
.about__text .link-arrow { align-self: flex-start; }
.about__card {
  position: relative; flex: 1 1 484px; min-width: 0;
  background: var(--white); border-radius: var(--radius-card); padding: 32px;
  box-shadow: 0 16px 48px rgba(30, 43, 23, 0.08);
}
.about__kiwi { left: 47px; top: calc(100% - 27px); width: 128px; z-index: 2; }

.timeline { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.timeline li { display: flex; gap: 18px; align-items: center; padding: 12px 0; }
.timeline strong { flex: 0 0 84px; font-weight: 800; }
.dot { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; }
.dot--peach { background: var(--peach-strong); }
.dot--yellow { background: var(--yellow-strong); }
.dot--green { background: var(--green-strong); }
.dot--accent { background: var(--accent); }

/* ---------- Consultations & tarifs ---------- */

.pricing__farfalle { left: 63px; top: 145px; width: 159px; transform: rotate(-4deg); }

.price {
  background: var(--white); border-radius: var(--radius-card); padding: 36px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 0 0 1px var(--line-soft);
}
.price p { font-size: 15px; color: var(--muted); flex-grow: 1; }
.price__amount { font-weight: 800; font-size: 52px; letter-spacing: -1.5px; line-height: 1; }
.price--featured { background: var(--accent); color: var(--white); box-shadow: 0 20px 48px rgba(61, 122, 30, 0.28); }
.price--featured p { color: #E9F5DF; }
.pricing__note { font-size: 14px; color: var(--muted); text-align: center; }

.onco {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch;
  background: var(--peach); border-radius: var(--radius-card); padding: 40px;
}
.onco__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.onco__text .pill { align-self: flex-start; }
.onco__text p { font-size: 16px; color: var(--muted); }
.onco__text .onco__lead { color: var(--ink); font-size: 17px; }
.onco__aside {
  flex: 0 1 300px; background: var(--white); border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.onco__count { font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -2px; color: var(--peach-deep); }
.onco__count-label { font-weight: 700; font-size: 18px; }
.onco__aside p { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.onco__aside .btn { align-self: flex-start; white-space: nowrap; padding-inline: 24px; background: var(--peach-deep); color: var(--white); }
.onco__aside .btn:hover { background: var(--peach-deeper); color: var(--white); }
@media (max-width: 760px) {
  .onco { padding: 28px 24px; border-radius: 28px; gap: 24px; }
  .onco__aside { flex-basis: 100%; }
  .onco__aside .btn { align-self: stretch; text-align: center; white-space: normal; }
}

/* ---------- Articles ---------- */

.articles__egg { left: calc(50% - 680px); bottom: 60px; width: 110px; transform: rotate(12deg); }
.articles__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.articles__head h2 { line-height: 1.6; }

.post {
  text-decoration: none; background: var(--white); border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30, 43, 23, 0.10); color: var(--ink); }
.post__media { height: 190px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__media--peach { background: var(--peach); }
.post__media--yellow { background: var(--yellow); }
.post__media--green { background: var(--green); }
.post__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.post__tag { font-size: 13px; font-weight: 700; color: var(--muted); }
.post__title { font-size: 19px; font-weight: 800; line-height: 1.3; }

/* ---------- Rendez-vous ---------- */

.rdv__olive { right: calc(50% - 700px); bottom: 30px; width: 150px; transform: rotate(10deg); }
.rdv {
  position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px;
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.rdv__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rdv__text h2 { font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -1.5px; line-height: 1.05; }
.rdv__text p { font-size: 17px; color: var(--muted); }

.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact { border-radius: 20px; padding: 18px 22px; text-decoration: none; display: flex; flex-direction: column; }
.contact--peach { background: var(--peach); }
.contact--yellow { background: var(--yellow); }
.contact--green { background: var(--green); }
.contact__label { font-size: 13px; color: var(--muted); }
.contact__value { font-weight: 800; font-size: 18px; overflow-wrap: anywhere; }
.contact__value--xl { font-size: 22px; }
.contact__value--sm { font-weight: 700; font-size: 16px; }

.form {
  flex: 1 1 492px; min-width: 0; background: var(--white); border-radius: var(--radius-card); padding: 36px;
  box-shadow: 0 20px 56px rgba(30, 43, 23, 0.10); display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px;
  font: inherit; color: var(--ink); background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input { height: 52px; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 122, 30, 0.18); }
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus { border-color: #B3381F; box-shadow: 0 0 0 3px rgba(179, 56, 31, 0.15); }
.form__status { font-size: 14px; min-height: 0; }
.form__status:empty { display: none; }
.form__status[data-state="error"] { color: #B3381F; }
.form__status[data-state="ok"] { color: var(--accent); }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--ink); color: var(--line); }
.site-footer__inner {
  padding-top: 32px; padding-bottom: 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--line); }
.site-footer a:hover { color: var(--white); }

/* ---------- Responsive ---------- */

/* Les décors en marge n'ont plus la place de vivre à côté du contenu */
@media (max-width: 1380px) {
  .articles__egg, .rdv__olive { display: none; }
  .reasons__bread { right: -20px; bottom: -20px; width: 130px; }
  .pricing__farfalle { left: 16px; top: 96px; width: 110px; }
}

@media (max-width: 1100px) {
  .quote__olive { left: 24px; width: 96px; }
  .quote__mushrooms { right: 32px; width: 84px; }
  .pricing__farfalle { display: none; }
}

@media (max-width: 960px) {
  .about__kiwi { display: none; }
}

@media (max-width: 1240px) {
  .brand { flex: 1 1 0; min-width: 0; }
  .nav-toggle { display: inline-flex; flex: 0 0 auto; }
  .site-nav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-chip);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .site-nav a:not(.btn):hover { background: var(--green-soft); text-decoration: none; }
  .site-nav .btn { margin-top: 8px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .hero__inner { padding-top: 24px; padding-bottom: 64px; gap: 22px; }
  .hero__title { font-size: clamp(38px, 10.5vw, 56px); letter-spacing: -1.5px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 220px; }

  .collage { height: 400px; margin-top: 36px; }
  .collage__photo { width: 260px; max-width: 72%; height: 340px; top: 30px; }
  .collage__circle--peach { left: -8%; top: 90px; width: 150px; height: 150px; }
  .collage__circle--peach .deco { left: 14px; top: 60px; width: 84px; }
  .collage__circle--green { right: -8%; top: 10px; width: 130px; height: 130px; }
  .collage__circle--yellow { right: -2%; bottom: 40px; width: 96px; height: 96px; }
  .collage__circle--yellow .deco { left: 14px; top: 26px; width: 74px; }
  .collage__farfalle { display: none; }
  .collage__kiwi { left: auto; right: 2%; top: -24px; width: 76px; }
  .chip { padding: 10px 14px; border-radius: 16px; font-size: 14px; }
  .chip span { font-size: 12px; }
  .chip--nice { left: 0; top: 0; }
  .chip--hypnose { right: 0; top: 190px; }
  .chip--master { left: 0; bottom: 0; }

  .quote__inner { padding-top: 88px; padding-bottom: 72px; }
  .quote__olive { left: 12px; top: 8px; width: 76px; }
  .quote__mushrooms { right: 16px; bottom: -20px; width: 68px; }

  .section__inner, .about, .rdv { padding-top: 64px; padding-bottom: 64px; }
  .about { gap: 36px; }
  .reason, .price, .form { padding: 28px 24px; border-radius: 28px; }
  .about__card { padding: 20px 22px; border-radius: 28px; }
  .timeline li { align-items: baseline; gap: 14px; }
  .timeline strong { flex-basis: 70px; }
  .reasons__bread { display: none; }
  .articles__head h2 { line-height: 1.1; }
  .site-footer__inner { flex-direction: column; }
}

@media (max-width: 400px) {
  .brand__name { font-size: 15px; }
  .brand__role { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ==========================================================
   Pages intérieures (articles, mentions légales, calculateur)
   ========================================================== */

.site-nav a[aria-current="page"]:not(.btn) { color: var(--accent); }

.page-hero { background: var(--green-soft); }
.page-hero__inner {
  padding-top: 56px; padding-bottom: 64px;
  display: flex; flex-direction: column; gap: 18px; max-width: calc(860px + 2 * var(--gutter));
}
.page-hero h1 { font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -1.5px; line-height: 1.05; text-wrap: balance; }
.page-hero__lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.article-meta { font-size: 15px; color: var(--muted); }
.article-meta a { font-weight: 700; text-underline-offset: 3px; }

.prose-wrap {
  position: relative; z-index: 1; max-width: calc(760px + 2 * var(--gutter));
  padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px;
}
.prose { font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.section .prose h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.6px; line-height: 1.2; margin-top: 1.8em; }
.section .prose h3 { font-size: 22px; line-height: 1.3; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.prose strong { font-weight: 800; }
.prose blockquote { border-radius: 24px; background: var(--yellow); padding: 22px 26px; font-weight: 600; }
.prose mark { background: var(--yellow-strong); padding: 0 4px; border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .video { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--green-soft); }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.author-card {
  display: flex; gap: 20px; align-items: center; background: var(--cream); border-radius: 28px; padding: 24px;
}
.author-card img { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 74% center; }
.author-card div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.author-card strong { font-weight: 800; font-size: 18px; }
.author-card p { font-size: 15px; color: var(--muted); }

.post__date { font-size: 13px; color: var(--muted); }
.post__excerpt { font-size: 15px; color: var(--muted); }
.post__body { flex-grow: 1; }

/* ---------- Calculateur d'IMC ---------- */

.imc { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.imc__form { flex: 1 1 340px; }
.imc__form .field span { font-size: 13px; color: var(--muted); }
.imc__result {
  flex: 1.4 1 420px; min-width: 0; border-radius: var(--radius-card); padding: 36px; background: var(--green-soft);
  display: flex; flex-direction: column; gap: 18px; transition: background-color .4s ease;
}
.imc__result[data-tone="peach"] { background: var(--peach); }
.imc__result[data-tone="yellow"] { background: var(--yellow); }
.imc__result[data-tone="green"] { background: var(--green); }
.imc__value { font-weight: 800; font-size: clamp(56px, 7vw, 84px); letter-spacing: -2.5px; line-height: 1; font-variant-numeric: tabular-nums; }
.imc__value small { font-size: 18px; letter-spacing: 0; font-weight: 600; color: var(--muted); margin-left: 8px; }
.imc__label { font-weight: 800; font-size: 24px; line-height: 1.2; }
.imc__text { font-size: 16px; }
.imc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.imc__gauge { position: relative; padding-top: 18px; }
.imc__gauge-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--white); }
.imc__gauge-bar span:nth-child(1) { flex: 3.5; background: var(--yellow-strong); }
.imc__gauge-bar span:nth-child(2) { flex: 6.5; background: var(--green-strong); }
.imc__gauge-bar span:nth-child(3) { flex: 5; background: var(--yellow-strong); }
.imc__gauge-bar span:nth-child(4) { flex: 10; background: var(--peach-strong); }
.imc__gauge-marker {
  position: absolute; top: 10px; left: 0; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%;
  background: var(--ink); border: 5px solid var(--white); box-shadow: 0 4px 12px rgba(30, 43, 23, 0.25);
  transition: left .8s cubic-bezier(.2, .8, .2, 1);
}
.imc__gauge-scale { position: relative; height: 22px; margin-top: 10px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.imc__gauge-scale span { position: absolute; transform: translateX(-50%); }
.imc__table { font-size: 15px; }
.imc__table tr[aria-current="true"] { font-weight: 800; background: var(--green-soft); }

@media (max-width: 760px) {
  .page-hero__inner { padding-top: 32px; padding-bottom: 44px; }
  .prose-wrap { padding-top: 44px; padding-bottom: 64px; }
  .prose { font-size: 17px; }
  .author-card { flex-direction: column; align-items: flex-start; }
  .imc { padding-top: 44px; padding-bottom: 64px; }
  .imc__result { padding: 28px 24px; border-radius: 28px; }
}

/* ==========================================================
   Animations d'entrée (activées seulement si JS est présent)
   ========================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; translate: 0 26px;
    transition: opacity .9s cubic-bezier(.2, .7, .2, 1), translate .9s cubic-bezier(.2, .7, .2, 1), scale .9s cubic-bezier(.2, .9, .3, 1.15);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, translate;
  }
  .js [data-reveal="pop"] { translate: none; scale: .72; }
  .js [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; }

  /* Les aliments flottent très légèrement */
  .deco { animation: deco-float 7s ease-in-out infinite; }
  .deco:nth-of-type(even) { animation-duration: 9s; animation-delay: -3s; }
  @keyframes deco-float { 50% { translate: 0 -9px; } }

  .site-header { animation: header-in .8s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes header-in { from { opacity: 0; translate: 0 -12px; } }
}

.post__media--deco img { width: auto; max-width: 60%; height: 120px; object-fit: contain; filter: var(--shadow-deco); transition: scale .4s cubic-bezier(.2, .7, .2, 1), rotate .4s cubic-bezier(.2, .7, .2, 1); }
.post:hover .post__media--deco img { scale: 1.08; rotate: -4deg; }
.post__date { margin-top: auto; padding-top: 6px; }
.section--page-list .section__inner { padding-top: 64px; }
