:root {
  --green-dark: #235532;
  --green-darker: #1a3f25;
  --green-mint: #B5E3AD;
  --green-mint-soft: #d8efd2;
  --slate: #343b48;
  --slate-soft: #5a6472;
  --bg: #f7f9f5;
  --white: #ffffff;
  --warning-bg: #fff7e6;
  --warning-border: #d97706;
  --shadow-md: 0 8px 32px rgba(35, 85, 50, 0.12);
  --shadow-lg: 0 20px 60px rgba(35, 85, 50, 0.18);
  --radius: 16px;
  --sidebar-w: 260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.header {
  background: var(--white);
  border-bottom: 3px solid var(--green-mint);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--green-dark);
}

.header__logo { height: 56px; width: auto; }

.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__brand-line1 {
  font-family: "Lora", serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-soft);
  font-weight: 600;
}

.header__brand-line2 {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--green-mint);
  background: var(--white);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.header__nav-btn:hover { background: var(--green-mint-soft); }

.header__nav-btn--active {
  background: var(--green-dark);
  color: var(--green-mint);
  border-color: var(--green-dark);
}

.header__back {
  color: var(--green-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.header__back:hover {
  background: var(--green-mint-soft);
  border-color: var(--green-mint);
}

/* ---------- Layout sidebar + main ---------- */
.layout {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 90px);
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid #e8ece4;
  padding: 1.5rem 0;
  position: sticky;
  top: 90px;
  align-self: flex-start;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

.sidebar__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-soft);
  padding: 0 1.25rem 0.75rem;
}

.sidebar__nav { list-style: none; }

.sidebar__link {
  display: block;
  padding: 0.55rem 1.25rem;
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sidebar__link:hover {
  background: var(--green-mint-soft);
  color: var(--green-dark);
}

.sidebar__link--active {
  background: var(--green-mint-soft);
  color: var(--green-dark);
  border-left-color: var(--green-dark);
  font-weight: 600;
}

.sidebar__group {
  margin-top: 1rem;
}

.sidebar__group-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
  padding: 0.45rem 1.25rem 0.25rem;
}

.sidebar__sublinks {
  list-style: none;
  margin: 0.15rem 0 0.5rem;
  padding-left: 0.65rem;
  border-left: 2px solid var(--green-mint-soft);
  margin-left: 1.25rem;
}

.sidebar__sublink {
  display: block;
  padding: 0.38rem 0.75rem;
  color: var(--slate-soft);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 0 6px 6px 0;
  transition: background 0.15s, color 0.15s;
}

.sidebar__sublink:hover {
  background: #f3f6f0;
  color: var(--green-dark);
}

.sidebar__sublink--active {
  background: var(--green-mint-soft);
  color: var(--green-dark);
  font-weight: 600;
}

.sidebar__sublink--download {
  color: #0d7490;
  font-size: 0.8rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  opacity: 0.85;
}

.sidebar__sublink--download:hover {
  background: #e0f4f8;
  color: #0a5e73;
  opacity: 1;
}

.sidebar__divider {
  height: 1px;
  background: #e8ece4;
  margin: 1rem 1.25rem;
}

.main {
  flex: 1;
  min-width: 0;
  padding: 2rem 2rem 4rem;
}

/* ---------- Content blocks ---------- */
.page-hero {
  margin-bottom: 2rem;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-mint-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-family: "Lora", serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.page-hero__lead {
  font-size: 1.05rem;
  color: var(--slate-soft);
  max-width: 720px;
}

.notice {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.notice strong { color: #92400e; }

.section {
  margin-bottom: 2.5rem;
}

.section__title {
  font-family: "Lora", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-mint);
}

.section__text {
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.section__text strong { color: var(--green-dark); }

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.metric {
  background: var(--white);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #e8ece4;
  text-align: center;
}

.metric__value {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
}

.metric__value--alert { color: #b45309; }

.metric__label {
  font-size: 0.78rem;
  color: var(--slate-soft);
  margin-top: 0.25rem;
}

.metric__value--ok { color: #15803d; }

.metrics--after {
  margin-top: 0.5rem;
}

.metrics__subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.25rem 0 0.5rem;
}

/* ---------- Encart progression (avant / après) ---------- */
.progression {
  background: var(--white);
  border: 1px solid #d4e8dc;
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.5rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-md);
}

.progression__title {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.35rem;
}

.progression__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  margin-bottom: 1rem;
}

.progression__row {
  display: grid;
  grid-template-columns: minmax(9rem, 11rem) 1fr auto 3.5rem auto 3.5rem;
  gap: 0.5rem 0.65rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eef1ec;
  font-size: 0.88rem;
}

.progression__row:last-child { border-bottom: none; }

.progression__label {
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.82rem;
}

.progression__meter {
  height: 10px;
  background: #eef1ec;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.progression__meter-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 5px;
}

.progression__meter-fill--avant {
  background: linear-gradient(90deg, #fca5a5, #f87171);
  opacity: 0.9;
}

.progression__meter-fill--apres {
  background: linear-gradient(90deg, #86efac, #22c55e);
}

.progression__target {
  font-size: 0.75rem;
  color: var(--slate-soft);
  text-align: center;
  white-space: nowrap;
}

.progression__val {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
}

.progression__val--avant { color: #b91c1c; }
.progression__val--apres { color: #15803d; }
.progression__arrow { color: var(--slate-soft); text-align: center; font-size: 0.9rem; }

.progression__note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--slate-soft);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .progression__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .progression__target,
  .progression__arrow { display: none; }
  .progression__val { text-align: left; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid #e8ece4;
  box-shadow: var(--shadow-md);
}

.card__title {
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.card__text {
  font-size: 0.9rem;
  color: var(--slate-soft);
}

.maquette-cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-darker) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.maquette-cta__title {
  font-family: "Lora", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.maquette-cta__text {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--green-mint);
  color: var(--green-darker);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Before/after tables ---------- */
.bloc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 1.5rem 0 0.75rem;
}

.table-wrap {
  overflow: visible;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e8ece4;
  background: var(--white);
}

.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th {
  background: var(--green-dark);
  color: var(--white);
  text-align: left;
  padding: 0.75rem 0.85rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.compare-table th:nth-child(1) { width: 7.5rem; }   /* TC max ≈ 0:15–0:35 */
.compare-table th:nth-child(2) { width: 36%; }
.compare-table th:nth-child(3) { width: 36%; }
.compare-table th:nth-child(4) { width: 16%; }

.compare-table td {
  padding: 0.85rem 0.85rem;
  vertical-align: top;
  border-bottom: 1px solid #eef1ec;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table .tc {
  white-space: nowrap;
  font-weight: 600;
  color: var(--green-dark);
  width: 7.5rem;
  max-width: 7.5rem;
  font-size: 0.82rem;
  padding-right: 0.5rem;
}

.compare-table .avant {
  background: #fef2f2;
  color: #7f1d1d;
}

.compare-table .apres {
  background: #f0fdf4;
  color: #14532d;
}

.compare-table .justif {
  font-size: 0.8rem;
  color: var(--slate-soft);
  width: 16%;
  line-height: 1.5;
  padding-left: 0.65rem;
}

.compare-table .justif .ref-sep {
  color: #c4cbc0;
  margin: 0 0.15rem;
  user-select: none;
}

/* ---------- Références tooltips ---------- */
.ref-tip {
  position: relative;
  display: inline-block;
  cursor: help;
  border-bottom: 1px dotted currentColor;
  font-size: 0.82rem;
  line-height: 1.4;
  vertical-align: baseline;
}

.ref-tip--rule {
  color: var(--green-dark);
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
}

.ref-tip--gf {
  color: #92400e;
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
}

.ref-tip--note {
  color: var(--slate);
  font-weight: 500;
  font-style: italic;
  border-bottom-color: var(--slate-soft);
}

.ref-tip::before {
  content: attr(data-tip);
  position: absolute;
  z-index: 300;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  max-width: min(320px, 85vw);
  padding: 0.65rem 0.85rem;
  background: var(--green-darker);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  text-align: left;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  white-space: normal;
}

.ref-tip::after {
  content: "";
  position: absolute;
  z-index: 301;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--green-darker);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s;
}

.ref-tip:hover::before,
.ref-tip:focus-visible::before,
.ref-tip.is-open::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ref-tip:hover::after,
.ref-tip:focus-visible::after,
.ref-tip.is-open::after {
  opacity: 1;
  visibility: visible;
}

.ref-tip:focus-visible {
  outline: 2px solid var(--green-mint);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (max-width: 900px) {
  .ref-tip::before {
    left: auto;
    right: 0;
    transform: translateY(4px);
  }
  .ref-tip:hover::before,
  .ref-tip:focus-visible::before,
  .ref-tip.is-open::before {
    transform: translateY(0);
  }
  .ref-tip::after {
    left: auto;
    right: 12px;
    transform: none;
  }
}

@media (hover: none) {
  .ref-tip { cursor: pointer; }
}

/* Dans les tableaux : tooltip vers le bas pour éviter le clipping */
.compare-table .justif .ref-tip::before {
  bottom: auto;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-4px);
}

.compare-table .justif .ref-tip::after {
  bottom: auto;
  top: calc(100% + 2px);
  border-top-color: transparent;
  border-bottom-color: var(--green-darker);
}

.compare-table .justif .ref-tip:hover::before,
.compare-table .justif .ref-tip:focus-visible::before,
.compare-table .justif .ref-tip.is-open::before {
  transform: translateX(-50%) translateY(0);
}

.metrics--research {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.section--method {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 3px solid var(--green-mint);
}

.highlight-box {
  border-left: 4px solid var(--green-mint);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-md);
}

.highlight-box__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-soft);
  margin-bottom: 0.35rem;
}

.highlight-box blockquote {
  font-style: italic;
  margin: 0.5rem 0;
  padding-left: 0;
}

/* ---------- Démarche : méthode & comparaison ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
  counter-reset: flow;
}

.flow__step {
  background: var(--white);
  border: 1px solid #e8ece4;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  counter-increment: flow;
}

.flow__step::before {
  content: counter(flow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--green-dark);
  color: var(--green-mint);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.flow__step-title {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.flow__step-text {
  font-size: 0.82rem;
  color: var(--slate-soft);
  line-height: 1.45;
}

.arch-block {
  background: var(--white);
  border: 1px solid #e8ece4;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--slate);
  overflow-x: auto;
}

.tools-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 1rem 0;
}

.tools-table th,
.tools-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #eef1ec;
  text-align: center;
}

.tools-table th {
  background: #f3f6f0;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.78rem;
}

.tools-table td:first-child,
.tools-table th:first-child {
  text-align: left;
}

.tools-table tr:last-child td {
  background: var(--green-mint-soft);
  font-weight: 600;
}

.tools-table .yes { color: var(--green-dark); }
.tools-table .no { color: #b45309; }

.layers-list {
  list-style: none;
  margin: 1rem 0;
}

.layers-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eef1ec;
  font-size: 0.9rem;
}

.layers-list li:last-child { border-bottom: none; }

.layers-list__num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: var(--green-mint);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
}

.layers-list__body strong {
  color: var(--green-dark);
  display: block;
  margin-bottom: 0.15rem;
}

.layers-list__body span {
  color: var(--slate-soft);
  font-size: 0.85rem;
}

.quote-block {
  border-left: 4px solid var(--green-dark);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  background: var(--white);
  border-radius: 0 12px 12px 0;
  font-family: "Lora", serif;
  font-size: 1.05rem;
  color: var(--green-dark);
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-darker);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: auto;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer__logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer__brand-text {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 420px;
}

.footer__contact-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mint);
  margin-bottom: 0.75rem;
}

.footer__contact-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer__contact-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer__bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

@media (max-width: 1100px) {
  .compare-table { font-size: 0.82rem; }
  .compare-table th:nth-child(1) { width: 6.5rem; }
  .compare-table th:nth-child(4) { width: 18%; }
  .compare-table th:nth-child(2),
  .compare-table th:nth-child(3) { width: 35%; }
  .compare-table .tc { width: 6.5rem; max-width: 6.5rem; font-size: 0.78rem; }
  .compare-table .justif { font-size: 0.76rem; }
}

@media (max-width: 900px) {
  .layout { flex-direction: column; }
  .sidebar {
    width: 100%;
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid #e8ece4;
    padding: 1rem 0;
  }
  .sidebar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0 1rem;
  }
  .sidebar__group { margin-top: 0.5rem; padding: 0 1rem; }
  .sidebar__group-label {
    display: block;
    font-size: 0.75rem;
    padding: 0.25rem 0 0.35rem;
  }
  .sidebar__sublinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }
  .sidebar__link, .sidebar__sublink {
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    border: 1px solid #e8ece4;
  }
  .sidebar__divider { display: none; }
  .main { padding: 1.5rem 1rem 3rem; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .header__brand-text { display: none; }
}
