/* JVS Prototype V2 - Direction artistique Awwwards */
:root {
  --green: #1a4d2e;
  --green-dark: #0f3320;
  --green-mid: #2d6b45;
  --green-soft: #e8f0ea;
  --green-mist: #d4e5d9;
  --sage: #8fad96;
  --accent: #c96a2e;
  --accent-soft: #fbf0e6;
  --ink: #142018;
  --muted: #5c6a60;
  --line: #d9e4dc;
  --bg: #f6f3ee;
  --bg-soft: #faf8f5;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(15, 51, 32, 0.12);
  --shadow-soft: 0 12px 32px rgba(15, 51, 32, 0.08);
  --radius: 28px;
  --radius-lg: 40px;
  --max: 1200px;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Sora", system-ui, sans-serif;
  --focus: #7a4500;
}
html[data-contrast="high"] {
  --green: #062816;
  --green-dark: #03170c;
  --ink: #000;
  --muted: #1a1a1a;
  --bg: #fff;
  --bg-soft: #fff;
  --line: #000;
  --accent: #a14d1c;
  --sage: #2d6b45;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font: inherit; }
em { font-style: italic; font-family: var(--font-display); font-weight: 560; color: var(--sage); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--green-dark); color: #fff; padding: .7rem 1rem; border-radius: 999px;
}
.skip-link:focus-visible { top: 1rem; }
.container { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; max-width: 100%; }

/* --- Header --- */
.topbar {
  display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .4rem; padding: .4rem 0 0;
  font-size: .75rem;
}
.chip-btn {
  border: 1px solid var(--line); background: rgba(255,255,255,.85); border-radius: 999px;
  padding: .5rem .8rem; cursor: pointer; font-weight: 600; min-height: 40px; min-width: 40px;
  color: var(--ink); backdrop-filter: blur(8px);
}
.chip-btn[aria-pressed="true"], .chip-btn.active {
  background: var(--green-dark); color: #fff; border-color: var(--green-dark);
}
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(246,243,238,.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(217,228,220,.9); }
body.home .site-header:not(.is-scrolled) {
  position: absolute; left: 0; right: 0; background: transparent; backdrop-filter: none;
}
body.home .site-header.is-scrolled {
  position: sticky; background: rgba(246,243,238,.94); backdrop-filter: blur(16px);
}
body.home .site-header:not(.is-scrolled) .chip-btn {
  background: rgba(255,255,255,.16); border-color: transparent; color: #fff;
}
body.home .site-header:not(.is-scrolled) .logo-short,
body.home .site-header:not(.is-scrolled) .logo-full,
body.home .site-header:not(.is-scrolled) .nav > a:not(.btn),
body.home .site-header:not(.is-scrolled) .nav-item > a,
body.home .site-header:not(.is-scrolled) .menu-toggle { color: #fff; }
body.home .site-header:not(.is-scrolled) .nav > a:not(.btn):hover,
body.home .site-header:not(.is-scrolled) .nav-item > a:hover {
  color: #f0b48a;
}
body.home .site-header:not(.is-scrolled) .nav > a.active:not(.btn),
body.home .site-header:not(.is-scrolled) .nav-item > a.active {
  color: #fff;
}
body.home .site-header:not(.is-scrolled) .nav > a.active:not(.btn)::after,
body.home .site-header:not(.is-scrolled) .nav-item > a.active::after {
  background: var(--accent);
}
body.home .site-header.is-scrolled .nav > a:not(.btn):hover,
body.home .site-header.is-scrolled .nav-item > a:hover {
  color: var(--accent);
}
body.home .site-header.is-scrolled .nav > a.active:not(.btn)::after,
body.home .site-header.is-scrolled .nav-item > a.active::after {
  background: var(--accent);
}
body.home .site-header:not(.is-scrolled) .menu-toggle {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px;
}
.logo { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.logo img {
  height: 48px; width: auto; background: var(--green-dark); border-radius: 14px; padding: .35rem .55rem;
}
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-short { display: block; color: var(--green-dark); font-size: 1.05rem; letter-spacing: .02em; }
.logo-full {
  display: none; color: var(--green-dark); font-size: .78rem; line-height: 1.2; font-weight: 700;
  max-width: 150px;
}
@media (min-width: 1021px) {
  .logo-short { display: none; }
  .logo-full { display: block; }
}
.nav { display: flex; align-items: center; gap: 1rem; }
.nav > a:not(.btn),
.nav-item > a {
  font-weight: 600; color: var(--muted); font-size: .9rem; min-height: 44px;
  display: inline-flex; align-items: center; padding: .35rem .15rem; position: relative;
  transition: color .2s ease;
}
.nav > a:not(.btn):hover,
.nav-item > a:hover { color: var(--accent); }
.nav > a.active:not(.btn),
.nav-item > a.active { color: var(--green-dark); }
.nav > a.active:not(.btn)::after,
.nav-item > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav > a.btn.active::after { display: none; }
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - .15rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: .55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(15, 51, 32, .16);
  z-index: 100;
  flex-direction: column;
  gap: .15rem;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown a {
  display: block;
  padding: .75rem .9rem;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-dropdown a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}
@media (min-width: 1021px) {
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: flex;
  }
}
.menu-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 50%;
  width: 42px; height: 42px; min-height: 42px; padding: 0; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; display: block; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: none; border-radius: 999px; padding: .72rem 1.15rem; font-weight: 700; font-size: .9rem;
  cursor: pointer; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  min-height: 42px; letter-spacing: .01em;
}
.btn-svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: none; }
.btn-secondary { background: var(--green-dark); color: #fff; box-shadow: none; }
.btn-ghost {
  background: transparent; border: 1.5px solid rgba(255,255,255,.75); color: #fff;
}
body:not(.home) .btn-ghost,
.section .btn-ghost,
.page-hero .btn-ghost,
.cta-banner .btn-ghost,
.oremi-pro .btn-ghost {
  border-color: var(--green); color: var(--green-dark); background: #fff;
}
.btn-soft { background: var(--green-soft); color: var(--green-dark); }
.btn-icon {
  width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%;
  background: #fff; color: var(--green-dark); box-shadow: var(--shadow-soft);
  display: grid; place-items: center; transition: width .35s ease, height .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease;
}
.btn-icon .arrow { font-size: 1.05rem; line-height: 1; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* --- Hero plein écran --- */
.hero-immersive {
  position: relative; min-height: min(100vh, 820px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden;
  background: var(--green-dark);
}
.hero-immersive .hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-immersive .hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.hero-immersive .hero-bg img.is-active {
  opacity: 1; z-index: 1;
  animation: heroKen 9s ease-in-out forwards;
}
@keyframes heroKen {
  from { transform: scale(1.04); }
  to { transform: scale(1.14); }
}
.hero-immersive .hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(10,30,18,.82) 0%, rgba(10,30,18,.55) 42%, rgba(10,30,18,.28) 100%),
    linear-gradient(0deg, rgba(8,24,14,.78) 0%, transparent 45%);
}
.hero-immersive .hero-inner {
  position: relative; z-index: 2; padding: 7.5rem 0 1.5rem; width: min(100% - 2.4rem, var(--max)); margin-inline: auto;
}
.hero-immersive h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  line-height: 1.08; font-weight: 650; margin: 0 0 1.1rem; max-width: 14ch; color: #fff;
  letter-spacing: -.02em;
}
.hero-immersive h1 em { color: var(--accent); font-style: normal; }
@media (min-width: 1021px) {
  .hero-immersive h1 {
    max-width: none;
  }
  .hero-immersive h1 br { display: none; }
}
.hero-immersive .lead {
  color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 34rem; margin: 0 0 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .2rem; }
.hero-stats-wrap {
  position: relative; z-index: 2; width: min(100% - 2.4rem, var(--max)); margin: 0 auto 2rem;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  align-items: center;
  background: rgba(12, 28, 20, .55); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 22px;
  padding: 1.15rem 1rem; color: #fff;
}
.hero-stats .stat-item {
  padding: .35rem .55rem; border-right: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.hero-stats .stat-item:last-child { border-right: none; }
.hero-stats strong,
.hero-stats strong.stat-compound {
  display: block; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 650;
  font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.hero-stats .stat-item > span { font-size: .72rem; opacity: .78; letter-spacing: .02em; }

/* Seal rotatif */
.seal {
  width: 112px; height: 112px; position: relative; flex-shrink: 0; margin-left: .6rem;
}
.seal svg { width: 100%; height: 100%; }
.seal .seal-spin {
  transform-origin: 50% 50%;
  animation: seal-rotate 22s linear infinite;
}
.seal .seal-core {
  position: absolute; inset: 28%; border-radius: 50%;
  background: var(--green-mid); display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.2);
  color: #fff; font-size: 1.2rem;
}
@keyframes seal-rotate { to { transform: rotate(360deg); } }

/* --- Sections --- */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--bg-soft); }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1.2rem; margin-bottom: 2rem;
}
.section-head h2, h2 {
  font-family: var(--font-display); color: var(--green-dark); line-height: 1.15;
  font-size: clamp(1.7rem, 3vw, 2.55rem); margin: 0 0 .55rem; font-weight: 650; letter-spacing: -.015em;
}
.section-head h2 em, h2 em { color: var(--green-mid); font-style: normal; }
.section-head p { margin: 0; color: var(--muted); max-width: 34rem; }
.section-link {
  display: inline-flex; align-items: center; gap: .4rem; color: var(--green-dark);
  font-weight: 700; min-height: 44px; white-space: nowrap;
}
.section-link::after { content: "→"; transition: transform .2s ease; }
.section-link:hover::after { transform: translateX(4px); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }

/* Persona / parcours cards */
.persona-section {
  background: var(--green-dark);
  color: #fff;
}
.persona-section .section-head h2 { color: #fff; }
.persona-section .section-head p { color: rgba(255,255,255,.78); }
.persona-section .section-link { color: #fff; }
.persona-section h2 em { color: var(--green-mist); font-style: normal; }
.persona-rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.persona-card {
  position: relative; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px; padding: 1.3rem 1.2rem 6.2rem; min-height: 300px; overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease, border-color .4s ease, color .4s ease;
  display: flex; flex-direction: column; gap: .5rem;
}
.persona-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow);
  background: #fff; border-color: #fff; color: var(--ink);
}
.persona-card .ico {
  width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.18); color: #fff;
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background .35s ease, color .35s ease;
}
.persona-card:hover .ico { background: var(--green-soft); color: var(--green-dark); }
.persona-card .label {
  font-size: .78rem; font-weight: 700; color: #f3c09a; text-transform: uppercase; letter-spacing: .04em;
  transition: color .35s ease;
}
.persona-card:hover .label { color: var(--accent); }
.persona-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; margin: 0; color: #fff; line-height: 1.2;
  max-width: 13ch; transition: color .35s ease;
}
.persona-card:hover h3 { color: var(--green-dark); }
.persona-card p {
  margin: 0; color: rgba(255,255,255,.9); font-size: .88rem; max-width: 16ch;
  position: relative; z-index: 2; transition: color .35s ease;
}
.persona-card:hover p { color: var(--muted); }
.persona-card .persona-visual {
  position: absolute; right: .75rem; bottom: .75rem; width: 100px; height: 100px;
  border-radius: 50%; z-index: 1;
}
.persona-card .persona-visual img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  box-shadow: var(--shadow-soft); position: relative; z-index: 1;
}
.persona-orbit {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.55);
  animation: orbitSpin 14s linear infinite;
  pointer-events: none; z-index: 0;
}
.persona-card:hover .persona-orbit { border-color: rgba(26,77,46,.45); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.persona-card .btn-icon {
  position: absolute; top: 50%; left: 50%; z-index: 3;
  transform: translate(-50%, -50%);
  background: #fff; color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center;
  padding-top: 1px;
  transition: width .35s ease, height .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.persona-card .btn-icon .arrow {
  font-size: 1.05rem; line-height: 1; display: block; transform: translateY(-1px);
}
.persona-card:hover .btn-icon {
  width: 56px; height: 56px; background: var(--green-dark); color: #fff;
  box-shadow: 0 12px 28px rgba(15,51,32,.28);
  transform: translate(-50%, -50%);
}
.persona-card:hover .btn-icon .arrow { font-size: 1.05rem; transform: translateY(-1px); }

/* Cards génériques */
.card, .media-card, .team-card {
  background: #fff; border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.card { padding: 1.35rem; }
.icon-pill {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-dark); font-weight: 800; margin-bottom: .9rem;
}
.card h3, .media-card h3, .team-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--green-dark); margin: 0 0 .45rem;
}
.card p, .media-card p, .team-card p { color: var(--muted); margin: 0; }
.values-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; padding: 1rem 0;
}
.values-uniform .value-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.15rem; min-height: 100%;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.values-uniform .value-item.reveal { transition-delay: calc(var(--i, 0) * .12s); }
.values-uniform .value-item:hover {
  transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent;
  background: var(--green-soft);
}
.value-item h3 {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--green-dark); margin: .7rem 0 .35rem;
}
.value-item p { margin: 0; font-size: .9rem; color: var(--muted); }
.value-item .ico {
  width: 48px; height: 48px; border-radius: 16px; background: var(--green-soft);
  display: grid; place-items: center; color: var(--green-dark); font-size: 1.2rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.values-uniform .value-item:hover .ico {
  background: var(--green-dark); color: #fff; transform: scale(1.06);
}

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.stat {
  padding: 1.5rem; text-align: center; background: linear-gradient(160deg, var(--green-dark), var(--green));
  color: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; margin-bottom: .25rem; }

.media-card { overflow: hidden; transition: transform .3s ease; }
.media-card:hover { transform: translateY(-5px); }
.media-thumb { height: 190px; overflow: hidden; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-card:hover .media-thumb img { transform: scale(1.06); }
.media-body { padding: 1.2rem; }
.meta { font-size: .78rem; color: var(--muted); margin-bottom: .4rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.link-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: .45rem; color: var(--accent); font-weight: 700; }

/* Raison d’être */
.raison {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: center;
}
.raison-cta { margin: 1.15rem 0 0; }
.raison-copy .founder {
  display: flex; align-items: center; gap: .85rem; margin-top: 1.4rem;
}
.raison-copy .founder img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-soft);
}
.raison-copy .founder strong { display: block; color: var(--green-dark); }
.raison-copy .founder span { color: var(--muted); font-size: .85rem; }
.raison-visual { position: relative; min-height: 420px; }
.blob-frame {
  width: 100%; height: 460px;
  border-radius: 48% 52% 42% 58% / 42% 38% 62% 58%;
  overflow: hidden; box-shadow: var(--shadow);
  background: var(--green-dark);
}
.blob-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Accueil — portrait raison : cadrage tablet (450–960) */
@media (min-width: 450px) and (max-width: 960px) {
  .raison-visual .blob-frame {
    height: clamp(340px, 52vw, 440px);
    border-radius: 50% / 46%;
  }
  .raison-visual .blob-frame img {
    object-position: center 18%;
  }
}
.quote-float {
  position: absolute; left: -4%; bottom: 8%; max-width: 280px;
  background: var(--green-dark); color: #fff; border-radius: 22px; padding: 1.25rem 1.35rem;
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.35; font-style: italic;
  box-shadow: var(--shadow);
}
.raison-visual .seal {
  position: absolute; top: -8px; right: 6%;
}

/* OREMI */
.oremi {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: center;
  background: linear-gradient(125deg, #fff 30%, var(--accent-soft));
  border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-soft);
}
.oremi .phone {
  font-family: var(--font-display); font-size: 2.1rem; color: var(--green-dark); font-weight: 700;
}
.oremi-visual { border-radius: 24px; overflow: hidden; min-height: 200px; }
.oremi-visual img { width: 100%; height: 200px; object-fit: cover; }
.oremi .btn-ghost { border-color: var(--green); color: var(--green-dark); background: #fff; }

/* Page hero intérieur */
.page-hero { padding: 2.8rem 0 1rem; position: relative; }
.page-hero-split {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 2rem; align-items: center;
}
.breadcrumb { color: var(--muted); font-size: .88rem; margin-bottom: .85rem; }
.breadcrumb a { color: var(--green-mid); font-weight: 600; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--green-dark); margin: 0 0 .7rem; line-height: 1.08; letter-spacing: -.02em;
  position: relative; display: inline-block;
}
.page-hero h1 .scribble {
  position: absolute; left: 0; right: 10%; bottom: -.15rem; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' fill='none'%3E%3Cpath d='M2 8c30-8 60 4 90-2s60-4 96 2' stroke='%238fad96' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.page-hero .lead { color: var(--muted); max-width: 32rem; font-size: 1.05rem; }
.about-hero-visual { position: relative; }
.about-hero-visual .blob-frame { height: 380px; border-radius: 55% 45% 48% 52% / 48% 55% 45% 52%; }
.float-badge {
  position: absolute; left: 4%; bottom: 10%; width: 118px; height: 118px;
  border-radius: 50%; background: var(--green-mist); color: var(--green-dark);
  display: grid; place-items: center; text-align: center; padding: .7rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; line-height: 1.25;
  box-shadow: var(--shadow-soft); text-transform: uppercase;
}

/* Histoire / mission */
.about-duo { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.2rem; align-items: stretch; }
.history-card {
  background: var(--green-dark); color: #fff; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: none;
}
.history-card .media-thumb { height: 200px; border-radius: 0; }
.history-card .body { padding: 1.5rem 1.5rem 1.7rem; }
.history-card h2 { color: #fff; font-size: 1.55rem; }
.history-card p { color: rgba(255,255,255,.88); margin: 0 0 .85rem; }
/* Mission / Vision styles redefined in about redesign block below */
.mv-stack { display: grid; gap: 1rem; }
.mv-card .ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft);
  display: grid; place-items: center; color: var(--green-dark);
}
.mv-card h3 { margin: 0 0 .35rem; font-size: 1.15rem; }

/* Timeline */
.timeline { display: grid; gap: 1rem; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 42px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--green-mist), transparent);
}
.timeline-item {
  display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: stretch;
}
.timeline-item .year {
  background: var(--green-dark); color: #fff; border-radius: 999px; padding: .85rem .5rem;
  text-align: center; font-weight: 800; font-size: .9rem; z-index: 1; align-self: center;
}
.timeline-item .body {
  background: #fff; border-radius: 22px; padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-soft); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.timeline-item .body strong { display: block; font-family: var(--font-display); color: var(--green-dark); font-size: 1.1rem; margin-bottom: .25rem; }
.timeline-item .body p { margin: 0; }
.timeline-item .ticon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft);
  display: grid; place-items: center; flex-shrink: 0; color: var(--green-dark); font-size: 1.1rem;
}

/* Team */
.team-card { padding: 1.3rem 1rem 1.4rem; text-align: center; background: rgba(255,255,255,.9); }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 0.95rem; overflow: hidden;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  box-shadow: 0 0 0 4px #fff, 0 8px 24px rgba(15,51,32,.12);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-section {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(143,173,150,.18), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(201,106,46,.08), transparent 35%),
    var(--bg-soft);
}

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(circle at 90% 40%, rgba(255,255,255,.08), transparent 35%),
    var(--green-dark);
  color: #fff; border-radius: var(--radius-lg); padding: 2rem 2.2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  box-shadow: var(--shadow);
}
.cta-banner h2 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.cta-banner p { margin: 0; opacity: .88; max-width: 28rem; }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }

/* Filters / forms */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .65rem 1rem;
  font-weight: 650; cursor: pointer; min-height: 44px;
}
.filter-btn.active { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.form {
  display: grid; gap: .85rem; background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-soft);
}
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: .35rem; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: .85rem .95rem; font: inherit; background: #fff;
}
.form textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }

.band-diff {
  border-radius: var(--radius-lg); padding: 2rem; color: #fff;
  background: linear-gradient(120deg, rgba(15,51,32,.92), rgba(201,106,46,.72)), url("img/impact.jpg") center/cover;
}
.band-diff h2 { color: #fff; }
.band-diff p { opacity: .95; max-width: 40rem; margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--i, 0) * .1s); }
.reveal.in { opacity: 1; transform: none; }
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .media-card, .btn, .persona-card, .media-thumb img { transition: none !important; transform: none !important; }
  .reveal { opacity: 1; }
  .seal .seal-spin { animation: none; }
  html { scroll-behavior: auto; }
}
html[data-reduce-motion="true"] .reveal { opacity: 1; transform: none; transition: none; }
html[data-reduce-motion="true"] .seal .seal-spin { animation: none; }
html[data-reduce-motion="true"] .media-thumb img { transform: none !important; }
html[data-reduce-motion="true"] .media-card:hover,
html[data-reduce-motion="true"] .btn:hover,
html[data-reduce-motion="true"] .persona-card:hover { transform: none; }
html[data-reduce-motion="true"] *,
html[data-reduce-motion="true"] *::before,
html[data-reduce-motion="true"] *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

/* Footer */
.site-footer {
  background: var(--green-dark); color: #fff; padding: 3.4rem 0 1.5rem; margin-top: -1px;
  position: relative; overflow: hidden;
}
main { margin-bottom: 0; padding-bottom: 0; }
main > .section:last-child {
  margin-bottom: 0;
  padding-bottom: 2.2rem;
}
.site-footer::after {
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 220px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.8rem; }
.site-footer a { color: rgba(255,255,255,.88); }
.site-footer h4 { margin: 0 0 .9rem; font-family: var(--font-display); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  display: grid; place-items: center; color: #fff;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.socials a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; display: block; }
.footer-bottom {
  margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65); font-size: .88rem;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.badge-proto {
  display: inline-flex; margin-top: .7rem; background: rgba(255,255,255,.12);
  padding: .35rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
  color: #fff !important; transition: background .25s ease;
}
.badge-proto:hover { background: rgba(255,255,255,.22); }
.empty-state {
  border: 1px dashed var(--line); border-radius: 16px; padding: .9rem; background: var(--bg); color: var(--muted); margin-top: .7rem;
}
.list-check { padding-left: 1.1rem; color: var(--muted); }
.list-check li { margin-bottom: .45rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.lead { color: var(--muted); max-width: 38rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green-soft); color: var(--green-dark); font-weight: 700;
  font-size: .78rem; padding: .4rem .75rem; border-radius: 999px; margin-bottom: 1rem;
}

/* Overflow safety */
.hero-immersive h1, .page-hero h1, .lead, .card p, .media-body p, .breadcrumb, .empty-state {
  overflow-wrap: anywhere; max-width: 100%;
}

/* Menu mobile */
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: .75rem; right: .75rem; top: calc(100% + .35rem);
    background: #fff; border: 1px solid var(--line); flex-direction: column;
    align-items: stretch; padding: .65rem; gap: .15rem; z-index: 90;
    border-radius: 22px; box-shadow: 0 24px 50px rgba(15,51,32,.18);
  }
  .header-tools { position: static; }
  .site-header { position: sticky; }
  .nav.open { display: flex; }
  .nav.open > a:not(.btn),
  .nav.open .nav-item > a {
    padding: .95rem 1rem; border-radius: 14px; font-size: 1rem;
    min-height: 48px; color: var(--ink);
  }
  .nav.open > a:not(.btn):hover,
  .nav.open > a.active,
  .nav.open .nav-item > a:hover,
  .nav.open .nav-item > a.active { background: var(--green-soft); color: var(--green-dark); }
  .nav.open > a.active::after,
  .nav.open .nav-item > a.active::after { display: none; }
  .nav.open .btn-primary {
    margin-top: .4rem; width: 100%; justify-content: center;
  }
  .nav-item { display: block; width: 100%; }
  .nav-dropdown { display: none !important; }
  body.home .site-header:not(.is-scrolled) .nav.open { background: #fff; }
  body.home .site-header:not(.is-scrolled) .nav.open > a:not(.btn),
  body.home .site-header:not(.is-scrolled) .nav.open .nav-item > a { color: var(--ink); }
}

/* Mobile layout */
@media (max-width: 960px) {
  .persona-rail, .grid-4, .grid-3, .grid-2, .stats, .oremi, .footer-grid, .form-row,
  .timeline-item, .raison, .page-hero-split, .about-duo, .values-row, .hero-stats, .cta-banner {
    grid-template-columns: 1fr;
  }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hero-stats .stat-item { border: none; padding: .4rem; background: rgba(255,255,255,.06); border-radius: 12px; text-align: center; }
  .hero-stats .stat-item:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
  .section-head, .cta-banner { flex-direction: column; align-items: start; }
  .hero-immersive { min-height: auto; }
  .hero-immersive .hero-inner { padding-top: 6.5rem; padding-bottom: 1.2rem; }
  .hero-immersive h1 { font-size: 1.85rem; max-width: none; }
  .hero-actions .btn { width: 100%; }
  .persona-card { min-height: 260px; }
  .blob-frame { height: 300px; }
  .raison-visual .blob-frame { height: clamp(340px, 52vw, 440px); }
  .quote-float { position: relative; left: 0; bottom: 0; max-width: none; margin-top: 1rem; }
  .raison-visual { min-height: 0; }
  .raison-visual .seal { position: relative; top: 0; right: 0; margin: 1rem auto; }
  .timeline::before { display: none; }
  .topbar { justify-content: flex-start; }
  .float-badge { width: 96px; height: 96px; font-size: .6rem; }
}

/* --- Awwwards iteration: a11y compact + editorial layouts --- */
.header-tools {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; justify-content: flex-end; flex: 1;
}
.header-tools .nav { margin-left: .4rem; }
@media (min-width: 1021px) {
  .header-tools .menu-toggle { display: none; }
}
.a11y-cluster {
  display: inline-flex; gap: 0; align-items: center; justify-content: center;
  padding: 0; border: none; background: transparent;
}
body.home .site-header:not(.is-scrolled) .a11y-cluster {
  background: transparent; border-color: transparent;
}
.chip-btn.compact {
  padding: 0; width: 40px; height: 40px; min-height: 40px; min-width: 40px; font-size: .68rem;
  border: 1px solid var(--line); background: rgba(255,255,255,.85); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  font-weight: 700; letter-spacing: 0; box-sizing: border-box;
}
.topbar { display: none; } /* moved into header-tools */
.header-inner { gap: .75rem; }
.nav { gap: .75rem; }

.page-hero-pro {
  padding: 3rem 0 1.5rem; position: relative; overflow: hidden;
}
.page-hero-pro::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 46%; height: 80%;
  background: radial-gradient(circle, rgba(143,173,150,.22), transparent 70%);
  pointer-events: none;
}
.kicker {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}

/* Editorial feature */
.feature-hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: stretch;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.feature-hero .copy { padding: 2rem 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.feature-hero .visual { min-height: 340px; position: relative; }
.feature-hero .visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature-hero .tag {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  background: rgba(15,51,32,.85); color: #fff; padding: .45rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
}
.feature-hero.flip { grid-template-columns: .85fr 1.15fr; }
.feature-hero.flip .visual { order: -1; }

.editorial-stack { display: grid; gap: 1.4rem; }
.program-rail {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem;
}
.program-rail .side { display: grid; gap: 1.2rem; }
.program-mini {
  display: grid; grid-template-columns: 120px 1fr; gap: 1rem; background: #fff;
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); min-height: 140px;
  transition: transform .3s ease;
}
.program-mini:hover { transform: translateY(-4px); }
.program-mini img { width: 100%; height: 100%; object-fit: cover; }
.program-mini .body { padding: 1rem 1rem 1rem 0; display: flex; flex-direction: column; justify-content: center; }

/* Magazine news */
.mag-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.2rem;
}
.mag-main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  box-shadow: var(--shadow); color: #fff;
}
.mag-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mag-main .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8,24,14,.88));
}
.mag-main .content { position: relative; z-index: 2; padding: 1.6rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.mag-main h3 { color: #fff; font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); margin: .4rem 0; }
.mag-side { display: grid; gap: 1rem; }
.mag-card {
  display: grid; grid-template-columns: 110px 1fr; gap: .9rem; background: #fff;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-soft); min-height: 118px;
  transition: transform .25s ease;
}
.mag-card:hover { transform: translateY(-3px); }
.mag-card img { width: 100%; height: 100%; object-fit: cover; }
.mag-card .body { padding: .85rem .9rem .85rem 0; }
.news-grid-premium {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.4rem;
}

/* Media library */
.media-library {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.2rem;
}
.media-feature {
  border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 380px;
  box-shadow: var(--shadow); color: #fff;
}
.media-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-feature .shade { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(15,51,32,.2), rgba(15,51,32,.85)); }
.media-feature .content { position: relative; z-index: 2; padding: 1.6rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.media-feature h3 { color: #fff; font-family: var(--font-display); font-size: 1.8rem; }
.media-tiles { display: grid; gap: 1rem; }
.media-tile {
  background: #fff; border-radius: 22px; padding: 1.2rem; box-shadow: var(--shadow-soft);
  display: grid; grid-template-columns: 56px 1fr; gap: .9rem; align-items: start;
  transition: transform .25s ease;
}
.media-tile:hover { transform: translateY(-3px); }
.media-tile .mark {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: .85rem;
}
.media-tile.podcast .mark { background: var(--accent-soft); color: var(--accent); }
.media-tile.revue .mark { background: #eef3ff; color: #3551a0; }
.media-tile.rapports .mark { background: #f3efe8; color: #6b5535; }

/* Support lanes */
.support-lanes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.support-lane {
  border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; min-height: 280px;
  display: flex; flex-direction: column; gap: .7rem; position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.support-lane.don { background: linear-gradient(160deg, var(--green-dark), var(--green)); color: #fff; }
.support-lane.don h3, .support-lane.don p { color: #fff; }
.support-lane.join { background: #fff; }
.support-lane.partner { background: linear-gradient(160deg, #fff, var(--accent-soft)); }
.support-lane .num {
  font-family: var(--font-display); font-size: 2.4rem; opacity: .35; line-height: 1;
}
.support-lane code {
  display: inline-block; background: rgba(255,255,255,.14); padding: .55rem .75rem;
  border-radius: 12px; font-size: .85rem;
}

/* Detail storytelling */
.detail-hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: center;
}
.detail-hero .blob {
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%; overflow: hidden; min-height: 360px;
  box-shadow: var(--shadow);
}
.detail-hero .blob img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.result-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.result-pills span {
  background: var(--green-soft); color: var(--green-dark); padding: .45rem .8rem;
  border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.detail-panel {
  background: #fff; border-radius: 24px; padding: 1.3rem; box-shadow: var(--shadow-soft);
}

/* Home programmes asymmetric */
.home-programs {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.1rem;
}
.home-programs .stack { display: grid; gap: 1.1rem; }
.program-feature-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px;
  color: #fff; box-shadow: var(--shadow);
}
.program-feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program-feature-card .shade {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,24,14,.9));
}
.program-feature-card .content {
  position: relative; z-index: 2; padding: 1.6rem; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.program-feature-card h3 { color: #fff; font-size: 1.8rem; font-family: var(--font-display); }

.oremi-section {
  background: var(--green-dark);
}
.oremi-section .oremi-pro {
  background: #fff;
}
.section.oremi-band {
  background: var(--green-dark);
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}
.form-with-visual {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  min-height: 420px;
}
.form-with-visual .form {
  box-shadow: none;
  border-radius: 0;
  padding: 2rem 1.8rem;
  align-content: start;
}
.form-with-visual .visual {
  position: relative;
  min-height: 280px;
}
.form-with-visual .visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oremi-pro {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); background: #fff;
}
.oremi-pro .copy {
  padding: 2rem 1.8rem;
  background: #fff;
}
.oremi-pro .visual { position: relative; min-height: 280px; }
.oremi-pro .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oremi-pro .eyebrow { background: var(--green-soft); }
.oremi-pro h2 { color: var(--green-dark); }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.trust-row span {
  border: 1px solid rgba(201,106,46,.25); background: #fff; color: var(--accent);
  padding: .4rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.phone-capsule {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--green-dark); color: #fff; padding: .85rem 1.2rem; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-top: .8rem;
}
.phone-capsule .btn-svg { width: 1.2rem; height: 1.2rem; }

.team-mosaic {
  display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 1rem;
}
.team-mosaic .team-card.lead {
  grid-row: span 2; padding: 1.6rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.team-mosaic .team-card.lead .avatar { width: 140px; height: 140px; }

.texture-dots {
  background-image: radial-gradient(rgba(26,77,46,.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

@media (max-width: 960px) {
  .feature-hero, .feature-hero.flip, .program-rail, .mag-grid, .media-library,
  .support-lanes, .detail-hero, .home-programs, .oremi-pro, .form-with-visual, .team-mosaic, .news-grid-premium {
    grid-template-columns: 1fr;
  }
  .form-with-visual .visual { min-height: 220px; }
  .feature-hero.flip .visual { order: 0; }
  .program-mini { grid-template-columns: 96px 1fr; }
  .mag-main { min-height: 320px; }
  .program-feature-card { min-height: 340px; }
  .team-mosaic .team-card.lead { grid-row: auto; }
  .detail-hero .blob, .detail-hero .blob img { min-height: 240px; }
  .support-lane { min-height: 0; }
  .a11y-cluster { order: 2; }
}

.footer-logo {
  height: 52px; width: auto; background: rgba(255,255,255,.08);
  border-radius: 12px; padding: .35rem .55rem;
}
.footer-tagline { margin: 1rem 0 .5rem; opacity: .92; }
.link-more[aria-disabled="true"] { opacity: .55; cursor: default; color: var(--muted); }

/* Lang chip - single circle, optically centered */
.a11y-cluster {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border: none; background: transparent;
}
body.home .site-header:not(.is-scrolled) .a11y-cluster {
  background: transparent; border: none;
}
.chip-btn.compact {
  padding: 0; width: 40px; height: 40px; min-height: 40px; min-width: 40px;
  border: 1px solid var(--line); background: rgba(255,255,255,.85); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; line-height: 1; letter-spacing: 0;
  text-align: center; box-sizing: border-box;
}
body.home .site-header:not(.is-scrolled) .chip-btn.compact {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); color: #fff;
}

.media-tile p, .mag-card .body p, .program-mini .body p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.media-tile .empty-state { -webkit-line-clamp: unset; display: block; overflow: visible; }

/* Soutenir: break symmetry */
@media (min-width: 961px) {
  .support-lanes { grid-template-columns: 1.25fr .9fr .9fr; align-items: stretch; }
  .support-lane.don { min-height: 340px; transform: translateY(-8px); }
}

/* Differentiate programme detail variants */
body.prog-fonaj .detail-hero .blob { border-radius: 28px; }
body.prog-femmes .detail-hero { grid-template-columns: .9fr 1.1fr; }
body.prog-femmes .detail-hero .blob { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; order: -1; }
body.prog-reveelles .detail-hero .blob { border-radius: 50%; }
body.prog-reveelles .page-hero-pro { background: linear-gradient(180deg, var(--accent-soft), transparent 60%); }


/* --- Mobile-native Awwwards pass --- */
@media (max-width: 960px) {
  .hero-immersive { min-height: auto; }
  .hero-immersive .hero-inner { padding: 5.5rem 0 1rem; }
  .hero-immersive h1 { font-size: clamp(1.65rem, 8vw, 2.1rem); max-width: 12ch; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: .5rem; padding: .85rem; }
  .persona-rail { gap: .75rem; }
  .persona-card { min-height: 240px; padding: 1.15rem 1.1rem 5.2rem; }
  .persona-card .persona-visual { width: 96px; height: 96px; }
  .page-hero-pro { padding: 1.6rem 0 1rem; }
  .page-hero-pro h1, .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .section { padding: 2.6rem 0; }
  .section.oremi-band { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .feature-hero .visual { min-height: 220px; }
  .feature-hero .copy { padding: 1.3rem 1.15rem; }
  .mag-main { min-height: 280px; }
  .mag-card { grid-template-columns: 88px 1fr; }
  .media-feature { min-height: 280px; }
  .oremi-pro .copy { padding: 1.4rem 1.2rem; }
  .oremi-pro .visual { min-height: 200px; }
  .support-lane { padding: 1.3rem 1.15rem; }
  .cta-banner { padding: 1.4rem 1.2rem; border-radius: 24px; }
  .detail-hero .copy h1 { font-size: 1.7rem; }
  .timeline-item { grid-template-columns: 72px 1fr; gap: .75rem; }
  .header-inner { min-height: 64px; }
  .float-badge { width: 88px; height: 88px; font-size: .55rem; }
  .blob-frame { height: 240px; }
  .raison-visual .blob-frame { height: clamp(340px, 52vw, 440px); }
  .raison-visual .blob-frame img { object-position: center 18%; }
  .quote-float { font-size: 1.05rem; padding: 1rem; }
  .team-mosaic { grid-template-columns: 1fr 1fr; }
  .team-mosaic .team-card.lead { grid-column: 1 / -1; }
  .home-programs .program-feature-card { min-height: 280px; }
  .btn { width: auto; }
  .hero-actions .btn { width: 100%; }
  .filters { gap: .4rem; }
  .filter-btn { padding: .55rem .85rem; font-size: .82rem; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .persona-card h3 { font-size: 1.1rem; }
  .mag-side { gap: .75rem; }
}

:root { --radius-sm: 24px; }
.program-mini, .mag-card, .detail-panel, .media-tile, .mv-card { border-radius: var(--radius-sm); }
.values-row-asymm .value-item:first-child {
  background: var(--green-soft); border-radius: var(--radius); padding: 1rem;
}
@media (min-width: 961px) {
  .values-row-asymm { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-immersive .hero-bg img.is-active { animation: none; }
  .persona-orbit { animation: none; }
}

/* ——— Inner pages: dark green heroes + header ——— */
body:not(.home) .site-header {
  background: var(--green-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body:not(.home) .logo-short,
body:not(.home) .logo-full { color: #fff; }
body:not(.home) .nav > a:not(.btn),
body:not(.home) .nav-item > a { color: rgba(255,255,255,.88); }
body:not(.home) .nav > a:not(.btn):hover,
body:not(.home) .nav-item > a:hover { color: #f0b48a; }
body:not(.home) .nav > a.active:not(.btn),
body:not(.home) .nav-item > a.active { color: #fff; }
body:not(.home) .nav > a.active:not(.btn)::after,
body:not(.home) .nav-item > a.active::after { background: var(--accent); }
body:not(.home) .menu-toggle {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff;
}
body:not(.home) .chip-btn.compact {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff;
}
body:not(.home) .page-hero-pro {
  background: var(--green-dark);
  color: #fff;
  padding: 2.2rem 0 3.2rem;
}
body:not(.home) .page-hero-pro::before {
  display: none;
}
body:not(.home) .page-hero-pro h1 { color: #fff; }
body:not(.home) .page-hero-pro .lead { color: rgba(255,255,255,.86); }
body:not(.home) .page-hero-pro .kicker {
  color: #f0b48a; background: transparent; padding: 0; margin-bottom: .85rem;
}
body:not(.home) .page-hero-pro .btn-primary { box-shadow: none; }
body:not(.home) .page-hero-pro .hero-actions { margin-top: 1.1rem; }
body:not(.home) .about-hero-visual .blob-frame {
  box-shadow: none;
  filter: none;
}
body.prog-reveelles .page-hero-pro {
  background: var(--green-dark) !important;
}

/* Section link: top on desktop, bottom on mobile */
.section-block { display: flex; flex-direction: column; gap: 1.2rem; }
.section-link-bottom { display: none; }
@media (max-width: 960px) {
  .section-link-top { display: none !important; }
  .section-link-bottom {
    display: inline-flex; align-self: flex-start; margin-top: .25rem;
  }
  .persona-section .section-link-bottom { color: #fff; }
}

/* Persona mobile: full-width text + vertically centered image */
@media (max-width: 960px) {
  .persona-card {
    display: flex; flex-direction: row; align-items: center; gap: 1rem;
    padding: 1.15rem 1.1rem; min-height: 0;
  }
  .persona-card .persona-copy {
    flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4rem;
  }
  .persona-card h3,
  .persona-card p { max-width: none; }
  .persona-card .persona-visual {
    position: relative; right: auto; bottom: auto; flex-shrink: 0;
    width: 92px; height: 92px; margin: 0;
  }
  .persona-card { position: relative; }
}

/* Mobile menu: right cluster (lang + icon), panel, outside close */
@media (max-width: 1020px) {
  .header-tools {
    margin-left: auto; width: auto; justify-content: flex-end; gap: .45rem;
    position: relative;
  }
  .header-tools .a11y-cluster { order: 1; }
  .header-tools .menu-toggle { order: 2; display: inline-flex; }
  .header-tools .nav {
    order: 3; left: auto; right: 0; width: min(320px, calc(100vw - 1.5rem));
  }
  .nav .btn-primary { width: 100%; }
  body.menu-open::before {
    content: ""; position: fixed; inset: 0; background: rgba(8,24,14,.42);
    z-index: 70; backdrop-filter: blur(2px);
  }
  body.menu-open .site-header { z-index: 80; }
  body:not(.home) .nav.open > a:not(.btn),
  body:not(.home) .nav.open .nav-item > a { color: var(--ink); }
  body:not(.home) .nav.open > a:not(.btn):hover,
  body:not(.home) .nav.open .nav-item > a:hover { color: var(--accent); }
  body:not(.home) .nav.open > a.active:not(.btn),
  body:not(.home) .nav.open .nav-item > a.active { color: var(--green-dark); }
}

/* ——— Accents de titre : orange sans italique ——— */
.hero-immersive h1 em,
.page-hero-pro h1 em,
h1 em {
  color: var(--accent) !important;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 650;
}
body:not(.home) .page-hero-pro em {
  color: var(--accent) !important;
  font-style: normal !important;
}
body.home h2 em {
  font-style: normal;
}

/* About hero: no shadow on illustration */
.about-hero-visual .blob-frame,
body:not(.home) .about-hero-visual .blob-frame {
  box-shadow: none !important;
  filter: none;
}

/* Mission / Vision aesthetic */
.mv-stack { display: grid; gap: 1rem; }
.mv-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: #fff; border-radius: 28px; padding: 1.5rem 1.4rem 1.5rem 1.3rem;
  border: 1px solid var(--line);
  transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
}
.mv-card .mv-num {
  position: absolute; right: 1rem; top: .85rem;
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 650;
  color: rgba(26,77,46,.1); line-height: 1;
}
.mv-card .ico {
  width: 52px; height: 52px; border-radius: 18px;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; font-size: 1.25rem;
}
.mv-card h3 {
  margin: 0 0 .45rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--green-dark);
}
.mv-card p { margin: 0; color: var(--muted); }
.mv-mission { background: linear-gradient(145deg, #fff 55%, var(--green-soft)); }
.mv-vision { background: linear-gradient(145deg, #fff 50%, var(--accent-soft)); }
.mv-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background: var(--green-dark); color: #fff;
}
.mv-card:hover h3, .mv-card:hover p { color: #fff; }
.mv-card:hover .ico { background: rgba(255,255,255,.12); color: #fff; }
.mv-card:hover .mv-num { color: rgba(255,255,255,.12); }

/* Frise scroll-stack : cartes section (pas plein écran) qui se superposent */
.frise-story {
  background: var(--bg);
  padding: 3.25rem 0 4rem;
}
.frise-story-inner {
  position: relative;
}
.frise-story-intro {
  position: relative;
  z-index: 1;
  padding: .35rem 0 1.35rem;
}
.frise-story-intro h2 {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}
.frise-story-intro p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
}
.frise-panels {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1rem;
}
.frise-panel {
  position: sticky;
  top: 5.5rem;
  z-index: var(--z, 1);
  height: min(68vh, 560px);
  min-height: 360px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
}
/* Dernière étape : scroll normal, sans sticky bloquant */
.frise-panel:last-child {
  position: relative;
  top: auto;
}
.frise-panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.frise-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--frise-zoom, 1.05));
  transform-origin: center center;
  will-change: transform;
}
.frise-panel-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 14, .72) 0%, rgba(8, 24, 14, .42) 48%, rgba(8, 24, 14, .18) 100%),
    linear-gradient(180deg, rgba(8, 24, 14, .28) 0%, rgba(8, 24, 14, .22) 50%, rgba(8, 24, 14, .35) 100%);
}
.frise-panel-content {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 36rem);
  margin: 0 0 0 1.75rem;
  color: #fff;
}
.frise-panel-year {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
}
.frise-panel-content h3 {
  margin: 0 0 .65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.12;
  font-weight: 650;
}
.frise-panel-content p {
  margin: 0;
  font-size: clamp(.92rem, 1.4vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  max-width: 32rem;
}
@media (max-width: 960px) {
  .frise-panel {
    top: 4.75rem;
    height: min(62vh, 480px);
    min-height: 300px;
    border-radius: var(--radius);
  }
  .frise-panel-content {
    margin: 0 1.15rem;
    width: auto;
  }
  .frise-panel-content h3 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
}
@media (prefers-reduced-motion: reduce) {
  .frise-panel { position: relative; top: auto; }
  .frise-panel {
    height: auto;
    min-height: 280px;
  }
  .frise-panel-content { padding-top: 0; }
  .frise-panel-media img {
    transform: scale(1.05);
    will-change: auto;
  }
}

/* Team cards: orbit + hover + LinkedIn */
.team-card {
  background: #fff; border-radius: var(--radius); padding: 1.25rem 1.1rem 1.3rem;
  text-align: center; border: 1px solid transparent;
  transition: background .35s ease, color .35s ease, transform .35s ease, border-color .35s ease;
}
.team-card .avatar {
  position: relative; width: 110px; height: 110px; margin: 0 auto 1rem;
  border-radius: 50%;
}
.team-card .avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  transition: transform .45s ease;
  position: relative; z-index: 1;
}
.avatar-orbit {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px dashed rgba(26,77,46,.4);
  animation: orbitSpin 14s linear infinite;
  pointer-events: none;
}
.team-card h3 {
  margin: 0 0 .25rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--green-dark);
  transition: color .35s ease;
}
.team-card p { margin: 0 0 .75rem; color: var(--muted); font-size: .88rem; transition: color .35s ease; }
.team-li {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; border-radius: 6px;
  border: none; background: var(--green-dark); color: #fff; line-height: 0;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.team-li svg { width: 16px; height: 16px; display: block; }
.team-card:hover {
  background: var(--green-dark); color: #fff; transform: translateY(-4px);
  border-color: var(--green-dark);
}
.team-card:hover h3, .team-card:hover p { color: #fff; }
.team-card:hover .avatar img { transform: scale(1.08); }
.team-card:hover .avatar-orbit { border-color: rgba(255,255,255,.45); }
.team-card:hover .team-li {
  background: var(--accent); color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.team-card.lead .avatar { width: 140px; height: 140px; }
.team-join {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  background: var(--green-soft); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem;
}
.team-join h3 {
  margin: 0 0 .35rem; font-family: var(--font-display); color: var(--green-dark); font-size: 1.4rem;
}
.team-join p { margin: 0; color: var(--muted); }
.team-section .section-link-bottom { display: none; }
@media (max-width: 960px) {
  .team-section .section-link-top { display: none !important; }
  .team-section .section-link-bottom { display: inline-flex; margin-top: 1rem; }
  .team-join { flex-direction: column; align-items: flex-start; }
}

/* Chatbot Sophie (option Webikoo) */
.chatbot-root {
  position: fixed; right: 1.85rem; bottom: 1.1rem; z-index: 75;
}
/* Accueil : remonter Sophie pour ne pas masquer le sceau JEUNESSE • SANTÉ • DROITS */
body.home .chatbot-root {
  bottom: calc(1.1rem + 50px);
}
.chatbot-fab {
  position: relative;
  width: 68px; height: 68px;
  z-index: 2;
}
.chatbot-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(45, 107, 69, .55);
  pointer-events: none;
  animation: sophie-ring-spin 16s linear infinite;
}
.chatbot-ring::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 106, 46, .4);
  animation: sophie-ring-spin-rev 22s linear infinite;
}
.chatbot-satellites {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  pointer-events: none;
  animation: sophie-ring-spin 11s linear infinite;
}
.chatbot-sat {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  left: 50%;
  margin-left: -4px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85);
}
.chatbot-sat--green {
  top: -1px;
  background: var(--green-mid);
}
.chatbot-sat--orange {
  bottom: -1px;
  width: 7px; height: 7px;
  margin-left: -3.5px;
  background: var(--accent);
}
.chatbot-toggle {
  width: 68px; height: 68px; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  background: transparent; padding: 0; overflow: hidden;
  display: grid; place-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 28px rgba(15,51,32,.24);
  position: relative; z-index: 2;
}
.chatbot-toggle:hover { transform: translateY(-2px) scale(1.04); }
.chatbot-toggle img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
}
@keyframes sophie-ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes sophie-ring-spin-rev {
  to { transform: rotate(-360deg); }
}
.chatbot-head-identity { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.chatbot-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.35); flex-shrink: 0;
}
.chatbot-panel {
  position: absolute; right: 0; bottom: calc(100% + 1.15rem);
  width: min(340px, calc(100vw - 2rem));
  background: #fff; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(15,51,32,.18);
  overflow: hidden; display: none; flex-direction: column;
  max-height: min(420px, 70vh);
}
.chatbot-root.is-open .chatbot-panel { display: flex; }
.chatbot-panel[hidden] { display: none !important; }
.chatbot-root.is-open .chatbot-panel[hidden] { display: flex !important; }
.chatbot-head {
  background: var(--green-dark); color: #fff; padding: .9rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.chatbot-head strong { font-size: .92rem; }
.chatbot-head span { display: block; font-size: .72rem; opacity: .8; font-weight: 500; }
.chatbot-close {
  border: none; background: rgba(255,255,255,.12); color: #fff;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.chatbot-messages {
  padding: .9rem; display: flex; flex-direction: column; gap: .55rem;
  overflow-y: auto; flex: 1; background: var(--bg-soft); min-height: 180px;
}
.chat-bubble {
  max-width: 90%; padding: .65rem .8rem; border-radius: 16px; font-size: .84rem; line-height: 1.45;
}
.chat-bubble.bot { background: #fff; color: var(--ink); align-self: flex-start; border: 1px solid var(--line); }
.chat-bubble.user { background: var(--green-dark); color: #fff; align-self: flex-end; }
.chatbot-form {
  display: flex; gap: .4rem; padding: .65rem; border-top: 1px solid var(--line); background: #fff;
}
.chatbot-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .65rem .9rem;
  font: inherit; font-size: .85rem; min-width: 0;
}
.chatbot-form button {
  border: none; border-radius: 999px; background: var(--accent); color: #fff;
  padding: .65rem .95rem; font-weight: 700; font-size: .82rem; cursor: pointer;
}

/* Sophie welcome tip / notification */
.sophie-tip {
  position: absolute; right: 0; bottom: calc(100% + 1.15rem);
  width: min(280px, calc(100vw - 5.5rem));
  background: #fff; color: var(--ink);
  border-radius: 18px 18px 6px 18px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15,51,32,.18);
  padding: .85rem 2rem .9rem .95rem;
  opacity: 0; transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1);
  z-index: 3;
}
.sophie-tip.is-visible {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.sophie-tip.is-hiding {
  opacity: 0; transform: translateY(8px) scale(.98);
  pointer-events: none;
}
.sophie-tip[hidden] { display: none !important; }
.sophie-tip:not([hidden]) { display: block; }
.sophie-tip-body {
  display: block; width: 100%; border: none; background: transparent;
  text-align: left; padding: 0; cursor: pointer; font: inherit; color: inherit;
}
.sophie-tip-body strong {
  display: block; font-size: .82rem; color: var(--green-dark); margin-bottom: .25rem;
}
.sophie-tip-body span {
  display: block; font-size: .8rem; line-height: 1.45; color: var(--muted);
}
.sophie-tip-close {
  position: absolute; top: .35rem; right: .4rem;
  width: 28px; height: 28px; border: none; border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.sophie-tip-close:hover { background: var(--bg-soft); color: var(--ink); }
.sophie-tip::after {
  content: ""; position: absolute; right: 1.35rem; bottom: -7px;
  width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); transform: rotate(45deg);
}

@media (max-width: 960px) {
  .chatbot-root { right: 1.45rem; bottom: .95rem; }
  body.home .chatbot-root { bottom: calc(.95rem + 50px); }
  .chatbot-fab,
  .chatbot-toggle { width: 64px; height: 64px; }
  .sophie-tip { width: min(250px, calc(100vw - 5rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .sophie-tip { transition: opacity .2s ease; transform: none; }
  .chatbot-ring,
  .chatbot-ring::after,
  .chatbot-satellites { animation: none; }
}

/* ——— Curseur custom + transitions de page (desktop only) ——— */
.page-transition {
  position: fixed; inset: 0; z-index: 9998;
  display: grid; place-items: center;
  background: var(--green-dark);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .7s cubic-bezier(.22,1,.36,1),
    visibility 0s linear .7s;
}
.page-transition.is-covering {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition:
    opacity .55s cubic-bezier(.22,1,.36,1),
    visibility 0s linear 0s;
}
.page-transition.is-booting {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: none;
}
.page-transition-logo {
  width: clamp(72px, 12vw, 110px);
  height: auto;
  opacity: 0;
  transform: scale(.92) translateY(8px);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.2));
  transition:
    opacity .45s ease .12s,
    transform .55s cubic-bezier(.22,1,.36,1) .12s;
}
.page-transition.is-covering .page-transition-logo,
.page-transition.is-booting .page-transition-logo {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.page-transition.is-revealing .page-transition-logo {
  opacity: 0;
  transform: scale(1.04) translateY(-6px);
  transition:
    opacity .4s ease,
    transform .5s cubic-bezier(.22,1,.36,1);
}
body.is-page-enter main {
  opacity: 0;
  transform: translateY(22px);
}
body.is-page-ready main {
  opacity: 1;
  transform: none;
  transition: opacity .75s ease .15s, transform .85s cubic-bezier(.22,1,.36,1) .15s;
}

@media (min-width: 961px) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }
  .jvs-cursor {
    position: fixed;
    left: 0; top: 0;
    width: 52px; height: 52px;
    margin: -26px 0 0 -26px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .jvs-cursor.is-on { opacity: 1; }
  .jvs-cursor-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1.6px solid transparent;
    border-top-color: var(--accent);
    border-right-color: rgba(201, 106, 46, .35);
    border-bottom-color: rgba(201, 106, 46, .12);
    border-left-color: rgba(201, 106, 46, .55);
    animation: jvs-cursor-orbit 2.2s linear infinite;
  }
  .jvs-cursor.is-hover .jvs-cursor-ring {
    border-top-color: var(--accent);
    border-right-color: rgba(255,255,255,.7);
    border-bottom-color: rgba(201, 106, 46, .4);
    border-left-color: var(--accent);
    animation: jvs-cursor-orbit-hover 1s linear infinite;
  }
  .jvs-cursor.is-hover-light .jvs-cursor-ring {
    border-top-color: #fff;
    border-right-color: rgba(255,255,255,.75);
    border-bottom-color: rgba(255,255,255,.25);
    border-left-color: rgba(255,255,255,.9);
  }
  .jvs-cursor-arrow {
    position: absolute;
    left: 50%; top: 50%;
    width: 17px; height: 17px;
    margin: -8.5px 0 0 -7px;
    color: var(--accent);
    filter: drop-shadow(0 1px 1px rgba(15,51,32,.18));
    transition: transform .3s ease, color .25s ease, filter .25s ease;
  }
  .jvs-cursor.is-hover .jvs-cursor-arrow {
    transform: scale(1.08);
  }
  .jvs-cursor.is-hover-light .jvs-cursor-arrow {
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(15,51,32,.35));
  }
  @keyframes jvs-cursor-orbit {
    to { transform: rotate(360deg); }
  }
  @keyframes jvs-cursor-orbit-hover {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.18) rotate(90deg); }
    50% { transform: scale(1.06) rotate(180deg); }
    75% { transform: scale(1.2) rotate(270deg); }
    100% { transform: scale(1) rotate(360deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-transition { display: none !important; }
  body.is-page-enter main,
  body.is-page-ready main {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .jvs-cursor { display: none !important; }
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: auto !important; }
}

