:root {
  /* Rouge framboise tiré d’un pixel du logo (#CD2249), distinct du rouge drapeau des banques cantonales */
  --paper: #ffffff;
  --paper-deep: #f4f4f4;
  --ink: #1e1e1e;
  --ink-soft: #555a60;
  --red: #cd2249;
  --red-dark: #a9285f;
  --blue: #6b6f75;
  --gold: #cd2249;
  --line: #e4e4e4;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
  --serif: "Source Sans 3", "Frutiger", "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Source Sans 3", "Frutiger", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, .wordmark {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
}

h3 { font-weight: 600; }

a { color: inherit; }

strong { font-weight: 600; }

/* ---------- Header ---------- */

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}

.wordmark {
  white-space: nowrap;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blason {
  height: 42px;
  width: auto;
  display: block;
}

.blason-footer { height: 36px; }

.topnav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 30px;
}

.topnav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.topnav a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 6px; }

.topnav-cta {
  align-self: stretch;
  display: flex;
  align-items: center;
  margin-right: -28px;
  padding: 0 26px;
  background: var(--red);
  color: #fff !important;
}

.topnav-cta:hover { background: var(--red-dark); text-decoration: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero-photo {
  position: relative;
  margin: 0;
  line-height: 0;
}

.hero-photo img {
  width: 100%;
  height: clamp(320px, 46vw, 600px);
  object-fit: cover;
  object-position: 56% 55%;
  display: block;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: clamp(80px, 14vw, 190px);
  height: clamp(70px, 9vw, 120px);
  background: var(--red);
}

.hero-photo figcaption {
  position: absolute;
  left: 16px;
  top: 12px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero {
  padding: 0 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero-card {
  position: relative;
  z-index: 2;
  margin-top: clamp(-150px, -9vw, -60px);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 48px 52px 44px;
}

.hero-places {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 22px;
}

.hero-places li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0 14px;
  border-left: 1px solid var(--line);
}

.hero-places li:first-child { padding-left: 0; border-left: 0; }
.hero-places li:last-child { color: var(--red); }

/* ---------- Actualités : carrousel ---------- */

.news-carousel {
  margin-top: 56px;
}

.news-title {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 20px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .news-title {
    white-space: normal;
    font-size: 1.25rem;
  }
}

.carousel {
  position: relative;
  border: 0;
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transform: translateX(-100%);
}

.carousel-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
}

.carousel-slide.is-placeholder {
  grid-template-columns: 1fr;
  min-height: 160px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .carousel-slide:not(.is-placeholder) {
    grid-template-columns: 1fr;
  }

  .carousel-slide:not(.is-placeholder) img {
    width: 100%;
    height: auto;
    min-height: 180px;
    max-height: 220px;
  }

  .carousel-copy {
    margin-top: 16px;
    padding: 20px 28px 24px;
  }
}

.carousel-copy {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.carousel-headline {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}

.carousel-headline:hover { color: var(--red); }

.carousel-headline,
.carousel-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-headline { -webkit-line-clamp: 3; }

.carousel-desc {
  -webkit-line-clamp: 3;
  font-size: 0.85rem;
  color: var(--ink-soft);
  animation: carousel-fade-in 0.5s ease 0.15s both;
}

.carousel-meta {
  font-size: 0.75rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

@keyframes carousel-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover { background: var(--red); color: var(--paper); border-color: var(--red); }

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--red);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.carousel-dot.is-active { background: var(--red); }

.kicker {
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 30ch;
  margin-bottom: 22px;
}

.hero-lede {
  max-width: 62ch;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.hero-lede p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 2px;
}

.btn:hover { background: var(--red-dark); }

.btn-light {
  background: #fff;
  color: var(--red);
}

.btn-light:hover { background: #fff; color: var(--red-dark); }

.textlink {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.section-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.section-grid--media {
  grid-template-columns: 300px minmax(0, 1fr) 300px;
}

.section-grid--media-left {
  grid-template-columns: 300px 300px minmax(0, 1fr);
}

.section-grid--media-left .section-media { order: -1; }

.process-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-card,
.situation-card {
  position: relative;
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 52px 24px 24px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.process-card::after,
.situation-card::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1;
  color: var(--red);
}

.process-card:hover,
.situation-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: var(--red);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--ink);
}

.process-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.situation-card { min-height: 168px; }

.situation-card h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.situation-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.proof-grid,
.case-grid,
.testimonial-grid,
.team-grid {
  display: grid;
  gap: 18px;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card,
.case-card,
.testimonial-card,
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}

.case-kicker,
.team-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 8px;
}

.case-meta {
  color: var(--ink-soft);
  font-weight: 600;
  margin: 8px 0;
}

.testimonial-card p:first-child {
  font-size: 1.02rem;
}

.testimonial-card footer,
.team-card p {
  color: var(--ink-soft);
  margin-top: 10px;
}

.team-photo {
  min-height: 160px;
  background: var(--paper-deep);
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.team-logo {
  height: 36px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
  display: block;
}

/* Logo réduit à un symbole : on affiche le nom à côté */
.team-logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.team-logo-mark .team-logo {
  margin-bottom: 0;
  flex: none;
}

.team-logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue);
}

.team-logo--text {
  height: auto;
  max-width: none;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue);
  padding: 6px 0 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.section-head {
  position: sticky;
  top: 100px;
}

/* ---------- Photos ---------- */

.banner {
  position: relative;
  line-height: 0;
}

.banner img {
  width: 100%;
  height: min(58vw, 560px);
  object-fit: cover;
  display: block;
}

.banner figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 0 22px;
  background: linear-gradient(to top, rgba(15, 13, 10, 0.72), rgba(15, 13, 10, 0));
}

/* Filtre aux couleurs du site : tons adoucis, voile bleu Léman en haut, chaleur papier en bas */
.banner--tinted img {
  object-position: center 58%; /* garde la rade et le Jet d’eau dans le cadre */
  filter: saturate(0.78) sepia(0.14) contrast(1.04) brightness(0.97);
}

.banner--tinted::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(27, 47, 79, 0.34), rgba(27, 47, 79, 0.06) 55%, rgba(169, 40, 95, 0.12));
  mix-blend-mode: multiply;
}

.banner--tinted figcaption {
  z-index: 1;
}

.banner figcaption .wrap {
  display: block;
  color: var(--paper);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 46ch;
}

/* Encadrés (Le Temps, FER Genève) */
.encadres {
  display: grid;
  gap: 28px;
}

.encadre {
  display: grid;
  grid-template-columns: minmax(200px, 38%) minmax(0, 1fr);
  background: #fff;
  border: 0;
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}

.encadre-media {
  margin: 0;
  line-height: 0;
  position: relative;
}

.encadre-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.encadre-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 12px 10px;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--paper);
  background: linear-gradient(to top, rgba(15, 13, 10, 0.7), rgba(15, 13, 10, 0));
}

.encadre-body {
  padding: 26px 28px 24px;
}

.encadre-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.encadre-body h3 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.25;
}

.encadre-body p:last-child { margin-bottom: 0; }

/* Témoignage */
.temoignage { grid-template-columns: minmax(200px, 34%) minmax(0, 1fr); }
.temoignage-media { padding: 28px 0 28px 28px; align-self: start; }
.temoignage-media img {
  filter: none;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-position: 50% 15%;
  border: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .temoignage-media { padding: 24px 24px 0; }
  .temoignage-media img { height: auto; max-width: 280px; }
}
.temoignage-quote {
  margin: 0 0 18px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-style: normal;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--ink);
}
.temoignage-quote p { margin: 0 0 12px; }
.temoignage-quote p:last-child { margin-bottom: 0; }
.temoignage-author {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.temoignage-author strong { color: var(--ink); }

@media (max-width: 1100px) {
  .encadre { grid-template-columns: 1fr; }
  .encadre-media img { height: 220px; min-height: 0; }
}

.section-media {
  position: sticky;
  top: 100px;
}

.section-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.section-media figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.section-media-bg {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.band--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.band--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30, 30, 30, 0.9), rgba(205, 34, 73, 0.86));
  z-index: -1;
}

.num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--red);
  margin-bottom: 14px;
}

.num::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  margin-top: 12px;
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.section-body p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  max-width: 68ch;
}

.section-body p:last-child { margin-bottom: 0; }

.section-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* Index list (hairline rows) */

.index-list {
  list-style: none;
  margin: 28px 0 32px;
}

.index-list li {
  border-top: 1px solid var(--line);
  padding: 12px 2px;
  font-size: 0.98rem;
}

.index-list li:last-child { border-bottom: 1px solid var(--line); }

.cols-2 {
  columns: 2;
  column-gap: 48px;
}

.cols-2 li { break-inside: avoid; }

/* Dash list */

.dash-list {
  list-style: none;
  margin: 4px 0 20px;
}

.dash-list li {
  padding: 5px 0 5px 26px;
  position: relative;
  color: var(--ink-soft);
}

.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 1px;
  background: var(--red);
}

/* Steps */

.steps {
  list-style: none;
  counter-reset: etape;
  margin-top: 44px;
}

.step {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.step::before {
  content: counter(etape, decimal-leading-zero);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.9rem;
  color: var(--red);
  line-height: 1.2;
}

.step p { margin-bottom: 14px; }
.step p:last-child { margin-bottom: 0; }

/* ---------- Green bands ---------- */

.band {
  background: var(--red);
  padding: 88px 0;
  scroll-margin-top: 80px;
}

.band-inner { max-width: 820px; }

.band h2 {
  color: #fff;
  margin-bottom: 24px;
}

.band p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
  max-width: 66ch;
}

.band strong { color: #fff; }

.band-action { margin-top: 32px; }

/* ---------- Valuation panel ---------- */

.panel-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.panel {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
}

.panel h2 { margin-bottom: 20px; }

.panel-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.panel-list { margin: 8px 0 0; }

.panel-action {
  grid-column: 1 / -1;
  margin-top: 8px;
}

/* ---------- FAQ ---------- */

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 2px;
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--red);
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  padding: 0 40px 24px 2px;
  color: var(--ink-soft);
  max-width: 66ch;
}

/* ---------- Footer ---------- */

.footer {
  background: #2b2b2b;
  border-top: 6px solid var(--red);
  color: #b8b8b8;
  padding: 64px 0 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-mark {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.footer-desc {
  max-width: 36ch;
  line-height: 1.6;
}

.footer-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a,
.footer-mail {
  color: #b8b8b8;
  text-decoration: none;
}

.footer-links a:hover,
.footer-mail:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(246, 243, 236, 0.14);
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-head { position: static; }

  .panel {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .situation-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    position: relative;
    height: 60px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 15, 12, 0.08);
  }

  .topnav.is-open {
    display: flex;
  }

  .topnav a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
  }

  .topnav-cta {
    margin-right: 0;
    padding: 14px 24px;
  }

  .hero { padding: 0 0 60px; }

  .hero-card {
    margin: -40px 0 0;
    padding: 30px 22px 26px;
  }

  .hero-photo img { height: 300px; object-position: 62% 55%; }

  .hero-places li { padding: 0 10px; font-size: 0.9rem; }

  .section, .band, .panel-section { padding: 60px 0; }

  .cols-2 { columns: 1; }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Navigation : resserrée sur écrans moyens, menu burger sous 1080 px */
.topnav a { white-space: nowrap; }

@media (max-width: 1180px) {
  .topnav { gap: 20px; }
  .topnav a { font-size: 0.95rem; }
}

@media (max-width: 1080px) {
  .topbar-inner { position: relative; padding: 0 16px; }
  .nav-toggle { display: flex; }
  .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .topnav.is-open { display: flex; }
  .topnav a { width: 100%; padding: 14px 24px; border-top: 1px solid var(--line); }
  .topnav-cta { margin-right: 0; padding: 14px 24px; }
}

/* ---------- Menu principal en cartes (façon banque cantonale) ---------- */

.megamenu {
  position: relative;
  z-index: 15;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.megamenu-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.megamenu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 40px 18px 18px;
  text-decoration: none;
  border-left: 1px solid var(--line);
  transition: background 0.15s ease;
}

.megamenu-item:last-child { border-right: 1px solid var(--line); }

.megamenu-item::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;
  color: var(--red);
}

.megamenu-item:hover { background: var(--paper-deep); }

.megamenu-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.megamenu-sub {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

@media (max-width: 1080px) {
  .megamenu-inner {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
  }
  .megamenu-inner::-webkit-scrollbar { display: none; }
  .megamenu-item {
    flex: 0 0 auto;
    min-width: 168px;
    scroll-snap-align: start;
    padding: 14px 38px 14px 16px;
  }
  .megamenu-item:first-child { border-left: 0; }
  .megamenu-title { font-size: 1rem; }
  .megamenu-sub { font-size: 0.82rem; }
}

/* ---------- Fiches des acteurs : 2 puis 1 par ligne sur petits écrans ---------- */

@media (max-width: 920px) {
  .team-grid,
  .proof-grid,
  .case-grid,
  .testimonial-grid,
  .situation-grid,
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .team-grid,
  .proof-grid,
  .case-grid,
  .testimonial-grid,
  .situation-grid,
  .process-grid { grid-template-columns: 1fr; }
}

/* Sous-menus déroulants du menu en cartes */
button.megamenu-item {
  font: inherit;
  text-align: left;
  background: #fff;
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
  cursor: pointer;
  width: 100%;
}

.megamenu-item::after { transition: transform 0.2s ease; }
.megamenu-item[aria-expanded="true"] { background: var(--paper-deep); box-shadow: inset 0 -3px 0 var(--red); }
.megamenu-item[aria-expanded="true"]::after { transform: rotate(45deg); }

.megamenu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  padding: 26px 0 30px;
}

.megamenu-panel[hidden] { display: none; }

.megamenu-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.megamenu-panel-title span { font-weight: 300; color: var(--ink-soft); }

.megamenu-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  max-width: 820px;
}

.megamenu-links a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.megamenu-links a::before { content: "›"; color: var(--red); margin-right: 10px; }
.megamenu-links a:hover { color: var(--red); }

@media (max-width: 1080px) {
  button.megamenu-item { width: auto; }
  .megamenu-links { grid-template-columns: 1fr; }
  .megamenu-panel { padding: 18px 0 20px; }
}

/* Listes de liens sur les bandeaux rouges : texte blanc */
.band .index-list li {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.band .index-list a { color: #fff; text-decoration: none; }
.band .index-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Bloc partenaire Répertoire.finance (home) */
.section--promo { padding: 56px 0; }
.promo-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.4fr;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.promo-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: radial-gradient(circle at 30% 25%, #1a3366 0%, #0d2149 55%, #081633 100%);
}
.promo-logo img {
  display: block;
  width: 132px;
  height: 132px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}
.promo-logo:hover img { transform: scale(1.04) rotate(-2deg); }
.promo-body {
  position: relative;
  isolation: isolate;
  padding: 44px 48px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, #e0325a 0%, var(--red) 45%, var(--red-dark) 100%);
}
/* Effet stylisé : fines rayures diagonales et cercles concentriques en filigrane */
.promo-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}
.promo-body::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.05), 0 0 0 56px rgba(255, 255, 255, 0.04);
}
.promo-body h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 12px; color: #fff; }
.promo-body p { margin-bottom: 24px; color: rgba(255, 255, 255, 0.92); }
.promo-body strong { color: #fff; }
.promo-btn { display: inline-block; }
@media (max-width: 860px) {
  .promo-card { grid-template-columns: 1fr; }
  .promo-logo { padding: 32px; }
  .promo-logo img { width: 96px; height: 96px; border-radius: 20px; }
  .promo-body { padding: 32px 24px; }
}
