/* Cabinet Camil Regragui — feuille de style
   Charte graphique : vert #507441, police Montserrat, fond blanc, monogramme CR dans un arc. */

@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --brand: #507441;
  --ink: #1f2b1c;
  --forest: #507441;
  --forest-deep: #2f4727;
  --forest-soft: #68875b;
  --sage: #eef3ec;
  --sage-deep: #dbe6d7;
  --line: #d3decf;
  --paper: #ffffff;
  --white: #ffffff;
  --accent: #507441;
  --accent-hover: #3f5d33;
  --muted: #5d6b58;
  --on-forest: #eef3ec;
  --seg-water: #c5d6bf;
  --seg-muscle: #2f4727;
  --seg-fat: #8fae7f;
  --seg-mineral: #c9cec6;

  --serif: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r-s: 8px;
  --r-m: 16px;
  --wrap: 1240px;
  --header-h: 84px;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--forest-soft); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--forest-deep); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3.05rem); color: var(--brand); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.15rem); }
h3 { font-size: 1.12rem; font-weight: 600; }
p, ul, ol, dl { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 4rem + 3vw, 104px); }
.section--sage { background: var(--sage); }
.section--forest { background: var(--brand); color: var(--on-forest); }
.section--forest h2, .section--forest h3 { color: var(--white); }
.section-head { display: grid; gap: 14px; max-width: 700px; margin-bottom: clamp(28px, 3vw, 44px); }
.stack { display: grid; gap: 18px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--brand); color: var(--white); padding: 12px 16px; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--rdv { background: var(--accent); color: var(--white); }
.btn--rdv:hover { background: var(--accent-hover); color: var(--white); }
.section--forest .btn--rdv { background: var(--white); color: var(--forest-deep); }
.section--forest .btn--rdv:hover { background: var(--sage); color: var(--forest-deep); }
.btn--line { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--line:hover { background: var(--forest); color: var(--white); }
.section--forest .btn--line { border-color: var(--on-forest); color: var(--white); }
.section--forest .btn--line:hover { background: var(--white); color: var(--forest-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 420px) { .btn-row .btn { width: 100%; } }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { @media (min-width: 1181px) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); } } }
@media (max-width: 1180px) { .site-header { background: var(--paper); } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; flex: none; align-items: center; gap: 12px; text-decoration: none; color: var(--forest-deep); margin-right: auto; }
.brand img { display: block; height: 58px; width: auto; }
.nav { flex: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 10px 11px; border: 0; background: none; color: var(--ink); font: 500 .98rem/1.2 var(--sans); text-decoration: none; border-radius: var(--r-s); cursor: pointer; white-space: nowrap; }
.nav-link:hover { background: var(--sage); color: var(--forest-deep); text-decoration: none; }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-link { color: var(--forest); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.sub-toggle { display: grid; place-items: center; width: 30px; height: 40px; margin-left: -6px; border: 0; background: none; color: var(--forest); cursor: pointer; border-radius: var(--r-s); }
.sub-toggle svg, .nav-link svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-item.is-open .sub-toggle svg, .nav-item.is-open > .nav-link svg { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 18px 40px -18px rgba(47, 71, 39, .35); display: none; z-index: 60; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a { display: block; padding: 10px 12px; border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-size: .97rem; line-height: 1.35; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--sage); color: var(--forest-deep); }
.sub .sub-all { border-top: 1px solid var(--sage-deep); margin-top: 6px; padding-top: 12px; font-weight: 600; color: var(--forest); }
.nav-item.is-open .sub { display: block; }
@media (hover: hover) and (min-width: 1181px) { .nav-item:hover .sub { display: block; } }
.header-cta { min-height: 46px; padding: 10px 18px; font-size: .96rem; }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; margin-right: -10px; color: var(--forest-deep); cursor: pointer; border-radius: var(--r-s); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1400px) and (min-width: 1181px) { .brand img { height: 50px; } .nav-link { padding-inline: 8px; font-size: .94rem; } .header-inner { gap: 14px; } .header-cta { padding-inline: 16px; } }
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--paper); overflow-y: auto; padding: 8px var(--gutter) 120px; display: none; border-top: 1px solid var(--line); }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--sage-deep); }
  .nav-link { flex: 1; padding: 16px 4px; font-size: 1.1rem; }
  .nav-link[aria-current="page"], .nav-item.is-current > .nav-link { box-shadow: none; font-weight: 700; }
  .sub-toggle { width: 48px; height: 52px; margin: 0; }
  .sub { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 12px 8px; background: transparent; }
  .sub::before { display: none; }
  .sub a { padding: 11px 8px; }
}

/* Fil d'Ariane */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sage) 0%, var(--paper) 100%); padding-block: clamp(44px, 5vw, 84px) clamp(48px, 5vw, 80px); }
.hero-arc { position: absolute; right: -180px; top: -220px; width: 720px; height: 720px; color: var(--sage-deep); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: var(--ink); }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .97rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--forest); flex: none; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-arc { right: -320px; top: -300px; } }

/* Carte composition corporelle */
.compo { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(22px, 3vw, 30px); box-shadow: 0 24px 50px -30px rgba(47, 71, 39, .45); display: grid; gap: 16px; }
.compo-title { font: 500 1.2rem/1.3 var(--serif); color: var(--forest-deep); }
.compo-row { display: grid; gap: 8px; }
.compo-label { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; }
.compo-label strong { font: 500 1.5rem/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; background: var(--sage); }
.bar i { display: block; height: 100%; }
.bar .w { background: var(--seg-water); }
.bar .m { background: var(--seg-muscle); }
.bar .f { background: var(--seg-fat); }
.bar .x { background: var(--seg-mineral); }
.bar--scale i { background: #b9c6bd; width: 100%; }
.legend { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend b { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.compo-note { font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .compo .bar:not(.bar--scale) i { transform-origin: left center; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; }
  .compo .bar .m { animation-delay: .12s; } .compo .bar .f { animation-delay: .24s; } .compo .bar .x { animation-delay: .36s; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Bandeau de confiance */
.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-grid > div { padding: 22px 20px; display: grid; gap: 2px; }
.trust-grid > div + div { border-left: 1px solid var(--line); }
.trust-grid strong { font: 500 1.25rem/1.2 var(--serif); color: var(--forest); }
.trust-grid span { color: var(--muted); font-size: .94rem; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust-grid > div:nth-child(3) { border-left: 0; } .trust-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } .trust-grid > div + div { border-left: 0; border-top: 1px solid var(--line); } .trust-grid > div { padding-inline: 0; } }

/* Cartes d'accompagnement */
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.card { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--forest); text-decoration: none; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-2px); } }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card-more { font-weight: 600; color: var(--forest); font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.card-icon { width: 40px; height: 40px; color: var(--forest); }
.section--sage .card { border-color: var(--sage-deep); }

/* Étapes */
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--brand); font: 500 1.1rem var(--serif); margin-bottom: 6px; }
.section--forest .steps p { color: var(--on-forest); }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Formules */
.formulas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.formula { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: grid; gap: 6px; align-content: start; }
.formula h3 { font-size: 1.08rem; }
.formula .dur { font-weight: 600; color: var(--forest); font-size: .95rem; }
.formula p { color: var(--muted); font-size: .94rem; }

/* Deux colonnes */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Médias et image de secours */
.media { margin: 0; position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--sage); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--sheet { aspect-ratio: 3 / 4; background: var(--white); border: 1px solid var(--line); }
.media--sheet img { object-fit: contain; }
.media.is-missing img { display: none; }
.media.is-missing::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--muted); font-size: .9rem; background: radial-gradient(circle at 30% 30%, var(--white) 0, var(--sage) 70%); }
.media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: .85rem; color: var(--white); background: linear-gradient(transparent, rgba(47, 71, 39, .75)); }
.media.is-missing figcaption { display: none; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Listes cochées */
.check { list-style: none; padding: 0; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 30px; }
.check li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 15px; height: 8px; border-left: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(-45deg); }
.section--forest .check li::before { border-color: var(--white); }
.section--forest .steps li::before { color: var(--white); }

/* Encadré « En bref » */
.brief { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(20px, 3vw, 28px); display: grid; gap: 4px; }
.brief-title { font: 600 1.05rem var(--serif); color: var(--forest-deep); margin-bottom: 8px; }
.brief dl { display: grid; gap: 0; }
.brief dl > div { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--sage-deep); }
.brief dt { font-weight: 600; color: var(--muted); font-size: .93rem; }
.brief dd { margin: 0; font-size: .97rem; }
@media (max-width: 480px) { .brief dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* En-tête de page interne */
.page-head { background: var(--sage); padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 64px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.page-head-copy { display: grid; gap: 18px; justify-items: start; }
.page-head h1 { max-width: 22ch; }
.byline { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: minmax(0, 1fr); } }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(22px, 3vw, 36px); }
.review { margin: 0; display: grid; gap: 14px; align-content: start; padding-left: 20px; border-left: 2px solid var(--brand); }
.review blockquote { margin: 0; font: 400 1.03rem/1.65 var(--sans); }
.review figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .94rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .82rem; flex: none; }
.stars { color: var(--brand); letter-spacing: 2px; }

/* FAQ */
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font: 500 1.05rem/1.45 var(--serif); color: var(--forest-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { padding: 0 0 20px; color: var(--muted); max-width: 72ch; }
.faq-body > * + * { margin-top: .7em; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); margin-bottom: 14px; }

/* Recettes */
.recipe-index { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.recipe-index a { display: grid; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; }
.recipe-index .media { aspect-ratio: 4 / 3; }
.recipe { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 52px); padding-block: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.recipe:first-of-type { border-top: 0; }
.recipe-side { display: grid; gap: 18px; align-content: start; }
.recipe-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.recipe-meta li { background: var(--sage); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.recipe h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); }
.recipe h3 { margin-bottom: 10px; }
.ingredients { padding-left: 1.2em; display: grid; gap: 6px; }
.method { padding-left: 1.4em; display: grid; gap: 10px; }
.method li::marker { font-weight: 700; color: var(--forest); }
.tip { background: var(--sage); border-radius: var(--r-m); padding: 16px 18px; font-size: .96rem; }
@media (max-width: 860px) { .recipe { grid-template-columns: minmax(0, 1fr); } }

/* Articles */
.articles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
.articles li { border-top: 1px solid var(--line); }
.articles a { display: block; padding: 16px 0; font: 500 1rem/1.45 var(--serif); color: var(--forest-deep); text-decoration: none; }
.articles a:hover { text-decoration: underline; }

/* E-book */
.ebook { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.ebook .media { aspect-ratio: 5 / 8; box-shadow: 0 20px 40px -20px rgba(47, 71, 39, .5); border-radius: var(--r-s); }
@media (max-width: 720px) { .ebook { grid-template-columns: minmax(0, 1fr); } .ebook .media { max-width: 170px; } }

/* Formulaires */
.form { display: grid; gap: 16px; max-width: 600px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
input, textarea, select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; min-height: 50px; }
input:focus, textarea:focus, select:focus { border-color: var(--forest); outline: 3px solid var(--sage-deep); outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { font-size: .88rem; color: var(--muted); }
.notice { padding: 14px 18px; border-radius: var(--r-s); font-weight: 500; background: var(--sage); color: var(--forest-deep); }
.notice--err { background: #fbeae4; color: #8a2c14; }

/* Infos pratiques */
.info-list { list-style: none; padding: 0; display: grid; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.info-list li:first-child { border-top: 1px solid var(--line); }
.info-list b { font-size: .88rem; color: var(--muted); font-weight: 600; }
.map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r-m); background: var(--sage); }

/* Bandeau d'appel final */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: var(--on-forest); margin-top: 8px; }

/* Pied de page */
.site-footer { background: var(--forest-deep); color: #d5e0d1; padding-block: 56px 28px; font-size: .96rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-title { font: 600 .82rem var(--sans); color: var(--white); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .12em; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-brand img { display: block; height: 44px; width: auto; margin-bottom: 16px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); }
.social a:hover { background: rgba(255, 255, 255, .12); }
.social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 40px; padding-top: 20px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Barre d'actions mobile */
.action-bar { display: none; }
@media (max-width: 1180px) {
  body { padding-bottom: 72px; }
  .action-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 14px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(47, 71, 39, .4); }
  .action-bar .btn { min-height: 50px; padding-inline: 12px; }
}

@media print { .site-header, .action-bar, .site-footer, .cta-band { display: none; } body { padding: 0; } }

/* Très petits écrans */
@media (max-width: 420px) {
  h1 { font-size: 1.85rem; }
  h1, h2 { overflow-wrap: break-word; }
  .btn { white-space: normal; text-align: center; }
  .card { padding: 20px; }
}
@media (max-width: 1180px) { .brand { flex: 0 1 auto; min-width: 0; } }
@media (max-width: 1180px) { .brand img { height: 50px; } }
@media (max-width: 400px) { .brand img { height: 42px; } .header-inner { gap: 12px; } }
@media (max-width: 359px) { h1, h2 { hyphens: auto; } }
.media picture { display: block; width: 100%; height: 100%; }

/* Résultats InBody : cartes avec onglets sans JavaScript */
.rc-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.rc-carte { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; }
.rc-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rc-visuel { background: var(--sage); padding: 14px; }
.rc-vue { display: none; aspect-ratio: 4 / 5; background: var(--white); border-radius: var(--r-s); }
.rc-vue img { object-fit: contain; }
.r1:checked ~ .rc-visuel .v1, .r2:checked ~ .rc-visuel .v2, .r3:checked ~ .rc-visuel .v3 { display: block; }
.rc-onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.rc-onglet { display: block; text-align: center; cursor: pointer; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 4px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.rc-onglet:hover { border-color: var(--brand); color: var(--brand); }
.r1:checked ~ .rc-visuel .l1, .r2:checked ~ .rc-visuel .l2, .r3:checked ~ .rc-visuel .l3 { background: var(--brand); border-color: var(--brand); color: var(--white); }
.r1:focus-visible ~ .rc-visuel .l1, .r2:focus-visible ~ .rc-visuel .l2, .r3:focus-visible ~ .rc-visuel .l3 { outline: 3px solid var(--forest-soft); outline-offset: 2px; }
.rc-corps { padding: 20px 22px 24px; display: grid; gap: 10px; }
.rc-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rc-tete h3 { font-size: 1.15rem; }
.rc-duree { background: var(--brand); color: var(--white); font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.rc-objectif { color: var(--muted); font-size: .92rem; }
.rc-lignes > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.rc-lignes dt { color: var(--muted); }
.rc-lignes dd { margin: 0; color: var(--forest-deep); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-note { font-style: italic; color: var(--muted); font-size: .93rem; line-height: 1.6; }
