/* Core conversion pages - visual refinement, 2026-08-23 */

/* Homepage: turn repeated rounded boxes into a structured specification list. */
.s-engage {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .025), transparent 42%),
    #101c3d !important;
}

.s-engage .engage-right {
  gap: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.s-engage .engage-card {
  position: relative;
  min-height: 138px;
  padding: 28px 26px 28px 76px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.s-engage .engage-card:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, .2) !important;
}

.s-engage .engage-num {
  position: absolute !important;
  top: 27px;
  left: 18px;
  color: #ef5b49 !important;
  opacity: 1 !important;
}

.s-engage .engage-card h3,
.s-engage .engage-card p {
  position: relative;
  z-index: 1;
}

/* Homepage references: restore legibility and remove unnecessary vertical air. */
.s-refs {
  padding-top: 68px !important;
}

.s-refs .refs-header {
  margin-bottom: 34px !important;
}

.s-refs .marquee-wrap {
  padding: 28px 0 48px !important;
}

.s-refs .mq-item {
  color: #9aa8bc !important;
  opacity: 1 !important;
}

.s-refs .mq-dot {
  background: #ef5b49 !important;
  opacity: .8 !important;
}

.s-refs .assurance-band {
  margin-top: 0 !important;
}

/* About: editorial founder dossier, with a compact proof band. */
.founder-grid {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 72px) !important;
  border-top: 3px solid #ef5b49;
  border-bottom: 1px solid #dbe2ec;
  background: linear-gradient(90deg, #f5f7fb 0 34%, #fff 34% 100%);
}

.founder-grid::before {
  content: "1997";
  position: absolute;
  left: 22px;
  bottom: -45px;
  color: rgba(16, 28, 61, .045);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(9rem, 17vw, 15rem);
  line-height: .8;
  pointer-events: none;
}

.founder-content {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(250px, .78fr) minmax(440px, 1.45fr);
  grid-template-areas:
    "badge facts"
    "name facts"
    "title facts"
    "stats stats";
  column-gap: clamp(44px, 6vw, 88px);
  max-width: none !important;
}

.founder-content > .section-badge { grid-area: badge; justify-self: start; }
.founder-content > h2 { grid-area: name; margin: 22px 0 6px !important; }
.founder-content > .founder-title { grid-area: title; margin: 0 !important; max-width: 330px; }
.founder-content > .founder-facts {
  grid-area: facts;
  align-self: stretch;
  margin: 0 !important;
  padding: 8px 0 8px clamp(32px, 4vw, 58px);
  border-left: 1px solid #cbd4e1;
}

.founder-content > .founder-facts p {
  max-width: 760px;
  margin-top: 0 !important;
  font-size: 1.04rem;
  line-height: 1.85;
}

.founder-content > .founder-facts p + p { margin-top: 18px !important; }

.founder-content > .founder-credentials {
  grid-area: stats;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 !important;
  margin-top: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #101c3d;
}

.founder-content .credential {
  min-height: 112px;
  padding: 22px 28px !important;
  border: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, .18) !important;
}

.founder-content .credential:last-child { border-right: 0 !important; }
.founder-content .credential-value { color: #fff !important; }
.founder-content .credential-label { color: #b9c5d8 !important; }

/* About: same visual grammar for commitments, no floating generic cards. */
.section-dark .values-grid {
  gap: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.section-dark .value-card {
  padding: 28px 28px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.section-dark .value-card:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, .22) !important;
}

.section-dark .value-number {
  color: #ef5b49 !important;
  opacity: 1 !important;
}

/* Portfolio filters: an editorial tab rail, not a row of generic pills. */
.section-filters.section-filters {
  padding: 0 !important;
  background: #f5f7fa !important;
  border-bottom: 1px solid #dfe5ee;
}

.section-filters .filters-bar {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem) !important;
  align-items: stretch !important;
  min-height: 78px;
}

.section-filters .filters-label {
  display: flex;
  align-items: center;
  margin: 0 !important;
  color: #ef5b49 !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-filters .filters-buttons {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-width: 0;
}

.section-filters .filter-btn {
  position: relative;
  min-height: 78px !important;
  padding: 0 clamp(1.25rem, 2.2vw, 2.25rem) !important;
  color: #65738a !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid #dfe5ee !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  transform: none !important;
  transition: color .18s ease, background-color .18s ease !important;
}

.section-filters .filter-btn:last-child {
  border-right: 1px solid #dfe5ee !important;
}

.section-filters .filter-btn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #ef5b49;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.section-filters .filter-btn:hover {
  color: #182a62 !important;
  background: rgba(255, 255, 255, .7) !important;
}

.section-filters .filter-btn.active {
  color: #10204d !important;
  background: #fff !important;
  box-shadow: none !important;
}

.section-filters .filter-btn.active::after {
  transform: scaleX(1);
}

.section-filters .filter-btn:focus-visible {
  z-index: 1;
  outline: 3px solid rgba(239, 91, 73, .42);
  outline-offset: -3px;
}

@media (max-width: 820px) {
  .s-engage .engage-card,
  .s-engage .engage-card:nth-child(odd) {
    min-height: 0;
    padding: 24px 18px 24px 66px !important;
    border-right: 0 !important;
  }

  .s-engage .engage-num { top: 23px; left: 14px; }
  .s-refs { padding-top: 52px !important; }
  .s-refs .marquee-wrap { padding: 22px 0 36px !important; }

  .founder-grid {
    margin-inline: -16px;
    padding: 38px 24px !important;
    background: #f5f7fb;
  }

  .founder-grid::before {
    left: auto;
    right: -10px;
    bottom: auto;
    top: 24px;
    font-size: 8rem;
  }

  .founder-content {
    display: block !important;
  }

  .founder-content > h2 { margin-top: 20px !important; }
  .founder-content > .founder-title { max-width: 290px; }
  .founder-content > .founder-facts {
    margin-top: 32px !important;
    padding: 28px 0 0 !important;
    border-top: 1px solid #cbd4e1;
    border-left: 0;
  }

  .founder-content > .founder-facts p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .founder-content > .founder-credentials {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px !important;
  }

  .founder-content .credential {
    min-height: 0;
    padding: 18px 8px !important;
    border-right: 1px solid rgba(255, 255, 255, .18) !important;
    border-bottom: 0 !important;
    text-align: center;
  }

  .founder-content .credential:last-child { border-right: 0 !important; }
  .founder-content .credential-value { font-size: 1.65rem !important; }
  .founder-content .credential-label { font-size: .68rem !important; line-height: 1.3; }

  .section-dark .value-card,
  .section-dark .value-card:nth-child(odd) {
    border-right: 0 !important;
  }

  .section-filters .filters-bar {
    grid-template-columns: 1fr;
    gap: 0 !important;
    padding-top: 14px;
  }

  .section-filters .filters-label {
    min-height: 32px;
  }

  .section-filters .filters-buttons {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .section-filters .filters-buttons::-webkit-scrollbar { display: none; }

  .section-filters .filter-btn {
    flex: 0 0 auto;
    min-height: 58px !important;
    padding-inline: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s-refs .marquee-track { animation: none !important; }
  .section-filters .filter-btn,
  .section-filters .filter-btn::after { transition: none !important; }
}

/* Homepage FAQ - editorial split layout with disciplined rules. */
.home-faq.home-faq {
  padding: clamp(4.5rem, 7vw, 7rem) 0 !important;
  background: #eef3fa !important;
  border-top: 1px solid #d7e0ec;
}

.home-faq > .container {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: start;
}

.home-faq .section-header {
  position: sticky;
  top: 9rem;
  margin: 0 !important;
  text-align: left !important;
}

.home-faq .section-header::before {
  content: "QUESTIONS PRATIQUES";
  display: block;
  margin-bottom: 1.2rem;
  color: #ef5b49;
  font: 700 .7rem/1.2 "DM Sans", sans-serif;
  letter-spacing: .16em;
}

.home-faq .section-header h2 {
  max-width: 9ch;
  margin: 0 0 1rem !important;
  color: #10204d;
  font-size: clamp(2.5rem, 4vw, 4.2rem) !important;
  line-height: .98;
  letter-spacing: -.035em;
}

.home-faq .section-header p {
  max-width: 30rem;
  margin: 0 !important;
  color: #60708a;
  font-size: .95rem;
  line-height: 1.7;
}

.home-faq .faq-list {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-top: 1px solid #bfcbdc;
}

.home-faq .faq-item.faq-item {
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #bfcbdc !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home-faq .faq-question {
  min-height: 78px;
  padding: 1.35rem .25rem !important;
  color: #1b2e59 !important;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.18rem !important;
  font-weight: 400 !important;
  line-height: 1.35;
  transition: color .18s ease, padding-left .18s ease;
}

.home-faq .faq-question:hover {
  padding-left: .65rem !important;
  color: #ef5b49 !important;
}

.home-faq .faq-answer {
  padding: 0 2.5rem 1.5rem .75rem !important;
  border-left: 3px solid #ef5b49;
}

.home-faq .faq-answer p {
  margin: 0 !important;
  color: #52627c;
  line-height: 1.7;
}

.home-faq .faq-question:focus-visible {
  outline: 3px solid rgba(239, 91, 73, .42);
  outline-offset: -3px;
}

@media (max-width: 860px) {
  .home-faq > .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-faq .section-header {
    position: static;
  }

  .home-faq .section-header h2 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .home-faq.home-faq {
    padding: 3.5rem 0 !important;
  }

  .home-faq .section-header h2 {
    font-size: 2.65rem !important;
  }

  .home-faq .faq-question {
    min-height: 68px;
    padding-block: 1rem !important;
    font-size: 1.05rem !important;
  }
}
