/* ==========================================================================
   POUCE VERT — Feuille de style v2
   Charte : Vert profond #20804D · Impact Green #23AC4D · Lucky Green #61B22F
            Blanc coquille #EDF3DE · Accent (ponctuel) ambre #F4A62A
   Typo   : Grandstander (toute la mise en page) · Homemade Apple (≤ 3 mots)
   ========================================================================== */

@font-face { font-family: "Grandstander"; src: url("/assets/fonts/Grandstander-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("/assets/fonts/Grandstander-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("/assets/fonts/Grandstander-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("/assets/fonts/Grandstander-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Homemade Apple"; src: url("/assets/fonts/HomemadeApple-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --deep: #20804d;
  --impact: #23ac4d;
  --lucky: #61b22f;
  --cream: #edf3de;
  --cream-deep: #e1ebcc;
  --forest: #0f3d25;
  --white: #ffffff;
  --accent: #f4a62a;
  --accent-soft: #fdecc9;
  --ink: #142418;
  --ink-soft: #3b4c3f;
  --line: rgba(20, 36, 24, 0.14);
  --line-soft: rgba(20, 36, 24, 0.08);
  --font: "Grandstander", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-hand: "Homemade Apple", cursive;
  --r-s: 12px; --r-m: 20px; --r-l: 30px; --r-pill: 999px;
  --container: 1200px;
  --gutter: clamp(18px, 5vw, 40px);
  --section: clamp(56px, 9vw, 112px);
  --header-h: 80px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Échelle typographique fluide (mobile → ordinateur), pas de saut brusque entre niveaux */
  --fs-body: 1.0625rem;
  --fs-lede: clamp(1.125rem, 1.06rem + .3vw, 1.25rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .45vw, 1.4rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.4rem);
  --fs-h1: clamp(2.1rem, 1.6rem + 2.4vw, 3.2rem);
  --shadow: 0 18px 40px -24px rgba(15, 61, 37, 0.45);
}
@media (max-width: 1180px) { :root { --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body { font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-weight: 800; color: var(--deep); line-height: 1.12; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-body); }
p { max-width: 64ch; }
p + p { margin-top: .9em; }
.lede { font-size: var(--fs-lede); color: var(--ink-soft); }
strong { font-weight: 700; }
.hand { font-family: var(--font-hand); font-weight: 400; color: var(--impact); line-height: 1.35; display: inline-block; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--impact); margin-bottom: 10px; }
.kw-link { color: var(--deep); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lucky); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kw-link:hover { text-decoration-color: var(--deep); }
.bg-deep .kw-link { color: #fff; text-decoration-color: var(--accent); }
.bg-lucky .kw-link, .bg-impact .kw-link { color: var(--forest); text-decoration-color: var(--forest); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--s { padding-block: clamp(40px, 6vw, 72px); }
.bg-cream { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-white { background: var(--white); }
.bg-deep { background: var(--deep); color: var(--cream); }
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep .lede, .bg-deep > .container > p { color: rgba(237, 243, 222, .92); }
.bg-deep .eyebrow { color: var(--accent); }
.bg-impact { background: var(--impact); color: var(--ink); }
.bg-lucky { background: var(--lucky); color: var(--ink); }
.bg-impact h2, .bg-lucky h2 { color: var(--forest); }
.bg-impact .lede, .bg-lucky .lede { color: var(--ink); }
.bg-lucky .eyebrow, .bg-impact .eyebrow { color: var(--forest); }

.section-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head h2 + .lede, .section-head h1 + .lede { margin-top: 12px; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.align-center { align-items: center; }
.center { text-align: center; margin-inline: auto; }
.mt-l { margin-top: clamp(28px, 4vw, 44px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); z-index: 1000; }
.skip-link:focus { top: 12px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: .7em 1.5em; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; border-radius: var(--r-pill); border: 2px solid transparent; transition: transform .2s var(--ease), background-color .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--deep); color: #fff; box-shadow: 0 10px 22px -12px rgba(32,128,77,.7); }
.btn--primary:hover { background: var(--forest); }
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 22px -12px rgba(244,166,42,.8); }
.btn--accent:hover { background: #e8951a; }
.btn--outline { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn--outline:hover { background: var(--deep); color: #fff; }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 42px; padding: .5em 1.1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 600; background: rgba(237, 243, 222, .98); border-bottom: 1px solid var(--line-soft); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; color: var(--deep); white-space: nowrap; }
.brand img { width: 56px; height: 56px; }
.nav-primary { display: flex; align-items: center; gap: clamp(10px, 1vw, 14px); }
.nav-primary a:not(.btn) { font-weight: 600; font-size: .9375rem; white-space: nowrap; padding: 6px 0; position: relative; }
.nav-primary a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2.5px; border-radius: 2px; background: var(--impact); transition: right .25s var(--ease); }
.nav-primary a:not(.btn):hover::after, .nav-primary a[aria-current="page"]::after { right: 0; }
.nav-primary a[aria-current="page"] { color: var(--deep); }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 12px; background: transparent; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { position: absolute; left: 12px; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; pointer-events: none; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 23px; } .nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) {
  .brand { font-size: 1.4rem; }
  .brand img { width: 54px; height: 54px; }
  .nav-toggle { display: block; }
  .nav-primary { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: var(--cream); overflow-y: auto; border-top: 1px solid var(--line-soft); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
  .nav-primary.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav-primary a:not(.btn) { font-size: 1.2rem; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); }
  .nav-primary a:not(.btn)::after { display: none; }
  .nav-primary .btn { margin-top: 22px; }
  body.nav-open { overflow: hidden; }
}

/* Footer */
.site-footer { background: var(--forest); color: var(--cream); padding: clamp(52px, 7vw, 80px) 0 28px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: flex; align-items: center; gap: 22px; padding-bottom: 32px; border-bottom: 1px solid rgba(237,243,222,.16); }
.footer-top img { width: 112px; height: 112px; flex: none; }
.footer-tagline { font-size: var(--fs-lede); font-weight: 700; color: #fff; line-height: 1.35; max-width: 36ch; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-block: 32px; }
.footer-grid h2 { font-size: 1rem; color: var(--accent); margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; font-size: 1rem; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.footer-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-socials a { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(237,243,222,.12); }
.footer-socials a:hover { background: var(--impact); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(237,243,222,.16); font-size: .875rem; color: rgba(237,243,222,.75); }
@media (max-width: 820px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-top img { width: 96px; height: 96px; }
  .footer-tagline { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Hero accueil */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(44px, 6vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__logo { width: clamp(130px, 14vw, 180px); margin-bottom: 16px; }
.hero h1 .hand { display: block; font-size: .46em; margin-bottom: 8px; }
.hero .lede { margin: 18px 0 28px; }
.hero__visual { position: relative; isolation: isolate; }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 45%; border-radius: var(--r-l); box-shadow: var(--shadow); }
.hero__blob { position: absolute; inset: 8% -6% -5% 12%; background: var(--lucky); border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; z-index: -1; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; width: 100%; margin-inline: auto; }
  .hero__photo { aspect-ratio: 1 / 1; }
  .hero__blob { inset: 6% -3% -4% 8%; }
}

/* Bandeau pages intérieures */
.page-hero { padding-block: clamp(32px, 6vw, 72px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero__logo { width: clamp(150px, 17vw, 230px); }
.page-hero .lede { margin-top: 16px; }
.page-hero .btn-row { margin-top: 26px; }
@media (max-width: 720px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 18px; }
  .page-hero__logo { order: -1; width: 128px; }
}

/* Recherche */
.search-panel { background: var(--white); border-radius: var(--r-l); padding: clamp(20px, 3.2vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line-soft); }
.search-panel h2 { margin-bottom: 8px; }
.search-panel .lede { margin-bottom: 22px; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px 170px; gap: 12px; }
.search-field { display: flex; align-items: center; height: 56px; background: var(--cream); border: 2px solid transparent; border-radius: var(--r-pill); transition: border-color .2s; }
.search-field:focus-within { border-color: var(--impact); }
.search-field svg { flex: none; width: 22px; height: 22px; margin-left: 18px; color: var(--deep); }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0 16px; font-size: 1rem; }
.search-field input:focus { outline: none; }
.search-row .btn { height: 56px; min-height: 56px; padding-inline: 1em; width: 100%; }
.btn--locate { background: var(--cream-deep); color: var(--deep); }
.btn--locate:hover, .btn--locate[aria-pressed="true"] { background: var(--lucky); color: var(--ink); }
.btn--locate svg { width: 20px; height: 20px; flex: none; }
.level-filter { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.level-filter__label { font-weight: 700; color: var(--ink-soft); }
.level-options { display: grid; grid-template-columns: repeat(4, 88px); gap: 12px; }
.level-pill { width: 88px; height: 88px; display: flex; align-items: center; justify-content: center; background: var(--white); border: 2.5px solid var(--line); border-radius: 22px; padding: 6px; font-weight: 800; font-size: 1rem; line-height: 1.1; color: var(--deep); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.level-pill img { width: 70px; height: 70px; }
.level-pill:hover { border-color: var(--impact); transform: translateY(-2px); }
.level-pill[aria-pressed="true"] { border-color: var(--deep); background: var(--cream); box-shadow: inset 0 0 0 2px var(--deep); }
.level-pill--all[aria-pressed="true"] { background: var(--deep); color: #fff; }
.link-reset { background: none; border: 0; color: var(--deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; }
@media (max-width: 760px) {
  .search-row { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .level-filter { flex-direction: column; align-items: stretch; gap: 10px; }
  .level-options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .level-pill { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; }
  .level-pill img { width: 100%; height: auto; max-width: 70px; }
}

/* Piliers */
.piliers-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.piliers-stamp { width: 100%; max-width: 230px; background: var(--cream); border-radius: 50%; padding: 10px; transform: rotate(-8deg); }
.pilier-card { background: var(--cream); color: var(--ink); border-radius: var(--r-m); padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.pilier-card h3 { color: var(--deep); }
.pilier-card p { color: var(--ink-soft); font-size: 1rem; }
.pilier-card__illu { width: 100%; aspect-ratio: 454 / 321; object-fit: contain; border-radius: var(--r-s); }
.pilier-card__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--deep); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: -38px; border: 4px solid var(--cream); position: relative; }
.pilier-card__icon svg { width: 28px; height: 28px; }
.pilier-card__icon--xl svg { width: 38px; height: 38px; }
@media (max-width: 900px) {
  .piliers-layout { grid-template-columns: 1fr; }
  .piliers-stamp { max-width: 160px; margin-inline: auto; }
}

/* Niveaux */
.niveau-card { background: var(--white); border: 2.5px solid var(--deep); border-radius: var(--r-m); padding: 24px; display: flex; flex-direction: column; box-shadow: 0 0 0 4px rgba(32,128,77,.10); }
.niveau-card__head { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 14px; }
.niveau-card__head img { width: 80px; height: 80px; }
.niveau-card__head h3 { margin: 0; line-height: 1.1; }
.niveau-card__sub { display: block; margin-top: 4px; font-weight: 700; color: var(--impact); font-size: var(--fs-body); line-height: 1.25; }
.niveau-card > p { color: var(--ink-soft); font-size: 1rem; }
.niveau-card .checklist { margin-top: 16px; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.tick { width: 24px; height: 24px; border-radius: 7px; background: var(--deep); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.tick svg { width: 15px; height: 15px; }

.criteria-block { background: var(--white); border-radius: var(--r-l); padding: clamp(20px, 3vw, 36px); border: 2.5px solid var(--deep); box-shadow: 0 0 0 4px rgba(32,128,77,.10); }
.criteria-block + .criteria-block { margin-top: 24px; }
.criteria-block__head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.criteria-block__head img { width: 88px; height: 88px; flex: none; }
.criteria-block__head h3 { font-size: var(--fs-h3); }
.criteria-block__head span { display: block; color: var(--impact); font-weight: 700; font-size: var(--fs-body); margin-top: 2px; }
.criteria-block__intro { color: var(--ink-soft); margin: 4px 0 16px; }
.criteria-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.criteria-list .tick { width: 28px; height: 28px; border-radius: 8px; }
.criteria-list .tick svg { width: 17px; height: 17px; }
.criteria-list h4 { color: var(--ink); }
.criteria-list .req { color: var(--ink); margin-top: 2px; }
.criteria-list .ctrl { color: var(--ink-soft); font-size: .9375rem; margin-top: 6px; }
.criteria-list .ctrl strong { color: var(--deep); }
.callout { background: var(--accent-soft); border-left: 5px solid var(--accent); border-radius: var(--r-s); padding: 14px 18px; margin: 6px 0 14px; }
.callout--green { background: var(--cream); border-left-color: var(--lucky); }
.footnote { font-size: .9375rem; color: var(--ink-soft); margin-top: 20px; }

/* Stats */
.stat-card { background: var(--white); color: var(--ink); border-radius: var(--r-m); padding: 22px 24px; }
.stat-card__num { display: block; font-size: var(--fs-h2); font-weight: 800; color: var(--deep); line-height: 1; margin-bottom: 8px; }
.stat-card p { color: var(--ink-soft); font-size: 1rem; }
.stat-card small { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .8125rem; }
.prose p { color: inherit; }
.bg-lucky .prose p { color: var(--ink); }

/* Bandeau CTA */
.cta-band { background: var(--deep); color: #fff; border-radius: var(--r-l); padding: clamp(24px, 5vw, 52px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 36px); align-items: center; }
.cta-band img { width: 110px; height: 110px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(237,243,222,.92); }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band img { width: 86px; height: 86px; }
  .cta-band .btn { width: 100%; white-space: normal; }
}

/* Partenaires */
.title-xl { font-size: clamp(2rem, 1.55rem + 1.8vw, 2.7rem); }
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner { background: var(--white); border-radius: var(--r-m); min-height: 150px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line-soft); text-align: center; }
.partner img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.partner span { font-size: .875rem; color: var(--ink-soft); line-height: 1.3; }
.partner--dark { background: var(--forest); border-color: var(--forest); }
.partner--dark span { color: rgba(237,243,222,.85); }
@media (max-width: 860px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Équipe */
.team-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .team-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .team-strip { grid-template-columns: 1fr; } }
.mini-member { background: var(--white); color: var(--ink); border-radius: var(--r-m); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mini-member__top { display: flex; align-items: center; gap: 12px; }
.mini-member__top strong { display: block; color: var(--deep); font-size: var(--fs-body); line-height: 1.2; }
.mini-member__top span { font-size: .875rem; color: var(--ink-soft); line-height: 1.3; }
.mini-member q { font-size: .9375rem; color: var(--ink-soft); font-style: italic; }
.avatar { width: 68px; height: 68px; border-radius: 50%; flex: none; object-fit: cover; background: var(--cream-deep); color: var(--deep); font-weight: 800; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; border: 3px solid var(--lucky); }
.avatar--xl { width: 140px; height: 140px; font-size: 2.8rem; border-width: 4px; }
.member { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; background: var(--white); border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); }
.member + .member { margin-top: 20px; }
.member h3 { margin-bottom: 2px; }
.member__role { color: var(--impact); font-weight: 700; margin-bottom: 12px; display: block; }
.member blockquote { margin-top: 14px; padding: 12px 16px; background: var(--cream); border-left: 4px solid var(--lucky); border-radius: 0 var(--r-s) var(--r-s) 0; font-style: italic; }
.member .btn { margin-top: 16px; }
.member--mosa { border: 2.5px dashed var(--lucky); }
@media (max-width: 620px) { .member { grid-template-columns: 1fr; } .avatar--xl { width: 110px; height: 110px; } }

.timeline { position: relative; display: flex; flex-direction: column; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--lucky); }
.tl-item { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; }
.tl-item__dot { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: var(--deep); color: #fff; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; border: 5px solid var(--cream-deep); }
.tl-item__card { background: var(--white); border-radius: var(--r-m); padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 18px; align-items: center; }
.tl-item__card h3 { margin-bottom: 8px; }
.tl-item__card p { color: var(--ink-soft); font-size: 1rem; }
.tl-item__logo { display: flex; align-items: center; justify-content: center; border-radius: var(--r-s); padding: 14px; min-height: 96px; background: var(--cream); }
.tl-item__logo.is-dark { background: var(--forest); }
.tl-item__logo img { max-height: 72px; width: auto; }
.tl-item__photo { margin-top: 14px; border-radius: var(--r-s); width: 100%; max-width: 260px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
@media (max-width: 640px) { .tl-item__card { grid-template-columns: 1fr; } .tl-item__logo { justify-content: flex-start; } }

.help-card { background: var(--lucky); color: var(--ink); border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.help-card h2 { color: var(--forest); }
.help-card p { margin-top: 10px; }
.help-list { display: grid; gap: 12px; }
.help-list li > * { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: var(--r-m); padding: 14px 16px; font-weight: 700; color: var(--forest); }
.help-list a:hover { background: var(--cream); }
.help-list svg { width: 24px; height: 24px; flex: none; color: var(--deep); }
@media (max-width: 820px) { .help-card { grid-template-columns: 1fr; } }

/* Espace restaurateurs */
.objectifs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 880px; margin-inline: auto; }
.scallop { position: relative; isolation: isolate; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 18%; }
.scallop svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.scallop strong { font-size: var(--fs-h3); font-weight: 800; letter-spacing: .03em; line-height: 1.1; text-transform: uppercase; }
.scallop .hand { color: #fff; font-size: clamp(.9rem, 1.8vw, 1.1rem); margin-top: 8px; }
@media (max-width: 600px) { .objectifs { grid-template-columns: 1fr; max-width: 250px; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: var(--r-m); padding: 22px; display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--line-soft); }
.step__num { width: 50px; height: 50px; border-radius: 50%; background: var(--cream-deep); color: var(--deep); font-weight: 800; font-size: 1.35rem; display: flex; align-items: center; justify-content: center; }
.step p { font-size: 1rem; color: var(--ink-soft); }
.step__meta { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9375rem; color: var(--deep); }
.step--final { background: var(--deep); border-color: var(--accent); border-width: 3px; color: #fff; transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(15,61,37,.6); }
.step--final h3 { color: #fff; }
.step--final p { color: rgba(237,243,222,.95); }
.step--final .step__num { background: var(--accent); color: var(--ink); }
.step--final .step__meta { color: var(--accent); }
.step__badge { align-self: flex-start; background: var(--accent); color: var(--ink); font-weight: 800; font-size: .8125rem; padding: 4px 10px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 1000px) { .step--final { transform: none; } }

.price-card { background: var(--white); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); border: 2px solid var(--line-soft); }
.price-card__amount { display: block; font-size: var(--fs-h2); font-weight: 800; color: var(--deep); margin: 8px 0; }
.offer-card { background: var(--accent); color: var(--ink); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.offer-card h3 { color: var(--forest); margin-bottom: 8px; }
.offer-card .tag { display: inline-block; background: var(--forest); color: var(--accent); font-weight: 800; font-size: .8125rem; padding: 5px 12px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.offer-card .checklist { margin-top: 14px; }
.offer-card .tick { background: var(--forest); }

/* Démarche */
.crisis { display: grid; grid-template-columns: var(--cv, 200px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--white); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.crisis + .crisis { margin-top: 22px; }
.crisis { --cv: 200px; }
.crisis__visual { width: var(--cv); height: var(--cv); min-width: var(--cv); min-height: 0; flex: none; aspect-ratio: 1 / 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; color: var(--ink); padding: 12%; overflow: hidden; }
.crisis__visual svg { width: 44px; height: 44px; flex: none; }
.crisis__visual strong { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.crisis__visual span { font-size: .8125rem; font-weight: 700; line-height: 1.2; }
.crisis--1 .crisis__visual { background: var(--lucky); }
.crisis--2 .crisis__visual { background: var(--impact); }
.crisis--3 .crisis__visual { background: var(--deep); color: #fff; }
.crisis h3 { margin-bottom: 10px; }
.crisis p { color: var(--ink-soft); }
.crisis .source { display: block; margin-top: 10px; font-size: .8125rem; color: var(--ink-soft); }
@media (max-width: 700px) { .crisis { --cv: 190px; grid-template-columns: 1fr; justify-items: start; } }
.picto-card { background: var(--white); color: var(--ink); border-radius: var(--r-m); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.picto-card__icon { width: 66px; height: 66px; border-radius: 18px; background: var(--cream); color: var(--deep); display: flex; align-items: center; justify-content: center; }
.picto-card__icon svg { width: 36px; height: 36px; }
.picto-card h3 { color: var(--deep); }
.picto-card p { color: var(--ink-soft); font-size: 1rem; }
.picto-card__num { font-size: var(--fs-h2); font-weight: 800; color: var(--deep); line-height: 1; }

/* Annuaire */
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-soft); border: 2px solid var(--accent); border-radius: var(--r-m); padding: 14px 18px; font-size: .9375rem; margin-bottom: 22px; }
.notice svg { width: 22px; height: 22px; flex: none; color: #a86200; margin-top: 3px; }
.results-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 26px; align-items: start; }
.results-meta { margin: 20px 0 12px; color: var(--ink-soft); font-weight: 600; }
.results-list { display: flex; flex-direction: column; gap: 16px; }
.r-card { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; background: var(--white); border: 2px solid transparent; border-radius: var(--r-m); padding: 12px; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); cursor: pointer; }
.r-card:hover, .r-card:focus-within { border-color: var(--impact); box-shadow: var(--shadow); transform: translateY(-2px); }
.r-card__photo { width: 128px; height: 128px; border-radius: var(--r-s); object-fit: cover; background: var(--cream-deep); }
.r-card__body { display: flex; flex-direction: column; min-width: 0; }
.r-card__top { display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 10px; align-items: start; }
.r-card__top img { width: 62px; height: 62px; }
.r-card h3 { font-size: var(--fs-h3); color: var(--ink); }
.r-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); z-index: 1; }
.r-card__place { font-size: .9375rem; color: var(--ink-soft); }
.r-card__desc { font-size: .9375rem; color: var(--ink-soft); margin-top: 6px; }
.r-card__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag-soft { display: inline-block; background: var(--cream); color: var(--deep); font-weight: 700; font-size: .875rem; padding: 4px 12px; border-radius: var(--r-pill); }
.r-card__cta { font-weight: 700; color: var(--deep); font-size: .9375rem; }
@media (max-width: 540px) {
  .r-card { grid-template-columns: 1fr; }
  .r-card__photo { width: 100%; height: 180px; }
}
.results-empty { text-align: center; background: var(--white); border-radius: var(--r-m); padding: 40px 20px; border: 2px dashed var(--line); }
.results-empty svg { width: 42px; height: 42px; margin: 0 auto 10px; color: var(--impact); }
.results-empty p { margin: 8px auto 16px; }
.skeleton { background: linear-gradient(90deg, var(--white) 25%, var(--cream-deep) 50%, var(--white) 75%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: var(--r-m); height: 152px; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
.map-wrap { position: sticky; top: calc(var(--header-h) + 16px); height: 600px; border-radius: var(--r-m); overflow: hidden; background: var(--cream-deep); border: 1px solid var(--line-soft); }
#restaurants-map { width: 100%; height: 100%; }
.map-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; color: var(--ink-soft); z-index: 2; background: var(--cream-deep); }
.map-state svg { width: 36px; height: 36px; color: var(--deep); }
.map-toggle { display: none; }
@media (max-width: 980px) {
  .results-layout { grid-template-columns: 1fr; }
  .map-wrap { position: relative; top: 0; height: 380px; display: none; }
  .map-wrap.is-open { display: block; }
  .map-toggle { display: inline-flex; margin-top: 16px; }
}
.pv-pin { width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.3); padding: 2px; }
.pv-pin img { width: 100%; height: 100%; }
.leaflet-popup-content { font-family: var(--font); font-size: .9375rem; }
.leaflet-popup-content a { color: var(--deep); font-weight: 700; }

/* Fiche restaurant */
.fiche-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
.fiche-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow); }
.fiche-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.fiche-badge img { width: 92px; height: 92px; }
.fiche-badge span { font-weight: 800; color: var(--impact); font-size: var(--fs-body); }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.info-list svg { width: 22px; height: 22px; color: var(--deep); margin-top: 3px; }
.info-list a { color: var(--deep); font-weight: 700; text-decoration: underline; }
@media (max-width: 820px) { .fiche-hero { grid-template-columns: 1fr; } }
.breadcrumb { font-size: .9375rem; margin-bottom: 18px; color: var(--ink-soft); }
.breadcrumb a { color: var(--deep); font-weight: 700; }
.card { background: var(--white); border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); }
.card h2 { font-size: var(--fs-h3); margin-bottom: 14px; }

/* Formulaires */
.form-card { background: var(--white); border-radius: var(--r-l); padding: clamp(20px, 3.4vw, 40px); box-shadow: var(--shadow); }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.audience legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.audience label { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--r-m); font-weight: 700; font-size: .9375rem; line-height: 1.25; cursor: pointer; transition: border-color .2s, background .2s; }
.audience input { accent-color: var(--deep); width: 18px; height: 18px; flex: none; margin: 0; }
.audience label:has(input:checked) { border-color: var(--deep); background: var(--cream); color: var(--deep); }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .875rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-s); border: 2px solid var(--line); background: var(--white); font-size: 1rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--impact); }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
[hidden] { display: none !important; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin: 6px 0 20px; font-size: .9375rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--deep); }
.consent a { color: var(--deep); font-weight: 700; text-decoration: underline; }
.form-status { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-s); font-weight: 700; }
.form-status.is-ok { display: block; background: rgba(35,172,77,.14); color: var(--deep); }
.form-status.is-err { display: block; background: #fbe3dc; color: #8a3217; }
.hp { position: absolute !important; left: -9999px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(22px, 4vw, 44px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside { background: var(--deep); color: var(--cream); border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); }
.contact-aside h2 { color: #fff; font-size: var(--fs-h3); margin-bottom: 16px; }
.contact-aside ul { display: flex; flex-direction: column; gap: 14px; }
.contact-aside a { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.contact-aside svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.contact-aside p { color: rgba(237,243,222,.85); font-size: .9375rem; margin-top: 20px; }

/* Légal */
.legal h2 { margin: 36px 0 10px; font-size: var(--fs-h3); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--deep); font-weight: 700; text-decoration: underline; }

/* Divers */
.whatsapp-float { position: fixed; right: 16px; bottom: 16px; z-index: 500; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; max-width: 560px; margin-inline: auto; background: var(--forest); color: var(--cream); border-radius: var(--r-m); padding: 18px 20px; display: none; flex-direction: column; gap: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); font-size: .9375rem; }
.cookie-banner.is-visible { display: flex; }
.cookie-banner a { text-decoration: underline; }
.cookie-banner .btn-row .btn { width: auto; flex: 1; min-height: 44px; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.round-stamp { width: min(300px, 78%); margin-inline: auto; background: var(--cream); border-radius: 50%; padding: 12px; transform: rotate(-8deg); }
.section, .page-hero, .hero { overflow-x: clip; }
.pilier-card .kw-link, .card .kw-link, .stat-card .kw-link { color: var(--deep); text-decoration-color: var(--lucky); }
.cta-band .kw-link, .step--final .kw-link { color: #fff; text-decoration-color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; }
.search-row .btn { white-space: nowrap; }
@media (max-width: 400px) { .search-row .btn { font-size: .9375rem; padding-inline: .6em; gap: 6px; } .btn--locate svg { width: 18px; height: 18px; } }
.nav-primary .btn { white-space: nowrap; }
.pilier-card h3 { overflow-wrap: normal; }
@media (min-width: 901px) { .piliers-layout { grid-template-columns: 180px minmax(0, 1fr); } }
.form-card { color: var(--ink); }
.form-card .field label, .form-card legend { color: var(--ink); }
@media (max-width: 640px) { .pilier-card__illu { max-width: 260px; margin-inline: auto; } }

/* ---- v3 : retours client n°4 ---- */
.avatar--mosa { background: var(--forest); color: var(--accent); font-size: .875rem; letter-spacing: .04em; border-color: var(--accent); }
.avatar--xl.avatar--mosa { font-size: 1.6rem; }
.models-title { color: #fff; }
/* Formes à ratio fixe : ne jamais laisser le contenu les déformer */
.scallop, .level-pill { min-height: 0; }
.mini-member q { display: block; }
.member blockquote { hyphens: manual; }
@media (max-width: 640px) { .mini-member q, .member blockquote { font-size: 1rem; } }

@media (min-width: 1181px) { .brand { font-size: 1.2rem; gap: 8px; } .brand img { width: 50px; height: 50px; } .site-header__bar { gap: 12px; } .nav-primary .btn { padding-inline: 1em; } }
/* Mini-cartes équipe : avatars alignés en haut, initiales lisibles, guillemets avec espace insécable */
.mini-member__top { align-items: flex-start; }
.mini-member__top span.avatar { font-size: 1.5rem; color: var(--deep); line-height: 1; }
.mini-member__top span.avatar.avatar--mosa { font-size: .85rem; color: var(--accent); letter-spacing: .04em; }
q { quotes: "«\00a0" "\00a0»"; }
/* Logo Samba × HEC (texte blanc + bleu nuit) : fond gris moyen pour que les deux restent lisibles */
.partner--dark { background: #7f8a99; border-color: #7f8a99; }
.partner--dark span { color: var(--forest); font-weight: 700; }
.mini-member__top > div { line-height: 1.3; }

/* v4 : jamais de coupure de mot avec trait d'union (« en-jeux »), titres aux retours à la ligne équilibrés */
html { hyphens: none; -webkit-hyphens: none; }
h1, h2, h3, h4 { hyphens: none; -webkit-hyphens: none; text-wrap: balance; }
/* Message d'échec d'envoi : bouton « Envoyer par e-mail » bien visible et lisible */
.form-status.is-err a.btn { margin: 10px 0 6px; display: inline-flex; color: #fff; }
.form-status.is-err { line-height: 1.5; }
