:root {
  --paper: #f6f3ec;
  --paper-deep: #efe9dd;
  --ink: #211f1a;
  --ink-soft: #57534a;
  --red: #a3172a;
  --blue: #1c3f7c;
  --gold: #d4a017;
  --line: #ddd6c8;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: inherit; }

strong { font-weight: 600; }

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

.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.wordmark {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.blason-footer { height: 30px; }

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

.topnav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.topnav a:hover { color: var(--ink); }

.topnav-cta {
  color: var(--red) !important;
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

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

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

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

/* ---------- Actualités ---------- */

.hero-news {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  padding: 30px 32px 24px;
}

.news-heading {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.news-sub {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin: 6px 0 10px;
}

.news-list {
  list-style: none;
}

.news-item {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.news-item a {
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
}

.news-item a:hover { color: var(--red); }

.news-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.news-placeholder {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.news-note {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 21ch;
  margin-bottom: 36px;
}

.hero-lede {
  max-width: 62ch;
}

.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: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 2px;
}

.btn:hover { background: #7f1122; }

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

.btn-light:hover { background: #fff; }

.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; }

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

.situation-card {
  display: block;
  text-decoration: none;
  background: linear-gradient(180deg, #fffdf8 0%, #f3ede2 100%);
  border: 1px solid var(--line);
  padding: 24px 22px 22px;
  min-height: 168px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.situation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(163, 23, 42, 0.35);
  box-shadow: 0 12px 26px rgba(33, 31, 26, 0.08);
}

.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(2, 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;
}

.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));
}

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

.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;
}

.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(22, 15, 12, 0.92), rgba(163, 23, 42, 0.82));
  z-index: -1;
}

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

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

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  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(--serif);
  font-size: 1.6rem;
  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: var(--paper);
  margin-bottom: 24px;
}

.band p {
  color: rgba(246, 243, 236, 0.82);
  margin-bottom: 16px;
  max-width: 66ch;
}

.band strong { color: var(--paper); }

.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(--serif);
  font-size: 1.4rem;
  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: var(--ink);
  color: #b9b3a6;
  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: var(--paper);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

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

.footer-title {
  color: var(--paper);
  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: #b9b3a6;
  text-decoration: none;
}

.footer-links a:hover,
.footer-mail:hover { color: var(--paper); }

.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; }

  .topbar-inner {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0;
  }

  .topnav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero { padding: 64px 0 60px; }

  .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;
  }
}
