/* ==========================================================================
   Payset — Who we are / About
   https://www.payset.io/who-we-are/
   ========================================================================== */

body.about-page {
  background: var(--bg);
  color: var(--text-2);
}

.about-page .page-section {
  padding: 16px 0;
}

/* --- A01 Hero ----------------------------------------------------------- */
.a-hero {
  text-align: center;
  padding: 72px 0 48px;
}
.a-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin: 0 auto 28px;
  max-width: 16ch;
}
.a-hero__sub {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 32px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto;
}

/* --- A02 Quote dual cards ----------------------------------------------- */
.a-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.a-quote__card {
  min-height: 360px;
  border-radius: var(--card-r);
  background: var(--clay);
  padding: 40px;
  display: flex;
  align-items: flex-start;
}
.a-quote__card--empty {
  background: #CFC8C1;
}
.a-quote__card--media {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #CFC8C1;
}
.a-quote__card--media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.a-quote__card p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: var(--text-2);
  margin: 0;
  max-width: 28ch;
}

/* --- A03 Values stack --------------------------------------------------- */
.a-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.a-value {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.2fr);
  gap: 32px;
  align-items: center;
  border-radius: var(--card-r);
  padding: 40px 48px;
  min-height: 140px;
  background: var(--clay);
}
.a-value:nth-child(2) { background: #CFC8C1; }
.a-value:nth-child(3) { background: var(--sand); }
.a-value:nth-child(4) { background: #B5B0A4; }
.a-value h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -0.2px;
  margin: 0;
  color: var(--ink);
}
.a-value p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-2);
  margin: 0;
  max-width: 48ch;
}
.a-value__icon {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 28px;
  height: 28px;
  opacity: 0.85;
}

/* --- A04 Leaders -------------------------------------------------------- */
.a-leaders {
  background: transparent;
  border-radius: 0;
  padding: 48px 0 24px;
}
.a-leaders__intro {
  text-align: center;
  margin-bottom: 48px;
}
.a-leaders__intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
  color: var(--ink);
}
.a-leaders__intro p {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-2);
  max-width: 42ch;
  margin: 0 auto;
}
.a-leaders__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.a-leader {
  position: relative;
  background: var(--sand);
  border-radius: var(--card-r);
  min-height: 480px;
  padding: 28px 24px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.a-leader:nth-child(3n+2) { background: #B5B0A4; }
.a-leader:nth-child(3n) { background: #A8A396; }
.a-leader__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  margin: 0 0 4px;
  color: var(--ink);
}
.a-leader__role {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-2);
  margin: 0;
}
.a-leader__photo {
  margin-top: auto;
  margin-left: -24px;
  margin-right: -24px;
  width: calc(100% + 48px);
  display: block;
  line-height: 0;
  pointer-events: none;
}
.a-leader__photo img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}
.a-leader__more {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--lime);
  color: var(--ink);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.15s var(--ease-out), background 0.15s;
}
.a-leader__more:hover { background: var(--mint); transform: scale(1.05); }
.a-leader.is-open .a-leader__more { transform: rotate(45deg); }
.a-leader__bio {
  position: absolute;
  inset: 0;
  background: rgba(41, 42, 46, 0.94);
  color: var(--text-light);
  padding: 28px 24px 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out);
  overflow: auto;
  z-index: 1;
}
.a-leader.is-open .a-leader__bio {
  opacity: 1;
  pointer-events: auto;
}
/* bio title/role/p styled with .a-leader__preview rules below */

/* --- A05 Hiring --------------------------------------------------------- */
.a-hiring {
  background: transparent;
  border-radius: 0;
  padding: 72px 48px;
  text-align: center;
  color: var(--ink);
}
.a-hiring h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  margin: 0 0 20px;
  color: var(--ink);
}
.a-hiring p {
  font-size: 18px;
  line-height: 28px;
  max-width: 52ch;
  margin: 0 auto 32px;
  color: var(--text-2);
}
.a-hiring .btn-lime {
  text-decoration: none;
  border-radius: 999px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--lime);
}
.a-hiring .btn-lime:hover {
  background: var(--charcoal);
  color: var(--lime);
}

/* --- Arquantix extensions ---------------------------------------------- */
.a-section-intro {
  padding: 24px 0 8px;
}
.a-section-intro__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 12px;
}
.a-section-intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 12px;
}
.a-section-intro p {
  font-size: 17px;
  line-height: 28px;
  color: var(--text-2);
  max-width: 62ch;
  margin: 0 0 28px;
}

.a-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.a-stat {
  background: var(--clay);
  border-radius: var(--card-r);
  padding: 28px 20px;
  text-align: center;
}
.a-stat__n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 8px;
}
.a-stat__l {
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
  margin: 0;
}

.a-story {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.2fr);
  gap: 40px;
  align-items: start;
}
.a-story__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 12px;
}
.a-story h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0;
}
.a-story p {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-2);
  margin: 0 0 16px;
}
.a-story p:last-child { margin-bottom: 0; }

.a-map {
  background: transparent;
  border-radius: 0;
  padding: 48px 0 8px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.a-map__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 12px;
}
.a-map h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.35px;
  color: var(--ink);
  margin: 0 auto 18px;
  max-width: 16ch;
}
.a-map__body {
  font-size: 17px;
  line-height: 28px;
  color: var(--text-2);
  max-width: 62ch;
  margin: 0 auto 20px;
}
.a-map__img {
  width: 100%;
  max-width: 100%;
  position: relative;
  /* Soft fade into page bg — stays inside container */
  -webkit-mask-image: radial-gradient(
    ellipse 96% 82% at 50% 48%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 88%
  );
  mask-image: radial-gradient(
    ellipse 96% 82% at 50% 48%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 88%
  );
}
.a-map__img img,
.a-map__img object,
.a-map__img .aq-worldmap {
  width: 100%;
  height: auto;
  display: block;
}

.a-ops {
  background: var(--clay);
  border-radius: var(--card-r);
  padding: 56px 40px;
}
.a-ops__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 12px;
}
.a-ops h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 20px;
}
.a-ops__intro {
  max-width: none;
  width: 100%;
  margin: 0 0 32px;
}
.a-ops__intro p {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-2);
  margin: 0 0 14px;
}
.a-ops__intro p:last-child { margin-bottom: 0; }
.a-ops__lead {
  font-weight: 600;
  color: var(--ink) !important;
}
.a-ops__table-wrap { overflow-x: auto; }
.a-ops table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
}
.a-ops th,
.a-ops td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(18, 19, 20, 0.1);
  color: var(--text-2);
  white-space: nowrap;
}
.a-ops th {
  font-weight: 600;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.a-ops td:first-child {
  font-weight: 600;
  color: var(--ink);
}
.a-ops__note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-2);
  max-width: 90ch;
}

.a-leaders__grid--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin: 0 auto;
}
.a-leader--text {
  min-height: 0;
  aspect-ratio: 3 / 4; /* 4:3 hauteur:largeur */
  padding: 28px 24px 80px;
  background: var(--charcoal, #292A2E);
  color: var(--text-light, #fafafa);
}
.a-leader--text:nth-child(3n+2),
.a-leader--text:nth-child(3n) {
  background: #222326;
}
.a-leader--photo .a-leader__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.a-leader--photo .a-leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.a-leader__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(18, 19, 20, 0.42) 0%,
    rgba(18, 19, 20, 0.12) 42%,
    rgba(18, 19, 20, 0.28) 100%
  );
  transition: background 0.2s var(--ease-out);
}
.a-leader--photo.is-open .a-leader__shade {
  background: rgba(41, 42, 46, 0.88);
}
.a-leader--photo .a-leader__preview {
  position: relative;
  z-index: 2;
}
.a-leader--photo .a-leader__bio {
  z-index: 3;
}
.a-leader--photo .a-leader__more {
  z-index: 4;
}
/* Closed content = same type as open bio */
.a-leader__preview h4,
.a-leader__bio h4 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-light, #fafafa);
}
.a-leader__preview .role,
.a-leader__bio .role {
  color: var(--lime);
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 16px;
  display: block;
}
.a-leader__preview p,
.a-leader__bio p {
  font-size: 15px;
  line-height: 24px;
  margin: 0;
  color: rgba(250, 250, 250, 0.85);
  max-width: 36ch;
}
.a-leader__mono {
  margin-top: auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.1);
  color: #fafafa;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}

.a-hiring__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.a-hiring .btn-ghost {
  text-decoration: none;
  border-radius: 999px;
  padding: 18px 32px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(18, 19, 20, 0.2);
  font-weight: 600;
}
.a-hiring .btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(18, 19, 20, 0.04);
}

@media (max-width: 1000px) {
  .a-quote { grid-template-columns: 1fr; }
  .a-quote__card--empty { display: none; }
  .a-quote__card--media { min-height: 240px; }
  .a-value {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 12px;
  }
  .a-leaders { padding: 32px 0 16px; }
  .a-leaders__grid,
  .a-leaders__grid--duo { grid-template-columns: 1fr; }
  .a-hiring { padding: 48px 24px; }
  .a-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-story { grid-template-columns: 1fr; gap: 20px; }
  .a-map { padding: 32px 0 0; }
  .a-ops { padding: 40px 20px; }
}
