/* Arquantix × Payset DA — page composition on Payset tokens */
body.aq-page {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-body);
}

body.aq-page .m-header__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

body.aq-page .m-header__logo img { display: none; }
body.aq-page .m-header__logo::after { content: "Arquantix"; }

.aq-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--section-pad-x); }

/* Hero — Payset m02/m03 form (centered + photo card) */
.aq-page .m-hero__title {
  max-width: 16ch;
}
.aq-page .m-guarantee__tx-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aq-page .m-guarantee__tx-row > div img { display: none; }
.aq-page .m-guarantee__actions {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  padding-top: 24px;
}
.aq-page .m-guarantee__actions .btn-lime {
  text-decoration: none;
  border-radius: 999px;
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 600;
}
.aq-hero-trust {
  flex-wrap: wrap;
  gap: 10px 14px;
}
.aq-hero-trust__item {
  font-size: 14px;
  color: var(--text-2);
}
.aq-hero-trust__item b {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-right: 4px;
}
.aq-hero-trust__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--stone);
  display: inline-block;
}
.aq-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.aq-btn-lime {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.aq-btn-ink {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--lime);
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.aq-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 21px; border-radius: 999px;
  border: 1px solid var(--ink); color: var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none; background: transparent;
}
/* Expertise — Payset m10: 2 cards centered + peeks, big icons, CTA bottom-left */
.aq-page .aq-expertise .m-solutions__viewport {
  overflow: hidden;
}
.aq-page .aq-expertise .m-solutions__track {
  scroll-snap-type: none;
  scroll-behavior: auto;
  padding: 0;
}
.aq-page .aq-expertise-card {
  background-color: #CFC8C1;
  background-image: none !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 28px 24px 24px;
  transition: transform 0.25s var(--ease-out);
}
.aq-page .aq-expertise-card:hover {
  transform: translateY(-2px);
  background-size: auto;
}
.aq-page .aq-expertise-card .m-solutions__copy {
  position: relative;
  z-index: 2;
  max-width: 260px;
  width: auto;
}
.aq-page .aq-expertise-icon {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  margin: 8px 0 16px;
  pointer-events: none;
  user-select: none;
}
.aq-page .aq-expertise-icon .aq-icon-svg {
  width: min(260px, 88%);
  height: auto;
  display: block;
}
.aq-page .aq-expertise-card .m-solutions__cta {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
}

/* Security — Payset m08 protect (mint copy on forest) */
.aq-page .m-protect__lead {
  max-width: 640px;
}
.aq-page .m-protect__pillar p {
  color: #B7E8C9;
}
@media (max-width: 900px) {
  .aq-page .m-protect__visual {
    height: auto;
    padding: 0 24px;
  }
  .aq-page .m-protect__visual img {
    width: min(420px, 100%);
    height: auto;
  }
}

/* Metric strip — dark Payset card */
.aq-metrics {
  padding: 16px var(--section-pad-x) 48px;
}
.aq-metrics__card {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--charcoal);
  border-radius: var(--card-r);
  padding: 36px 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  color: var(--text-light);
}
.aq-metrics__card b {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 8px;
}
.aq-metrics__card span { font-size: 14px; color: rgba(250,250,250,.7); }

/* Section heads */
.aq-section { padding: 72px 0; }
.aq-section__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--forest); margin-bottom: 12px;
}
.aq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.4px;
  max-width: 16ch;
  margin: 0 0 16px;
  color: var(--text-dark);
}
.aq-section__sub {
  max-width: 54ch;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  margin-bottom: 36px;
}

/* Portfolio cards — referral/solutions language */
/* Portfolio — leaders module (3 cols, no clay panel) */
.a-projects {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.a-projects .a-leaders__intro {
  margin-bottom: 28px;
  text-align: center;
}
.a-projects .a-leaders__intro .aq-section__eyebrow {
  margin-bottom: 12px;
  text-align: center;
}
.a-projects .a-leaders__intro h2 {
  margin: 0 auto 12px;
  text-align: center;
  max-width: 16ch;
}
.a-projects .a-leaders__intro p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.aq-filters--center {
  justify-content: center;
  margin-bottom: 32px;
}
.a-projects__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.a-project {
  position: relative;
  background: var(--ink);
  aspect-ratio: 3 / 4; /* 4:3 hauteur:largeur */
  min-height: 0;
  height: auto;
  padding: 28px 24px 80px;
  overflow: hidden;
  color: var(--text-light);
}
.a-project:nth-child(3n+2),
.a-project:nth-child(3n) {
  background: var(--ink);
}
.a-project__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.a-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.a-project__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(18, 19, 20, 0.62) 0%,
    rgba(18, 19, 20, 0.38) 42%,
    rgba(18, 19, 20, 0.55) 100%
  );
  transition: background 0.2s var(--ease-out, ease);
}
.a-project.is-open .a-project__shade {
  background: rgba(41, 42, 46, 0.94);
}
.a-project__body {
  position: relative;
  z-index: 2;
}
/* Same typography as leaders bio overlay */
.a-project__body 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-project__body .role {
  color: var(--lime);
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 16px;
  display: block;
}
.a-project__body > p {
  font-size: 15px;
  line-height: 24px;
  margin: 0;
  color: rgba(250, 250, 250, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.a-project.is-open .a-project__body > p {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.a-project .a-leader__more {
  z-index: 4;
}
.a-project__meta,
.a-project__actions {
  display: none;
}
.a-project.is-open .a-project__meta {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(250, 250, 250, 0.16);
  font-size: 13px;
  line-height: 20px;
}
.a-project.is-open .a-project__actions {
  display: block;
  margin-top: 16px;
}
.a-project__meta div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: rgba(250, 250, 250, 0.7);
}
.a-project__meta b {
  color: #fff;
  font-weight: 600;
  text-align: right;
}
.a-project__link {
  display: inline-block;
  margin-right: 14px;
  color: var(--lime);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.a-project__link:hover { color: var(--mint); }

.aq-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.aq-filters button {
  border: 1px solid var(--clay);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.aq-filters button.is-active {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
.aq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aq-card {
  background: #fff;
  border: 1px solid var(--clay);
  border-radius: var(--card-r);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  transition: transform .15s ease, border-color .15s ease;
}
.aq-card:hover { transform: translateY(-2px); border-color: var(--stone); }
.aq-card__status { display: flex; flex-wrap: wrap; gap: 6px; }
.aq-chip {
  font-size: 11px; font-weight: 600;
  padding: 4px 8px; border-radius: 999px;
  background: #eaf8ef; color: var(--forest);
}
.aq-chip--muted { background: #f0eeea; color: var(--muted); }
.aq-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.aq-card__loc { font-size: 14px; color: var(--muted); }
.aq-card__meta {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--clay);
  font-size: 13px;
}
.aq-card__meta div { display: flex; justify-content: space-between; gap: 12px; }
.aq-card__meta b { font-weight: 600; }
.aq-card__links { display: flex; gap: 10px; }
.aq-card__links a {
  font-size: 13px; font-weight: 600; color: var(--forest); text-decoration: none;
}

/* Steps — FX problem cards */
.aq-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aq-step {
  background: #fff;
  border: 1px solid var(--clay);
  border-radius: var(--card-r);
  padding: 24px;
  min-height: 220px;
}
.aq-step__n {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 16px;
}
.aq-step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.aq-step p { font-size: 15px; line-height: 24px; color: var(--muted); }

/* Track record — centered, no dark card */
.aq-band {
  background: transparent;
  border-radius: 0;
  padding: 24px 16px 8px;
  color: var(--ink);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.aq-band .aq-section__eyebrow {
  color: var(--forest, #0B3D2E);
}
.aq-band h2 {
  color: var(--ink);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.aq-band .aq-section__sub {
  color: var(--muted);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.aq-band .aq-cta-row {
  justify-content: center;
  margin-bottom: 0;
}

/* Invest form — referral form card */
.aq-invest {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}
.aq-progress {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.aq-progress__row {
  background: #fff;
  border: 1px solid var(--clay);
  border-radius: 16px;
  padding: 16px 18px;
}
.aq-progress__row span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.aq-progress__row b { font-family: var(--font-display); font-size: 22px; }
.aq-form {
  background: #fff;
  border-radius: var(--card-r);
  padding: 28px;
  display: grid;
  gap: 12px;
}
.aq-form input,
.aq-form select,
.aq-form textarea {
  width: 100%;
  border: 0;
  background: rgba(105,100,100,.05);
  border-radius: 12px;
  padding: 16px 15px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.aq-form textarea { min-height: 120px; resize: vertical; }
.aq-form button[type=submit] {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font: inherit;
  font-weight: 600;
  padding: 16px;
  cursor: pointer;
}
.aq-form__legal { font-size: 12px; line-height: 18px; color: var(--muted); }

/* Article pages */
.aq-article { padding: 80px 0 100px; }
.aq-article h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -.4px;
  max-width: 16ch;
  margin: 0 0 24px;
}
.aq-article .lead {
  font-size: 20px;
  line-height: 32px;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 32px;
}
.aq-article p {
  font-size: 18px;
  line-height: 30px;
  max-width: 68ch;
  margin: 0 0 18px;
  color: #333;
}
.aq-article h2 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  margin: 40px 0 14px;
}

/* Project detail */
.aq-project-hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: end;
}
.aq-project-meta {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--card-r);
  padding: 28px;
  display: grid;
  gap: 14px;
}
.aq-project-meta span { font-size: 12px; color: rgba(255,255,255,.55); display: block; margin-bottom: 4px; }
.aq-project-meta b { font-family: var(--font-display); font-size: 24px; color: var(--lime); }

/* Footer */
.aq-footer {
  padding: 64px var(--section-pad-x) 40px;
  border-top: 1px solid var(--clay);
  margin-top: 40px;
}
.aq-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.aq-footer__brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.aq-footer p, .aq-footer a {
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
  text-decoration: none;
}
.aq-footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 12px;
}
.aq-footer ul { list-style: none; display: grid; gap: 8px; }
.aq-footer__legal {
  max-width: var(--container);
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--clay);
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}

.hp-banner {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  display: flex; gap: 12px; padding: 10px 14px;
  background: rgba(18,19,20,.92); color: #fff;
  font-family: var(--font-ui); font-size: 12px; border-radius: 12px;
}
.hp-banner a { color: var(--lime); font-weight: 600; text-decoration: none; }

@media (max-width: 1000px) {
  .aq-grid, .aq-steps, .aq-metrics__card, .aq-invest, .aq-project-hero, .aq-footer__inner,
  .a-projects__grid {
    grid-template-columns: 1fr;
  }
  .aq-wrap, .aq-metrics { padding-left: 24px; padding-right: 24px; }
  .aq-page .m-hero__title { font-size: clamp(48px, 12vw, 96px); line-height: 0.95; }
  .aq-band { padding: 16px 8px 0; }
}
