/* ═══════════════════════════════════════════════════════════════
   ORGAN — refonte unifiée
   Direction : color blocking franc + typographie éditoriale XL
   ═══════════════════════════════════════════════════════════════ */

/* ── Poppins self-hosted (Charte graphique/Typo Poppins) ──
   Poppins est l'unique typographie du site (voir --font-mono ci-dessous). */
@font-face {
  font-family: 'Poppins';
  src: url("../Charte%20graphique/Typo%20Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url("../Charte%20graphique/Typo%20Poppins/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url("../Charte%20graphique/Typo%20Poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url("../Charte%20graphique/Typo%20Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url("../Charte%20graphique/Typo%20Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url("../Charte%20graphique/Typo%20Poppins/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url("../Charte%20graphique/Typo%20Poppins/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ── Brand colors ── */
  --teal:      #00B2A9;
  --teal-dark: #008A82;
  --teal-deep: #00524E;
  --teal-soft: #D9F4F2;
  --teal-pale: #ECF8F6;

  --coral:      #FF6F61;
  --coral-dark: #E04F40;
  --coral-soft: #FFE3DE;

  --blue:      #005EB8;
  --blue-dark: #003E7E;
  --blue-soft: #DBE9F7;

  --purple:      #B98ED4;
  --purple-dark: #6E3D8E;
  --purple-deep: #4A2D5E;
  --purple-soft: #EFE2F8;
  --purple-pale: #F7F1FB;

  /* ── Surface ── */
  --ink:    #161616;
  --ink-2:  #2E2E2E;
  --grey-1: #F5F5F5;
  --grey-2: #EAEAEA;
  --grey-3: #BDBDBD;
  --grey-4: #6B6B6B;
  --paper:  #F5F5F5;
  --white:  #FFFFFF;

  /* ── Density-aware spacing ── */
  --gutter:   60px;
  --section-y: 80px;
  --section-y-sm: 40px;

  /* ── Type ── */
  --font-sans:    'Poppins', system-ui, sans-serif;
  --font-display: 'Poppins', system-ui, sans-serif;
  /* Poppins est l'unique typographie du site : --font-mono garde son nom pour ne pas
     retoucher chaque usage (eyebrows, tags, CTA, nav), mais pointe vers Poppins. */
  --font-mono:    'Poppins', system-ui, sans-serif;

  /* Échelle harmonisée des titres hero (home + pages internes) : un seul palier,
     plafonné à 140px (validé par Rachel) pour garder la présence éditoriale XL du site. */
  --hero-title-size: clamp(48px, 7vw, 140px);
}

[data-density="compact"] {
  --gutter:   40px;
  --section-y: 80px;
  --section-y-sm: 56px;
}
[data-density="airy"] {
  --gutter:   88px;
  --section-y: 160px;
  --section-y-sm: 112px;
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --hero-title-size: clamp(36px, 9vw, 48px);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ═══ TYPOGRAPHY SYSTEM ═══ */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.num-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.lead.large { font-size: 19px; }
.lead.dim { color: var(--grey-4); }


/* ═══ NAV ═══ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 var(--gutter);
  height: 76px;
  gap: 32px;
}
@media (max-width: 1200px) {
  .nav { gap: 18px; padding: 0 28px; }
  .nav-links { gap: 18px !important; }
  .nav-links a { font-size: 12px !important; }
  .nav .btn { padding: 10px 14px !important; font-size: 11.5px !important; }
  .nav-logo-img { height: 22px !important; }
}
@media (max-width: 1100px) {
  .nav-links { display: none !important; }
  .nav-burger { display: inline-flex !important; }
  .nav-right .btn { display: none !important; }
  .nav-logo-img { height: 28px !important; }
}

/* Burger : caché au desktop, affiché < 1100px (voir media query ci-dessus). */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--grey-2);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panneau mobile : déroule sous la nav. Hauteur auto, max-height = viewport - nav
   comme garde-fou si petit écran paysage ; overflow scroll si besoin. */
.nav-mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 12px var(--gutter) 20px;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}
.nav-mobile-panel[hidden] { display: none; }
.nav-mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.nav-mobile-links li + li { border-top: 1px solid rgba(0, 0, 0, 0.06); }
.nav-mobile-links a {
  display: block;
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-mobile-links a:hover,
.nav-mobile-links a:focus-visible,
.nav-mobile-links a.active {
  background: var(--teal);
  color: #fff;
}
.nav-hidden {
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  height: 0 !important;
  border: none !important;
  pointer-events: none !important;
  transition: all .3s !important;
  opacity: 0 !important;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 26px;
  width: auto;
  display: block;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.6); opacity: 1; }
  50%      { transform: scale(1);   opacity: 0.5; }
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  border: 1px solid var(--grey-2);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch button {
  padding: 6px 14px;
  color: var(--grey-4);
  text-transform: uppercase;
}
.lang-switch button.on {
  background: var(--ink);
  color: var(--white);
}
.lang-switch .lang-link { padding: 6px 14px; color: var(--grey-4); text-transform: uppercase; text-decoration: none; }
.lang-switch .lang-link.on { background: var(--ink); color: var(--white); }
.lang-link.is-disabled { opacity: .4; cursor: not-allowed; }
.cta-short { display: none; }
@media (max-width: 1100px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--ink);
  color: var(--white);
  transition: transform 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); background: var(--teal); }
.btn-pill-ink { background: var(--ink); color: var(--white); }
.btn-pill-ink:hover { background: var(--ink-2); }
.btn-pill-teal { background: var(--teal); color: var(--white); }
.btn-pill-teal:hover { background: var(--teal-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.btn-ghost.on-color {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost.on-color:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ═══ PAGE & SECTION SHELLS ═══ */
.page { background: var(--paper); }
.section {
  padding: var(--section-y) var(--gutter);
  position: relative;
}
.section-sm {
  padding: var(--section-y-sm) var(--gutter);
}

/* Service-color sections */
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-teal { background: var(--teal); color: var(--white); }
.bg-coral { background: var(--coral); color: var(--white); }
.bg-coral-pale { background: var(--coral-soft); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-purple { background: var(--purple); color: var(--white); }
.bg-purple-deep { background: var(--purple-deep); color: var(--white); }
.bg-purple-soft { background: var(--purple-soft); }

.bg-teal .lead, .bg-coral .lead, .bg-blue .lead, .bg-purple .lead, .bg-purple-deep .lead, .rse-light .lead { color: rgba(255,255,255,0.85); }
.bg-teal hr, .bg-coral hr, .bg-blue hr, .bg-purple hr, .bg-purple-deep hr { border-color: rgba(255,255,255,0.18); }

/* ═══ HOME — color-blocked hero ═══ */
/* Desktop large (≥ 1200px) : 4 colonnes cote a cote, claim + 3 panneaux offres.
   Laptop etroit / tablette paysage (820-1200px) : claim pleine largeur en haut,
   les 3 panneaux offres en rangee dessous. Les 3 offres restent TOUJOURS visibles
   sur laptop/desktop (pas de contenu masque selon la largeur). Mobile (<820px) : tout empile. */
.home-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  height: 100vh;
}
@media (max-width: 1200px) {
  .home-hero {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 1fr;
  }
  .home-hero[data-variant="blocks"] .hero-claim {
    grid-column: 1 / -1;
    padding: 72px var(--gutter) 56px;
    min-height: 0;
  }
  .home-hero[data-variant="blocks"] .hero-panel { min-height: 320px; }
}
@media (max-width: 820px) {
  .home-hero {
    grid-template-columns: 1fr !important;
    height: auto;
  }
  .home-hero .hero-claim { padding: 64px 32px 48px !important; grid-column: auto !important; }
  .home-hero .hero-claim::after { font-size: 200px !important; }
  .home-hero[data-variant="blocks"] .hero-panel { min-height: 220px; }
  .home-hero[data-variant="split"] { grid-template-columns: 1fr !important; }
  .home-hero[data-variant="split"] .hero-photo { aspect-ratio: 16/9; min-height: 360px; }
}
.hero-claim {
  padding: 80px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.hero-claim::after {
  content: none;
}
.hero-logo {
  height: 34px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.hero-claim h1 {
  font-family: var(--font-display);
  font-size: var(--hero-title-size);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
  position: relative;
  z-index: 1;
  word-break: break-word;
}
.home-hero .hero-claim h1 {
  font-size: clamp(28px, 2.6vw, 46px);
}
.hero-claim h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}
.hero-claim .hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-claim .hero-meta p { max-width: 38ch; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.hero-claim .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-panel {
  position: relative;
  padding: 48px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: flex-grow 0.4s ease;
  min-height: 100%;
}
.hero-panel .panel-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.8;
}
.hero-panel h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-top: auto;
  text-wrap: balance;
}
.hero-panel h3 em { font-style: italic; font-weight: 400; opacity: 0.85; }
.hero-panel .panel-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: auto;
  margin-bottom: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-panel .panel-arrow {
  position: absolute;
  bottom: 60px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all 0.25s;
  pointer-events: none;
}
.hero-panel:hover .panel-arrow { background: var(--white); color: inherit; border-color: var(--white); transform: scale(1.08); }
.hero-panel.teal { background: var(--teal); }
.hero-panel.coral { background: var(--coral); }
.hero-panel.blue { background: var(--blue); }
.hero-panel.purple { background: var(--purple); }
.hero-panel.teal:hover { background: var(--teal-dark); }
.hero-panel.coral:hover { background: var(--coral-dark); }
.hero-panel.blue:hover { background: var(--blue-dark); }
.hero-panel.purple:hover { background: var(--purple-dark); }

/* Hero variant: split */
.home-hero[data-variant="split"] {
  grid-template-columns: 1fr 1fr;
}
.home-hero[data-variant="split"] .hero-panel { display: none; }
.home-hero[data-variant="split"] .hero-photo { display: block; }
.home-hero[data-variant="split"] .hero-claim { padding-right: 80px; }

.hero-photo {
  display: none;
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 60%;
}
.hero-photo .stats {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.18);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.hero-photo .stat {
  background: rgba(0,0,0,0.55);
  padding: 18px 16px;
}
.hero-photo .stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-photo .stat-label {
  font-size: 10.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* Hero variant: typo */
.home-hero[data-variant="typo"] {
  grid-template-columns: 1fr;
  background: var(--paper);
}
.home-hero[data-variant="typo"] .hero-panel { display: none; }
.home-hero[data-variant="typo"] .hero-photo { display: none; }
.home-hero[data-variant="typo"] .hero-claim { padding: 120px var(--gutter) 80px; }
.home-hero[data-variant="typo"] .hero-claim h1 { font-size: clamp(64px, 10vw, 168px); }

/* ═══ FOOTER MARQUEE — claim ribbon ═══ */
.marquee-band {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  user-select: none;
}
.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 22px 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
}
.marquee-track span em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}
.marquee-track .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══ EXPERTISE SPLIT (Option A) ═══ */
.expertise-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  overflow: hidden;
  background: var(--paper);
}
.expertise-split__text {
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.expertise-split__text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 68px);
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}
.expertise-split__text h2 em { font-style: italic; font-weight: 400; }
.expertise-split__text .lead { margin-top: 36px; max-width: 480px; }
.expertise-split__img { overflow: hidden; position: relative; }
.expertise-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.expertise-split__img .photo-credit,
.img-block .photo-credit {
  position: absolute;
  bottom: 10px;
  right: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  pointer-events: none;
}
@media (max-width: 980px) {
  .expertise-split { grid-template-columns: 1fr; min-height: auto; }
  .expertise-split__img { height: 320px; order: -1; }
  .expertise-split__text { padding: 60px 32px; }
}
@media (max-width: 560px) {
  .expertise-split__text { padding: 48px 20px; }
}

/* ═══ SECTION HEAD ═══ */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 30px;
}
.sec-head > h2 { order: 2; }
.sec-head > .lead { order: 1; }
@media (max-width: 980px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .sec-head > h2, .sec-head > .lead { order: unset; }
}
.sec-head.solo {
  grid-template-columns: 1fr;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 68px);
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}
.sec-head h2 em { font-style: italic; font-weight: 400; }
.sec-head .evt-hero-title { font-size: clamp(32px, 4.2vw, 68px); text-wrap: unset; }
.sec-head .evt-hero-title span { display: block; }
@media (min-width: 769px) {
  .sec-head .evt-hero-title span { white-space: nowrap; }
}

/* ═══ FEATURE GRID ═══ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--grey-2);
  border-left: 1px solid var(--grey-2);
}
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr !important; }
}
.feature-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--grey-2);
  border-bottom: 1px solid var(--grey-2);
  background: var(--white);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s ease;
}
.bg-coral-pale .feature-cell {
  padding: 24px 32px;
  min-height: 165px;
}
.feature-cell:not(.feature-cell-cta):hover {
  background: var(--teal-pale);
}
.feature-cell:not(.feature-cell-cta)::after {
  content: '→';
  position: absolute;
  top: 40px;
  right: 36px;
  font-size: 18px;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.feature-cell:not(.feature-cell-cta):hover::after {
  opacity: 1;
  transform: translateX(0);
}
.feature-grid--static .feature-cell:not(.feature-cell-cta):hover { background: var(--white); }
.feature-grid--static .feature-cell:not(.feature-cell-cta)::after { content: none; }
.feature-grid--static .feature-cell:hover .cell-num { opacity: 1; }
.feature-cell .cell-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.18;
  transition: opacity 0.25s ease;
}
.feature-cell:hover .cell-num { opacity: 0.35; }
.feature-cell h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 4px;
  min-height: 2.2em;
}
.feature-cell ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
}
.feature-cell ul li {
  font-size: 13.5px;
  color: var(--grey-4);
  line-height: 1.55;
}
.feature-grid--static .feature-cell ul {
  padding-top: 0;
  margin-top: -8px;
}
.feature-grid--static .feature-cell h3 {
  display: flex;
  align-items: center;
}
.feature-cell ul li a {
  color: var(--service-color, var(--ink));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.feature-cell-cta {
  text-align: left;
  background: var(--service-soft, var(--teal-soft));
  border-color: var(--service-color, var(--teal));
  transition: background 0.3s, color 0.3s;
}
.feature-cell-cta .cell-num { color: var(--service-color, var(--teal)); }
.feature-cell-cta p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.feature-cell-cta:hover p { color: rgba(255,255,255,0.85); }
.feature-cell-cta .cta-link {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--teal-deep);
}
.feature-cell-cta:hover {
  background: var(--service-color, var(--teal));
  color: var(--white);
}
.feature-cell-cta:hover .cell-num,
.feature-cell-cta:hover .cta-link { color: var(--white); }
.feature-cell-cta--full { grid-column: 1 / -1; background: var(--coral); color: var(--white); }
.feature-cell-cta--full .cell-num,
.feature-cell-cta--full .cta-link { color: var(--white); }
.feature-cell-cta--full p { color: rgba(255,255,255,0.85); }
.feature-cell-cta--full:hover { background: var(--coral-dark); }

/* ═══ COMM TABS ═══ */
.comm-tabs { display: flex; gap: 8px; margin-bottom: 32px; }

/* ═══ STEPS ═══ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .step:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .steps .step { border-right: 0 !important; border-bottom: 1px solid currentColor; }
  .steps .step:last-child { border-bottom: 0; }
}
.step {
  padding: 36px 28px 36px 0;
  border-right: 1px solid currentColor;
  position: relative;
}
.step:last-child { border-right: 0; }
.step .step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p { font-size: 13.5px; line-height: 1.55; opacity: 0.78; }
.steps.tight .step { padding-left: 28px; }

/* ═══ CARD STACK (Événementiel — "De la compréhension…") ═══ */
.sc-root { color: var(--white); }
.sc-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.sc-step {
  background: none; border: 0; padding: 0; text-align: left;
  cursor: pointer; color: rgba(255,255,255,0.5);
  font-family: var(--font-body); font-size: 13px; line-height: 1.35;
  border-radius: 4px; transition: color 0.2s;
}
.sc-step:hover { color: var(--white); }
.sc-step.on { color: var(--white); }
.sc-step:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.sc-bar {
  display: block; height: 3px;
  background: rgba(255,255,255,0.22);
  margin-bottom: 8px; position: relative; overflow: hidden;
}
.sc-bar-fill {
  position: absolute; left: 0; top: 0;
  height: 100%; width: 0;
  background: var(--teal-soft);
}
.sc-snum { display: block; font-weight: 600; margin-bottom: 2px; }
.sc-lbl { display: block; }

.sc-stage {
  display: grid;
  padding: 0 42px 38px 0;
  margin-bottom: 6px;
  touch-action: pan-y;
  user-select: none; outline: none;
}
@media (pointer: coarse) { .sc-stage { cursor: grab; } .sc-stage:active { cursor: grabbing; } }
.sc-stage:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.sc-card {
  grid-area: 1/1;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 22px 26px;
  transform-origin: 0 0;
  transition: transform 340ms cubic-bezier(.6,0,.15,1), background-color 340ms, opacity 200ms;
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
}
.sc-card[aria-hidden="true"] > * { visibility: hidden; }
.sc-card-num {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 600;
  line-height: 1; color: var(--teal);
  display: block; margin-bottom: 12px;
}
.sc-card h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--ink); margin: 0 0 8px;
}
.sc-card p {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2); margin: 0;
}

.sc-ctl {
  display: flex; align-items: center; gap: 10px;
}
.sc-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent; color: var(--white);
  cursor: pointer; display: grid; place-items: center;
  font-size: 18px; padding: 0;
  transition: background 0.2s;
}
.sc-btn:hover { background: rgba(255,255,255,0.14); }
.sc-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.sc-stat { font-size: 13px; color: rgba(255,255,255,0.65); margin-left: 6px; }

.sc-hint {
  display: none; align-items: center;
  justify-content: space-between;
  font-size: 13px; color: var(--white);
}
.sc-hint-sw { display: flex; align-items: center; gap: 8px; }
.sc-hint-icon { animation: sc-nudge 1.4s ease-in-out infinite; display: inline-block; }
.sc-dots { display: flex; gap: 6px; }
.sc-dots span {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.35);
  transition: width 0.25s, background 0.25s;
}
.sc-dots span.on { width: 22px; background: var(--white); }
@keyframes sc-nudge { 0%,100%{transform:translateX(0)} 50%{transform:translateX(-8px)} }

@media (max-width: 600px) {
  .sc-lbl { display: none; }
  .sc-ctl { display: none; }
  .sc-hint { display: flex; }
  .sc-stage { padding-right: 28px; }
  .sc-card { padding: 18px; }
  .sc-card-num { font-size: 36px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-card { transition: none !important; }
  .sc-hint-icon { animation: none; }
}

/* ═══ PROJECT CARDS ═══ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
  gap: 24px;
}
@media (max-width: 980px) {
  .span-3, .span-4, .span-6, .span-8 { grid-column: span 12 !important; }
}
@media (min-width: 700px) and (max-width: 980px) {
  .span-3, .span-4 { grid-column: span 6 !important; }
}
.proj-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--grey-2);
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.18);
}
.proj-card .proj-img {
  aspect-ratio: 4 / 3;
  background: var(--grey-2);
  position: relative;
  overflow: hidden;
}
.proj-card .proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.proj-card:hover .proj-img img { transform: scale(1.04); }
.proj-card .proj-tag,
.fiche-tags .proj-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.proj-card .proj-tag.coral, .fiche-tags .proj-tag.coral { background: var(--coral); color: var(--white); }
.proj-card .proj-tag.blue, .fiche-tags .proj-tag.blue { background: var(--blue); color: var(--white); }
.proj-card .proj-tag.teal, .fiche-tags .proj-tag.teal { background: var(--teal); color: var(--white); }
.proj-card .proj-tag.purple, .fiche-tags .proj-tag.purple { background: var(--purple); color: var(--white); }
.proj-card .proj-tag.dual, .fiche-tags .proj-tag.dual { background: linear-gradient(90deg, var(--purple) 50%, var(--coral) 50%); color: var(--white); }
.proj-card .proj-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.proj-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.proj-card p {
  font-size: 13.5px;
  color: var(--grey-4);
  line-height: 1.55;
}
.proj-card .proj-cta {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s;
}
.proj-card:hover .proj-cta { gap: 14px; }

.span-3 { grid-column: span 3; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ═══ FILTER BAR ═══ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--grey-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--white);
  transition: all 0.2s;
}
.filter-pill.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.on:hover { color: var(--white); }

/* ═══ RSE LIGHT ═══ */
.rse-light { position: relative; background: var(--teal-deep); color: var(--white); }
.rse-light .sec-head { grid-template-columns: 1fr 1fr; }
.rse-light__body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.rse-light__photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.rse-light__photo img {
  width: 100%; height: 480px;
  object-fit: cover; object-position: center 30%;
  display: block;
}
.rse-light__photo .photo-credit {
  position: absolute;
  bottom: 10px;
  right: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  pointer-events: none;
}
.rse-light__items { display: flex; flex-direction: column; gap: 28px; }
.rse-item { display: flex; gap: 20px; align-items: flex-start; }
.rse-item__num {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.1em; color: var(--teal-pale);
  min-width: 32px; padding-top: 3px;
}
.rse-item__title {
  font-family: var(--font-display); font-size: 15px;
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px;
}
.rse-item__list { list-style: none; }
.rse-item__list li {
  font-size: 13.5px; color: rgba(255,255,255,0.75);
  line-height: 1.65;
}
@media (max-width: 980px) {
  .rse-light__body { grid-template-columns: 1fr; gap: 40px; }
  .rse-light__photo img { height: 280px; }
}

/* ═══ CONTACT — calendar picker ═══ */
.contact-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
@media (max-width: 480px) {
  .contact-calendar-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}

/* ═══ CONTACT — booking states ═══ */
.booking-spinner {
  width: 24px; height: 24px; margin: 0 auto 12px;
  border: 2.5px solid var(--grey-2);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: booking-spin 0.7s linear infinite;
}
@keyframes booking-spin { to { transform: rotate(360deg); } }

.booking-period-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 768px) {
  .booking-period-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══ FORM ═══ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-4);
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--grey-2);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 96px; }

/* ═══ FOOTER ═══ */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 48px var(--gutter) 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.footer-top h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  min-height: 26px;
  display: flex;
  align-items: center;
}
.footer-top ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-top ul a { color: rgba(255,255,255,0.7); transition: color 0.2s; cursor: pointer; }
.footer-top ul a:hover { color: var(--teal); }
.footer-top .brand-mark {
  display: flex; align-items: center;
  margin-bottom: 12px;
}
.footer-top .brand-mark-img {
  height: 26px;
  width: auto;
  display: block;
}
.footer-top .brand-desc { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.6); max-width: 36ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-top: 20px;
}
.footer-bottom > div { flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.6); cursor: pointer; }
.footer-bottom a:hover { color: var(--teal); }
@media (max-width: 480px) {
  .footer-bottom > div { gap: 16px !important; }
}

/* ═══ CLIENTS LOGO BAND ═══ */
.clients-band {
  background: var(--white);
  border-top: 1px solid var(--grey-2);
  border-bottom: 1px solid var(--grey-2);
  padding: 36px 0;
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 24px;
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.clients-track img {
  height: 40px;
  width: auto;
  max-width: 140px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.25s, filter 0.25s;
  flex-shrink: 0;
  object-fit: contain;
}
.clients-track img:hover { opacity: 1; filter: none; }

/* ═══ CTA BAND ═══ */
.cta-band {
  padding: 100px var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 60px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
@media (max-width: 980px) {
  .cta-band { grid-template-columns: 1fr; padding: 72px 32px; gap: 32px; }
  .cta-band .big-o { display: none; }
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-wrap: balance;
}
.cta-band h2 em { font-style: italic; font-weight: 400; opacity: 0.65; }
.cta-band p { font-size: 17px; line-height: 1.5; opacity: 0.85; max-width: 42ch; margin-top: 24px; }

.cta-band .big-o {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 100px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
.cta-band.stacked {
  grid-template-columns: 1fr;
  max-width: auto;
}

/* ═══ PAGE HEADERS ═══ */
.page-hero {
  position: relative;
  padding: 140px var(--gutter) 100px;
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--hero-title-size);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.page-hero h1 em { font-style: italic; font-weight: 400; opacity: 0.7; }
.page-hero p { max-width: 56ch; font-size: 18px; line-height: 1.55; margin-top: 32px; opacity: 0.85; }

.page-hero.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px;
  padding-top: 70px;
  padding-bottom: 70px;
  height: calc(100vh - 76px);
  overflow: hidden;
}
.page-hero.hero-split h1 { grid-column: 1 / -1; align-self: start; }
.page-hero.hero-split p { grid-column: 2; margin-top: 0; justify-self: end; }
.page-hero.hero-split.hero-split--auto { height: auto; overflow: visible; }

@media (max-width: 768px) {
  .page-hero { padding: 100px var(--gutter) 64px; }
  .page-hero h1 { overflow-wrap: normal; }
  .page-hero.hero-split { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .page-hero.hero-split h1 { grid-column: 1; }
  .page-hero.hero-split p { grid-column: 1; margin-top: 32px; justify-self: start; }
}

.page-hero.teal { background: var(--teal); color: var(--white); position: relative; }
.page-hero.teal > * { position: relative; }
.page-hero.coral { background: var(--coral); color: var(--white); }
.page-hero.blue { background: var(--blue); color: var(--white); }
.page-hero.purple { background: var(--purple); color: var(--white); position: relative; }
.page-hero.purple > * { position: relative; }
.page-hero.dual { background: linear-gradient(90deg, var(--purple) 50%, var(--coral) 50%); color: var(--white); }
.page-hero.ink { background: var(--ink); color: var(--white); }

/* ═══ TWO-COL CONTENT ═══ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr !important; gap: 48px !important; }
}
.two-col.tight { gap: 48px; }
.two-col.stretch { align-items: stretch; }
/* Contact page — bloc 03 "En face de vous" : photo plus petite, format carré, texte centré.
   Scopé par .contact-rachel pour ne pas toucher aux autres .two-col/.img-block du site. */
.two-col.contact-rachel {
  grid-template-columns: minmax(0, 240px) 1fr;
  align-items: center;
}
.two-col.contact-rachel > .img-block {
  aspect-ratio: 1 / 1;
  height: auto;
  max-width: 240px;
}
.two-col.contact-rachel > .img-block img {
  object-position: center top;
}
@media (max-width: 980px) {
  .two-col.contact-rachel > .img-block {
    aspect-ratio: auto;
    height: 360px;
    max-height: 360px;
  }
}
.two-col.evt-stretch-18,
.two-col.evt-stretch-18 p,
.two-col.evt-stretch-18 .lead.large,
.two-col.evt-stretch-18 .quote-box .quote-text,
.two-col.evt-stretch-18 .quote-box .quote-list,
.two-col.evt-stretch-18 .quote-box .quote-list li { font-size: 16px; }
@media (min-width: 981px) {
  .evt-stretch-18 > .img-block > img {
    position: absolute;
    inset: 0;
  }
}
@media (max-width: 980px) {
  .evt-stretch-18 > .img-block {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4/3;
  }
}
.two-col p { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-bottom: 16px; }

/* Quote box */
.quote-box {
  padding: 40px 36px;
  border-radius: 4px;
  background: var(--service-soft, var(--teal-soft));
  position: relative;
}
.quote-box::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.6;
  color: var(--service-color, var(--teal));
  position: absolute;
  top: 32px; left: 24px;
  opacity: 0.25;
}
.quote-box .quote-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.quote-box .quote-list {
  list-style: none;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--service-color, var(--teal));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quote-box .quote-list li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.quote-box .quote-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--service-color, var(--teal));
  font-weight: 700;
}

/* Image block */
.img-block {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--grey-2);
}
.img-block img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-block .credit {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Photo strip */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-strip--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .photo-strip--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr; gap: 12px; }
  .photo-strip--4 { grid-template-columns: 1fr; }
}
/* Moins de 3 fiches disponibles (ex. juste apres une mise en brouillon) : on sort de la
   grille fixe pour centrer les 1 ou 2 tuiles restantes plutot que de les laisser collees
   a gauche. */
.photo-strip--compact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.photo-strip--compact .img-block {
  flex: 0 1 320px;
  max-width: 100%;
}
.photo-strip .img-block { aspect-ratio: 4/3; }
.photo-strip__cta {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  border: 2px solid var(--teal-dark);
  border-radius: 8px;
  cursor: pointer;
  padding: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.photo-strip__cta:hover { background: var(--teal-soft); border-color: var(--teal-deep); transform: translateY(-2px); }
.photo-strip__cta-label { font-size: clamp(22px, 2vw, 28px); }
.photo-strip__cta-arrow { font-size: 32px; line-height: 1; }
.img-block .strip-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.img-block .strip-label--teal {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--teal-deep);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 0 8px 0 0;
}
.img-block .strip-label--purple {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--purple-deep);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 0 8px 0 0;
}
.img-block .strip-label--coral {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 0 8px 0 0;
}

@media (max-width: 480px) {
  /* Sur les images combinant légende et crédit photo, le crédit remonte en haut à droite pour éviter le chevauchement avec la légende. */
  .img-block .strip-label ~ .photo-credit {
    top: 10px;
    bottom: auto;
  }
}

/* Fiche projet : tags de contexte (catégorie, client...). Réutilise .proj-tag
   (couleur et forme du badge des cartes projets) dans un contexte qui n'a pas
   besoin du positionnement en absolu prévu pour la photo de carte. */
.fiche-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}
.fiche-tags .proj-tag { position: static; }

/* Fiche projet : ligne client / date / lieu, sous le tag de catégorie. Réutilise
   .num-tag (police, taille, interlettrage) comme sur les cartes de la page
   Projets, en gras pour la distinguer du tag de catégorie. Couleur inline
   var(--grey-3) au lieu du teinte par défaut de .num-tag, comme sur ces cartes. */
.fiche-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 32px;
  padding-left: 12px;
}
.fiche-meta-item { font-weight: 700; }

/* Fiche projet : colonne de texte plus large que la colonne photo. Modificateur
   propre à la fiche, n'affecte pas .two-col ni .two-col.stretch (partagés avec
   Événementiel, Communication et Europe). Proportions : 3fr / 2fr (60 % / 40 %). */
.two-col.fiche-split { grid-template-columns: 3fr 2fr; }

/* Fiche projet : texte principal agrandi par rapport au gabarit standard de
   .two-col p (16px), avec les tailles déjà utilisées ailleurs sur le site
   (18px comme .page-hero p, 17px comme .lead). */
.fiche-copy p { font-size: 18px; line-height: 1.65; }
.fiche-copy h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.fiche-copy h3:first-of-type { margin-top: 0; }
.fiche-copy ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 8px;
}
.fiche-copy ul li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 10px;
}

/* Fiche projet : sous-titre du hero agrandi (20px, déjà utilisé ailleurs dans
   le site) par rapport au gabarit standard de .page-hero p (18px). */
.page-hero.fiche-hero p { font-size: 20px; }

/* Fiche projet : listes "Les enjeux" et "Ce que j'ai pris en charge", sur toutes les
   fiches. Plus de puces, trait fin à gauche de chaque item dans la couleur du tag du
   projet (--service-color, défini par fiche selon project.tone dans page-fiche.jsx). */
.fiche-copy ul.fiche-list-bar,
ul.fiche-list-bar {
  list-style: none;
  padding-left: 0;
}
.fiche-list-bar li {
  border-left: 2px solid var(--service-color);
  padding-left: 16px;
  margin-bottom: 14px;
}
.fiche-list-bar li:last-child {
  margin-bottom: 0;
}
/* Modificateur "En bref" (fallback sans chiffres) : même trait fin, mais toujours teal,
   jamais la couleur du tag (contrairement à Les enjeux / Ce que j'ai pris en charge). */
.fiche-list-bar--teal li {
  border-left-color: var(--teal);
}

/* Fiche projet : section "En bref", sur toutes les fiches. Gros chiffre en couleur avec
   son libellé en petit dessous. Classe posée dans js/page-fiche.jsx quand fiche.enBref
   est structuré en { chiffre, label } (fallback en liste à puces simple sinon). Couleur
   toujours teal, volontairement indépendante du tag/tone de l'article (demande Rachel). */
.fiche-copy ul.fiche-bref-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.fiche-bref-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}
.fiche-bref-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--teal);
  text-align: center;
}
.fiche-bref-label {
  font-size: 17.5px;
  color: var(--ink-2);
  margin-top: 6px;
  text-align: center;
}

/* Fiche projet, variante "cards" (fiche.enjeuxCardsLayout, voir page-fiche.jsx) : intro et
   "En bref" sortent de la grille two-col, sur 90 % de la largeur de section (5 % de marge
   de chaque côté), comme les cards "Les enjeux" juste en dessous. */
.fiche-intro-wide {
  width: 90%;
  margin: 0 auto;
}
.fiche-h3-wide {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 48px 0 20px;
}

/* Fiche projet, bloc "Les enjeux" en cartes. Grille asymétrique sur desktop :
   6 colonnes, ligne 1 = cartes 1-2 (span 3) un peu plus grandes, ligne 2 = cartes 3-5 (span 2).
   Carte 1 mise en avant en fond teal (texte en --ink, contraste AA respecté). */
.enjeux-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 90%;
  margin: 0 auto;
}
/* Dernière carte centrée en demi-largeur quand le total de cartes est impair (1, 3, 5, 7…) :
   :nth-child(odd):last-child n'est vrai que si la position de la dernière carte, donc le
   total, est impaire. Règle généralisée à tout nombre de cartes (plus seulement 3),
   décidée en Phase 2 avec Alexandre (page Notion du suivi). Couvre aussi le cas à 1 carte,
   qui n'a donc plus besoin d'une règle :only-child séparée. */
.enjeux-grid .enjeux-card:nth-child(odd):last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 14px);
  justify-self: center;
}

@media (max-width: 640px) {
  .enjeux-grid { grid-template-columns: 1fr; }
  .enjeux-grid .enjeux-card:nth-child(odd):last-child { max-width: none; grid-column: span 1; }
}

.enjeux-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: 14px;
  padding: 28px 26px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(22,22,22,0.04), 0 8px 20px rgba(22,22,22,0.05);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  overflow: hidden;
}
/* Filet teal pleine largeur en haut de la card, au repos comme au survol. */
.enjeux-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--coral));
}
.enjeux-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
/* Cartes de la 1re ligne (span 3 sur desktop) : texte un peu plus grand. */
.enjeux-card:nth-child(1) p,
.enjeux-card:nth-child(2) p {
  font-size: 17px;
  line-height: 1.55;
}

/* Survol : desktop uniquement (pointeur fin + hover disponible). Carte remontée de 4 px et
   filet qui s'étend sur toute la largeur. Transition 200 ms (filet + translate). */
@media (hover: hover) and (pointer: fine) {
  .enjeux-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgba(22,22,22,0.05), 0 14px 28px rgba(22,22,22,0.08);
  }
}

/* Cadre teal qui se trace au survol (desktop uniquement). Overlay SVG : un <rect rx> dont
   le contour (stroke 3 px) suit exactement les coins arrondis de la carte, animé via
   stroke-dashoffset (pathLength=1 => 0 = tracé complet, 1 = invisible). Le haut du cadre
   recouvre le filet ::before (même teal, overlap invisible). */
.enjeux-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.enjeux-card__frame-path {
  fill: none;
  stroke: var(--card-accent, var(--coral));
  stroke-width: 3;
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
}
/* Sortie (état par défaut) : bas se rétracte en premier (0 ms, 150 ms), côtés ensuite (150 ms, 150 ms). */
.enjeux-card__frame-path--side   { transition: stroke-dashoffset 150ms ease 150ms; }
.enjeux-card__frame-path--top    { transition: stroke-dashoffset 150ms ease 0ms; }
.enjeux-card__frame-path--bottom { transition: stroke-dashoffset 150ms ease 0ms; }
@media (hover: hover) and (pointer: fine) {
  /* Entrée : côtés d'abord (0 ms, 150 ms), demi-bas ensuite (150 ms, 150 ms) qui se rejoignent au centre. */
  .enjeux-card:hover .enjeux-card__frame-path--side {
    stroke-dashoffset: 0;
    transition-delay: 0ms;
  }
  .enjeux-card:hover .enjeux-card__frame-path--top {
    stroke-dashoffset: 0;
    transition-delay: 150ms;
  }
  .enjeux-card:hover .enjeux-card__frame-path--bottom {
    stroke-dashoffset: 0;
    transition-delay: 150ms;
  }
}
@media (prefers-reduced-motion: reduce) {
  .enjeux-card__frame-path { transition: none; }
}

/* Reveal au scroll (hook useReveal, chrome.jsx). État "pending" = masqué + glissé de 12 px
   vers le bas ; "in" = visible, 450 ms. Pas d'état par défaut (sans attribut) pour que les
   cartes restent visibles si le JS tarde ou échoue. */
.enjeux-card[data-reveal="pending"] {
  opacity: 0;
  transform: translateY(12px);
}
.enjeux-card[data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
}
.enjeux-card[data-reveal] {
  transition: opacity 450ms ease, transform 450ms ease, box-shadow 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .enjeux-card[data-reveal="in"]:hover {
    transform: translateY(-4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .enjeux-card,
  .enjeux-card[data-reveal="pending"],
  .enjeux-card[data-reveal="in"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .enjeux-card::before { transition: none; }
}
.enjeux-grid--dual .enjeux-card::before { background: linear-gradient(90deg, var(--purple) 50%, var(--coral) 50%); }
.enjeux-grid--dual .enjeux-card__frame-path--top { stroke-dashoffset: 0; }

/* Fiche projet, variante "cards" : "Ce que j'ai pris en charge" agrandi pour rester
   harmonieux avec la hauteur de la photo en vis-à-vis (elle seule occupe la colonne,
   sans "Les enjeux" juste au-dessus comme dans le gabarit standard). */
.fiche-list-bar--lg li {
  font-size: 19px;
  line-height: 1.6;
  padding-left: 20px;
  margin-bottom: 20px;
  border-left-width: 3px;
}

/* Fiche projet, variante "cards" : centre "Ce que j'ai pris en charge" verticalement dans sa
   colonne (étirée par .two-col.stretch à la hauteur de la photo), plutôt que de le laisser
   collé en haut avec tout le vide sous la liste. */
.fiche-copy--center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Fiche projet, variante "cards" : les deux colonnes alignées en haut (plus de centrage
   vertical, qui décalait les h3 quand le contenu est inégal). */
.fiche-split--cards .fiche-copy--center {
  justify-content: flex-start;
}
/* "En bref" passe dans la colonne droite du two-col et ses chiffres s'empilent
   verticalement, taille réduite pour s'aligner sur la hauteur de la liste en face. */
.fiche-split--cards .fiche-bref-list {
  flex-direction: column;
  gap: 14px;
}
.fiche-split--cards .fiche-bref-num {
  font-size: 42px;
}
.fiche-split--cards .fiche-bref-label {
  margin-top: 2px;
}
/* Tablette / mobile : les chiffres repassent en ligne quand le two-col est en 1 colonne. */
@media (max-width: 980px) {
  .fiche-split--cards .fiche-copy--center {
    justify-content: center;
  }
  .fiche-split--cards .fiche-bref-list {
    flex-direction: row;
    gap: 32px;
  }
  .fiche-split--cards .fiche-bref-num {
    font-size: 48px;
  }
  .fiche-split--cards .fiche-bref-label {
    margin-top: 6px;
  }
}

/* Fiche projet, variante "cards" : bandeau violet pleine largeur autour de
   "Ce que j'ai pris en charge" / "En bref". */
.fiche-split-purple-wrap {
  margin-inline: calc(-1 * var(--gutter));
  padding: 64px var(--gutter);
  margin-top: 64px;
  background-color: var(--service-color, #6E3D8E);
  color: #fff;
}
.fiche-split-purple-wrap.fiche-split-purple-wrap--dual { background: linear-gradient(90deg, var(--purple) 50%, var(--coral) 50%); }
.fiche-split-purple-wrap .fiche-split--cards { margin-top: 0; }
.fiche-split-purple-wrap .fiche-split--cards .fiche-copy--center { justify-content: flex-start; }
.fiche-split-purple-wrap .fiche-split--cards .fiche-bref-list { flex-grow: 1; }
.fiche-split-purple-wrap h3 { color: #fff; }
.fiche-split-purple-wrap .fiche-list-bar li { color: #fff; border-left-color: #fff; }
.fiche-split-purple-wrap strong { color: #fff !important; }
.fiche-split-purple-wrap .fiche-bref-num { color: #fff; }
.fiche-split-purple-wrap .fiche-bref-label { color: rgba(255,255,255,.85); }
.fiche-split-purple-wrap .fiche-split--cards .fiche-bref-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 24px;
}
/* Même règle que .enjeux-grid : dernier chiffre centré en pleine largeur quand le total
   de chiffres "En bref" est impair (1, 3, 5…). */
.fiche-split-purple-wrap .fiche-split--cards .fiche-bref-list li:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

/* Fiche projet, variante "cards" : photo sortie du two-col, pleine largeur de section. */
.fiche-photo-full {
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
}
.fiche-photo-full img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 520px;
  border-radius: 14px;
}

/* Index d'ancres multi-clients (fiche identités graphiques) */
.fiche-clients-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 32px 0 40px;
  padding: 0;
}
.fiche-clients-nav__link {
  display: inline-block;
  padding: 8px 18px;
  border: 1.5px solid var(--service-color, var(--teal));
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--service-color, var(--teal));
  text-decoration: none;
  transition: background .2s, color .2s;
}
.fiche-clients-nav__link:hover,
.fiche-clients-nav__link:focus-visible {
  background: var(--service-color, var(--teal));
  color: #fff;
}
@media (max-width: 600px) {
  .fiche-clients-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
  }
  .fiche-clients-nav__link {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Multi-clients : scroll offset pour compenser la nav sticky */
.fiche-client-zone {
  scroll-margin-top: 100px;
}

/* Multi-clients : images max-height 300px */
.fiche-client-zone .fiche-photo-full img,
.fiche-client-zone .fiche-slideshow__slide img {
  max-height: 300px;
}
/* Diaporama fiche projet */
.fiche-slideshow {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 64px;
}
.fiche-slideshow__track {
  display: flex;
  transition: transform 0.5s ease;
}
.fiche-slideshow__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
}
.fiche-slideshow__slide img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
  border-radius: 14px;
}
.fiche-slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .2s;
}
.fiche-slideshow__arrow:hover { background: #fff; }
.fiche-slideshow__arrow--prev { left: 12px; }
.fiche-slideshow__arrow--next { right: 12px; }
.fiche-slideshow__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.fiche-slideshow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--grey-2);
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.fiche-slideshow__dot.is-active { background: var(--teal); }

/* Fiche projet, variante "cards" : animations d'entrée (composant Reveal, page-fiche.jsx).
   .reveal bascule en .is-visible via IntersectionObserver au scroll ; reveal--up pour les
   cards "Les enjeux" et les puces de "Ce que j'ai pris en charge" (fondu + léger décalage,
   en cascade grâce à transition-delay posé en inline style par carte/puce), reveal--zoom
   pour la photo (léger dézoom + fondu). */
.reveal {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; }
.reveal--up { transform: translateY(24px); }
.reveal--up.is-visible { transform: translateY(0); }
.reveal--zoom { transform: scale(1.06); }
.reveal--zoom.is-visible { transform: scale(1); }

/* Fiche projet : entrée du hero (titre puis sous-titre, léger décalage), sur toutes les
   fiches (hero désormais coloré par project.tone, voir page-fiche.jsx). */
@keyframes fiche-hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fiche-hero h1 { animation: fiche-hero-in 0.7s ease both; }
.fiche-hero p { animation: fiche-hero-in 0.7s ease both 0.15s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--up, .reveal--zoom { opacity: 1; transform: none; transition: none; }
  .fiche-hero h1, .fiche-hero p { animation: none; }
}

/* ═══ FAQ ═══ */
.faq-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--grey-2); }
.faq-item {
  border-bottom: 1px solid var(--grey-2);
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, margin 0.25s ease;
}
.faq-item.open {
  border: 1.5px solid var(--teal);
  box-shadow: 0 10px 28px rgba(0, 178, 169, 0.14);
  margin: 12px 0;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: padding 0.25s ease;
}
.faq-item.open .faq-q { padding: 24px 24px 20px; font-weight: 700; }
.faq-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-3);
  display: grid; place-items: center;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.faq-icon svg { transition: transform 0.25s ease; display: block; }
.faq-item.open .faq-icon { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.faq-item.open .faq-icon svg { transform: rotate(90deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p {
  padding: 0 24px 24px;
  max-width: 720px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
}
.faq-hidden-group { position: relative; }
.faq-hidden-rows {
  filter: blur(6px);
  pointer-events: none;
  transition: filter 0.4s ease;
}
.faq-hidden-group.revealed .faq-hidden-rows { filter: blur(0); pointer-events: auto; }
.faq-hidden-group:not(.revealed) .faq-hidden-rows::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0) 35%, var(--paper) 92%);
}
.faq-reveal-wrap {
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  pointer-events: none;
}
.faq-hidden-group.revealed .faq-reveal-wrap {
  position: static;
  padding: 20px 0 8px;
}
.faq-reveal-btn { pointer-events: auto; }
.faq-reveal-btn svg { transition: transform 0.25s ease; }
.faq-reveal-btn.is-open svg { transform: rotate(180deg); }

/* ═══ Tweaks panel offset ═══ */
.tweaks-panel-host { z-index: 9999; }
