/* Accueil « papier crème + encadrés sombres ». */

body.home-agades {
  background: #F6F3EC;
  color: #14191C;
}

body.home-agades .app-container,
body.home-agades header.bg-white {
  background: #F6F3EC;
}

body.home-agades header.bg-white {
  box-shadow: none;
}

.home-agades-page {
  color: #14191C;
  padding: 0 0 8px;
}

.home-agades-page a {
  color: inherit;
}

.home-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid #DDD6C7;
  box-sizing: border-box;
}

.home-brand {
  display: none;
  align-items: center;
  gap: 10px;
  flex: none;
  color: #14191C;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.home-brand img {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  object-fit: contain;
}

.home-scope {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
}

.home-scope select,
.home-search input {
  border: 1px solid #C9C1B2;
  border-radius: 8px;
  background: #fff;
  color: #14191C;
  font: inherit;
  padding: 6px 12px;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

.home-scope select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  max-width: none;
}

.home-scope-face {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border: 1px solid #C9C1B2;
  border-radius: 8px;
  background: #fff;
  padding: 6px 12px;
  white-space: nowrap;
}

.home-scope-face b {
  font-weight: 700;
}

.home-scope-face [data-scope-face-counts] {
  color: #7B8389;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-scope-caret {
  color: #14191C;
  font-weight: 600;
}

.home-scope:focus-within .home-scope-face {
  outline: 2px solid #0A5C57;
  outline-offset: 2px;
}

.home-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid #C9C1B2;
  border-radius: 10px;
  padding: 3px;
  background: #fff;
  min-width: 0;
  max-width: 100%;
}

.home-tabs a {
  text-decoration: none;
  color: #3A4449;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 7px;
}

.home-tabs a[aria-current="page"] {
  background: #14191C;
  color: #fff;
}

.home-tabs small {
  margin-left: 4px;
  color: #0A5C57;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.home-tabs a[aria-current="page"] small {
  color: #D7F3EF;
}

.home-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex: 0 1 260px;
}

.home-search input {
  width: 100%;
}

.home-accounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0 24px 8px;
  list-style: none;
  color: #3A4449;
  font-size: 13px;
}

.home-accounts b {
  color: #14191C;
  font-weight: 650;
}

.home-main {
  padding: 18px 28px 0;
}

.home-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 8px 0 0;
  min-width: 0;
  max-width: 100%;
  font: 600 12px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3A4449;
}

.home-kicker span,
.home-kicker time {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.home-kicker::after {
  content: "";
  flex: 1 1 2rem;
  height: 1px;
  background: #8A8174;
  min-width: 2rem;
}

.home-agades-page h1 {
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 14px 0 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.home-agades-page h1 em {
  font-style: italic;
  font-weight: 500;
  color: #3A4449;
}

.home-lede {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #3A4449;
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  margin-top: 22px;
  min-width: 0;
  align-items: stretch;
}

.home-split-atlas {
  grid-template-columns: minmax(0, 1fr);
}

.home-plate {
  background: #111416;
  color: #E7ECEE;
  border-radius: 14px;
  overflow: hidden;
}

.home-plate-hd {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  padding: 14px 18px;
  border-bottom: 1px solid #2C3236;
}

.home-plate-hd strong {
  font-size: 15px;
}

.home-plate-hd span,
.home-cap {
  color: #C5CDD1;
  font-size: 13px;
}

.home-map {
  position: relative;
  background: #1A1E21;
  aspect-ratio: 2.1 / 1;
  overflow: hidden;
}

.home-map picture {
  position: absolute;
  inset: 0;
  display: block;
}

.home-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.home-callouts {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.home-callout {
  position: absolute;
  min-width: 72px;
  max-width: 38%;
  padding: 6px 8px 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(17, 20, 22, 0.92);
  color: #F4F7F8;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.home-callout b,
.home-callout span {
  display: block;
}

.home-callout b {
  font-size: 13px;
  line-height: 1.2;
}

.home-callout span {
  margin-top: 2px;
  color: #D5DDE1;
  font-size: 11px;
  line-height: 1.2;
}

.home-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 10px 18px 0;
  color: #C5CDD1;
  font-size: 12px;
}

.home-legend span {
  display: inline-flex;
  align-items: center;
}

.home-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 2px;
}

.home-swatch-sector {
  background: #F26A3D;
}

.home-swatch-other {
  background: #8D98A0;
}

.home-swatch-project {
  background: #fff;
  transform: rotate(45deg) scale(0.75);
}

.home-cap {
  margin: 0;
  padding: 12px 18px 16px;
  border-top: 1px solid #2C3236;
  line-height: 1.45;
}

.home-cap a,
.home-plate .home-atlas-link {
  color: #E7ECEE;
}

.home-atlas-link {
  display: inline-block;
  margin: 0 18px 16px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.home-across {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: #fff;
  border: 1px solid #DDD6C7;
  border-radius: 14px;
  padding: 18px;
  min-height: 0;
}

.home-across-sub {
  color: #3A4449;
  font-size: 13px;
}

.home-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #EFEADF;
  font-size: 13px;
}

.home-kv span {
  color: #3A4449;
}

.home-kv b {
  font-weight: 650;
  text-align: right;
}

.home-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  font: 600 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  vertical-align: 1px;
}

.home-chip.is-sourced {
  background: #DDF1EE;
  color: #0A5C57;
}

.home-chip.is-unverified {
  background: #FCEFC7;
  color: #6A4A00;
}

.home-across-label {
  margin-top: 14px;
  font-weight: 700;
  font-size: 13.5px;
}

.home-across-link {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  padding: 9px 11px;
  border: 1px solid #DDD6C7;
  border-radius: 10px;
  color: #3A4449;
  font-size: 12.5px;
  text-decoration: none;
}

.home-across-link b {
  display: block;
  color: #14191C;
  font-size: 13px;
}

.home-across-link small {
  display: block;
  color: #3A4449;
}

.home-across-kind {
  flex: none;
  padding: 4px 6px;
  border-radius: 4px;
  background: #0A5C57;
  color: #fff;
  font: 700 9.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
}

.home-across h2 {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 3px;
}

.home-section-title {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.35rem;
  margin: 0 0 8px;
}

.home-across p,
.home-section-stand {
  color: #3A4449;
  margin: 0;
}

.home-across .home-across-sub {
  margin: 0 0 8px;
}

.home-across .home-across-label {
  margin: 14px 0 0;
}

.home-section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.6rem, 3vw, 1.9rem);
  margin: 36px 0 6px;
}

.home-badge {
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  color: #0A5C57;
  background: #D7F3EF;
  border-radius: 5px;
  padding: 5px 8px;
}

.home-section-stand {
  max-width: 820px;
  margin-bottom: 16px;
}

.home-course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
}

.home-course-copy {
  padding: 18px 20px 20px;
}

.home-course-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: #C5CDD1;
  margin-bottom: 12px;
}

.home-course-top b {
  color: #fff;
  margin-left: 6px;
}

.home-parts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-course-copy > p,
.home-parts {
  color: #C5CDD1;
}

.home-course-copy > p strong,
.home-parts em {
  color: #fff;
}

.home-part {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr) 3.25rem;
  gap: 12px;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
  min-width: 0;
}

.home-part > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-part-track {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: #2A3034;
  overflow: hidden;
}

.home-part-track i {
  display: block;
  height: 100%;
  background: #1AA59A;
}

.home-part em {
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #C5CDD1;
  text-align: right;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
}

.home-btn-primary {
  background: #0C6E68;
  color: #fff;
}

.home-btn-ghost {
  border-color: #3A444C;
  color: #E7ECEE;
  background: transparent;
}

.home-figure {
  border-left: 1px solid #2C3236;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.home-figure iframe {
  flex: 1;
  width: 100%;
  min-height: 300px;
  border: 0;
  background: #0b0b0b;
}

.home-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 300px);
  gap: 14px;
  align-items: stretch;
}

.home-tile {
  background: #fff;
  border: 1px solid #DDD6C7;
  border-radius: 12px;
  padding: 16px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.home-tile .home-k,
.home-bd .home-k {
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0A5C57;
}

.home-agades-page .home-tile > h3,
.home-agades-page .home-bd > h3,
.home-agades-page article.home-tile > h3 {
  width: auto;
  margin: 8px 0 4px;
  padding: 0 !important;
  text-indent: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.home-tile p,
.home-feed {
  color: #3A4449;
  font-size: 14px;
}

.home-agades-page .home-go {
  margin-top: auto;
  padding-top: 10px;
  color: #0B6E68;
  font-weight: 700;
  font-size: 12.5px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.home-radar-tile {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.home-tile-reg {
  grid-column: 3;
  grid-row: 1;
}

.home-tile-tech {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.home-tile-cee {
  grid-column: 3;
  grid-row: 2;
}

.home-feed {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.home-feed li {
  border-top: 1px solid #EFEADF;
  padding: 8px 0;
}

.home-feed a {
  text-decoration: none;
}

.home-feed small {
  display: block;
  font: 600 10px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4A5257;
}

.home-bd {
  grid-column: 4;
  grid-row: 1 / span 2;
  background: #EFEADF;
  border: 1px solid #DDD6C7;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-bd .home-k {
  color: #8A3414;
}

.home-bd-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 140px;
  padding: 12px;
  border: 1px solid #DDD6C7;
  border-radius: 6px;
  background: #E7DFD2;
  overflow: hidden;
}

.home-bd-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-bd-fallback,
a.home-bd-fallback {
  position: relative;
  z-index: 1;
  color: #3A2A22;
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.home-bd-cover:not(.is-missing) .home-bd-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-bd-cover.is-missing img {
  display: none;
}

.home-bd img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid #DDD6C7;
  background: #fff;
}

.home-agades-page .home-bd > h3 {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.home-bd a {
  color: #8A3414;
  font-weight: 600;
  text-decoration: none;
}

.home-bd-go {
  margin-top: auto;
  color: #B4471F;
  font-size: 12.5px;
  font-weight: 600;
}

.home-tome {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #4A5257;
  font-size: 12.5px;
  font-weight: 500;
}

.home-tome b {
  display: block;
  color: #14191C;
  font-size: 13px;
  font-weight: 700;
}

.home-tome small {
  display: block;
  color: #4A5257;
  font-size: 12.5px;
  font-weight: 500;
}

.home-tome img {
  width: 46px;
  height: 68px;
  object-fit: cover;
  border-radius: 3px;
  border: 0;
  background: #fff;
}

.home-week {
  margin: 28px 0 0;
  border-top: 1px solid #DDD6C7;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px 16px 18px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.home-week-track {
  min-width: 0;
}

.home-week-latest {
  margin: 0 0 2px;
  min-width: 0;
  text-align: right;
}

.home-week-latest a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  color: #14191C;
  font-weight: 700;
  text-decoration: none;
}

.home-week-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.home-week h2 {
  font-size: 15px;
  margin: 0;
}

.home-week p {
  margin: 2px 0 0;
  color: #3A4449;
  font-size: 13px;
}

.home-ticks {
  position: relative;
  height: 46px;
  margin: 0;
  min-width: 0;
}

.home-ticks-axis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 1px;
  background: #DDD6C7;
}

.home-tick {
  position: absolute;
  bottom: 16px;
  width: 2px;
  height: 12px;
  background: #3A4449;
}

.home-ticks time {
  position: absolute;
  bottom: 0;
  font-size: 10.5px;
  color: #3A4449;
  white-space: nowrap;
}

.home-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #15803D;
  vertical-align: 1px;
}

.home-week-now a {
  display: block;
  color: #14191C;
  font-weight: 700;
  text-decoration: none;
}

.home-week-live {
  display: block;
  color: #0A5C57;
  font-weight: 700;
}

.home-week-now {
  text-align: right;
  white-space: nowrap;
}

.home-week-now b {
  color: #0A5C57;
}

.home-notify {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.home-notify button {
  background: #0C6E68;
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 9px 16px;
  font-weight: 700;
  cursor: pointer;
}

.home-notify input[type="email"] {
  border: 1px solid #3A444C;
  background: #1A1E21;
  color: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 100%;
}

.home-notify-note,
.home-notify-status {
  flex-basis: 100%;
  margin: 0;
  color: #C5CDD1;
  font-size: 13px;
}

.home-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 769px) {
  .home-brand {
    display: flex;
  }

  body.home-agades .home-toolbar {
    position: relative;
    z-index: 40;
    margin-left: calc(-1 * var(--sidebar-collapsed-width));
    width: calc(100% + var(--sidebar-collapsed-width));
    background: #F6F3EC;
  }

  body.home-agades .modern-sidebar .sidebar-header {
    display: none;
  }

  body.home-agades .modern-sidebar {
    padding-top: 72px;
    box-sizing: border-box;
  }
}

body.home-agades #back-to-top {
  right: 16px !important;
  bottom: 80px !important;
}

@media (max-width: 640px) {
  body.home-agades #back-to-top {
    bottom: 6rem !important;
  }
}

@media (max-width: 980px) {
  .home-toolbar {
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .home-split,
  .home-course,
  .home-resources,
  .home-week {
    grid-template-columns: 1fr;
  }

  .home-radar-tile,
  .home-tile-reg,
  .home-tile-tech,
  .home-tile-cee,
  .home-bd {
    grid-column: auto;
    grid-row: auto;
  }

  .home-figure {
    border-left: 0;
    border-top: 1px solid #2C3236;
  }

  .home-search {
    margin-left: 0;
  }

  .home-week-now {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .home-toolbar,
  .home-main,
  .home-accounts {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-toolbar {
    padding-inline-start: 16px;
  }

  .home-scope,
  .home-tabs,
  .home-search {
    flex: 1 1 100%;
  }

  .home-part {
    grid-template-columns: minmax(0, 1fr) 3.25rem;
    grid-template-areas: "label label" "bar count";
    gap: 4px 12px;
  }

  .home-part > span:first-child {
    grid-area: label;
  }

  .home-part-track {
    grid-area: bar;
  }

  .home-part em {
    grid-area: count;
  }

  .home-callout-extra {
    display: none;
  }

  .home-map {
    height: auto;
    aspect-ratio: 2.1 / 1;
  }

  .home-bd img {
    height: 140px;
  }
}

@media (max-width: 768px) {
  body.home-agades .app-container {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }

  body.home-agades .app-container > main {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-top: 76px;
    box-sizing: border-box;
  }

  body.home-agades .home-agades-page,
  body.home-agades .home-main,
  body.home-agades .home-toolbar,
  body.home-agades .home-accounts,
  body.home-agades .home-resources,
  body.home-agades .home-course,
  body.home-agades .home-tile,
  body.home-agades .home-bd,
  body.home-agades footer {
    min-width: 0;
    max-width: 100%;
  }

  body.home-agades footer .flex,
  body.home-agades footer ul,
  body.home-agades footer .grid {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
  }
}

/* En-tête en trame. Le papier crème vient du fond de la page, pas d'un aplat gris. */
.home-trame {
  position: relative;
  min-height: 640px;
  height: min(760px, calc(100vh - 150px));
  margin: 8px 0 0;
  border-top: 1px solid #E2DDD1;
  border-bottom: 1px solid #E2DDD1;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  background: transparent;
}

.home-trame-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.home-trame-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px 40px;
  padding: 56px 48px 0;
  pointer-events: none;
  min-width: 0;
}

.home-trame-copy a,
.home-trame-copy h1,
.home-trame-copy p {
  pointer-events: auto;
}

.home-agades-page .home-trame h1 {
  margin: 0;
  max-width: 11em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.6vw, 4.75rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #14201F;
  overflow-wrap: break-word;
}

.home-trame-quiet {
  /* #8C9391 sur #F6F3EC mesure 2,83:1. #878E8C atteint 3,02:1. */
  color: #878E8C;
}

.home-trame-side {
  padding-top: 28px;
  min-width: 0;
}

.home-trame-side p {
  margin: 0;
  max-width: 34rem;
  font-size: 18px;
  line-height: 1.55;
  color: #4A5856;
}

.home-trame-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.home-trame-cta,
.home-trame-ghost {
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
  padding: 11px 16px;
  font-weight: 600;
  text-decoration: none;
}

/* .home-agades-page a (0,1,1) impose color:inherit et bat .home-trame-cta (0,1,0). */
.home-agades-page a.home-trame-cta,
.home-agades-page a.home-trame-cta:hover,
.home-agades-page a.home-trame-cta:focus-visible {
  background: #262A2B;
  color: #fff;
}

.home-trame-ghost {
  border: 1px solid #E2DDD1;
}

.home-agades-page a.home-trame-ghost,
.home-agades-page a.home-trame-ghost:hover,
.home-agades-page a.home-trame-ghost:focus-visible {
  background: #fff;
  color: #14201F;
}

.home-agades-page a.home-trame-cta:focus-visible,
.home-agades-page a.home-trame-ghost:focus-visible {
  outline: 2px solid #007C91;
  outline-offset: 2px;
  border-radius: 11px;
  box-shadow: none;
}

.home-trame-hint {
  position: absolute;
  z-index: 2;
  left: 48px;
  bottom: 22px;
  margin: 0;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  color: #67716F;
}

.home-trame-fig {
  position: absolute;
  z-index: 2;
  right: 84px;
  bottom: 18px;
  max-width: 240px;
  margin: 0;
}

.home-trame-fig figcaption {
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #67716F;
  text-align: right;
}

.home-trame-fig b {
  color: #3A4449;
  font-weight: 700;
}

@media (hover: none), (pointer: coarse) {
  .home-trame-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-trame-hint {
    display: none;
  }
}

.home-trame.is-reduced .home-trame-hint {
  display: none;
}

@media (max-width: 900px) {
  .home-trame {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .home-trame-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 28px 0 0;
  }

  .home-agades-page .home-trame h1 {
    max-width: none;
    font-size: 2.15rem;
  }

  .home-trame-side {
    padding-top: 0;
  }

  .home-trame-side p {
    font-size: 16px;
  }

  .home-trame-canvas {
    position: relative;
    inset: auto;
    width: 100%;
    height: 420px;
    margin-top: 8px;
  }

  .home-trame-fig {
    position: static;
    max-width: none;
    padding: 12px 0 4px;
  }

  .home-trame-fig figcaption {
    text-align: left;
  }

  .home-trame-hint {
    display: none;
  }
}


/* En-tête de l'accueil : il couvre toute la largeur, barre latérale repliée ou dépliée.
   Les onglets restent sur une ligne et défilent si la place manque. */
.home-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-tabs::-webkit-scrollbar {
  display: none;
}

.home-tabs a {
  flex: none;
  white-space: nowrap;
}

@media (min-width: 769px) {
  body.home-agades .app-container:not(.sidebar-collapsed) .home-toolbar {
    margin-left: calc(-1 * var(--sidebar-width));
    width: calc(100% + var(--sidebar-width));
  }

  html.sidebar-rail body.home-agades .app-container .home-toolbar {
    margin-left: calc(-1 * var(--sidebar-collapsed-width));
    width: calc(100% + var(--sidebar-collapsed-width));
  }

  .home-scope {
    flex: 0 1 auto;
    min-width: 0;
  }

  .home-search {
    flex: 0 1 240px;
    min-width: 150px;
  }
}

@media (max-width: 768px) {
  body.home-agades .app-container > main {
    padding-top: 0;
  }

  .home-brand {
    display: flex;
    flex: 1 1 100%;
    min-height: 48px;
    padding-inline-start: 58px;
    box-sizing: border-box;
  }

  .home-toolbar {
    padding-top: 16px;
    row-gap: 10px;
  }
}

@media (max-width: 640px) {
  .home-tabs {
    justify-content: space-between;
  }

  .home-tabs a {
    padding: 6px 8px;
    font-size: 15px;
  }
}


/* Contraste AA du compteur de périmètre (était 3,85:1). */
.home-scope-face [data-scope-face-counts] {
  color: #4A5458;
}
