/* ==========================================================================
   Payset Homepage — pixel-close stylesheet
   https://www.payset.io/
   ========================================================================== */

/* --- Fonts -------------------------------------------------------------- */
@font-face {
  font-family: "ES Rebond Grotesque";
  src: url("https://www.payset.io/wp-content/uploads/2025/01/vertopal_com_ESRebondGrotesqueTRIAL-Regular-BF66189040b697b.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "ES Rebond Grotesque";
  src: url("https://www.payset.io/wp-content/uploads/2025/01/ESRebondGrotesqueTRIAL-Medium-BF6618904088566.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "ES Rebond Grotesque";
  src: url("https://www.payset.io/wp-content/uploads/2025/01/ESRebondGrotesqueTRIAL-Bold-BF66189040400df.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* --- Tokens (from live payset.io @ 1440) -------------------------------- */
:root {
  --bg: #F5F2EF;
  --clay: #DBD7D3;
  --stone: #CFC8C1;
  --sand: #BDBAB0;
  --ink: #121314;
  --charcoal: #292A2E;
  --text: #333333;
  --text-2: #323232;
  --text-dark: #2C2A24;
  --text-light: #FAFAFA;
  --muted: #646464;
  --lime: #00F572;
  --mint: #31FF91;
  --forest: #256C4A;
  --card-r: 24px;
  --container: 1280px;
  --section-pad-x: 80px;
  --section-gap: 16px;
  --display-xl: 100px;
  --display-xl-lh: 80px;
  --lead-size: 20px;
  --lead-lh: 32px;
  --font-display: "ES Rebond Grotesque", "Space Grotesk", sans-serif;
  --font-body: "Inter Tight", "Inter", sans-serif;
  --font-ui: "Inter Tight", "Inter", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* --- Layout utilities --------------------------------------------------- */
/* Live: content column = 1280px; gutters only on page-section (not doubled). */
.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.page-section {
  padding: 0 var(--section-pad-x) var(--section-gap);
}

.page {
  background: var(--bg);
  overflow-x: clip;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-xl);
  line-height: var(--display-xl-lh);
  letter-spacing: -0.2px;
}

.lead {
  font-family: var(--font-body);
  font-size: var(--lead-size);
  line-height: var(--lead-lh);
  font-weight: 400;
  color: var(--text-2);
  max-width: 600px;
}

/* --- Slider track ------------------------------------------------------- */
.slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 4px;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

/* --- Atoms: buttons ----------------------------------------------------- */
.btn-lime,
.btn-ink,
.btn-ghost,
.btn-pill-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  white-space: nowrap;
  border-radius: 6px;
  padding: 18px 24px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    transform 0.15s var(--ease-out), border-color 0.2s var(--ease-out);
}

.btn-lime:hover,
.btn-ink:hover,
.btn-ghost:hover,
.btn-pill-soft:hover {
  transform: translateY(-1px);
}

.btn-lime {
  background: var(--lime);
  color: #1a1a1a;
}

.btn-lime:hover {
  background: var(--mint);
}

.btn-ink {
  background: var(--ink);
  color: var(--lime);
  border-radius: 32px;
  padding: 18px 32px;
}

.btn-ink:hover {
  background: var(--charcoal);
}

/* Header compact CTA */
.m-header__cta.btn-ink,
.m-header .btn-ink {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  padding: 10px 24px;
  border-radius: 32px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--clay);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--stone);
}

.btn-pill-soft {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  font-size: 14px;
  padding: 10px 18px;
}

.btn-pill-soft:hover {
  background: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* --- Atoms: tags -------------------------------------------------------- */
.tag-lime,
.tag-soft {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
}

.tag-lime {
  background: var(--lime);
  color: var(--ink);
}

.tag-soft {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  backdrop-filter: blur(8px);
}

/* --- Atoms: text links -------------------------------------------------- */
.text-link {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  transition: color 0.15s;
}

.text-link:hover {
  color: var(--text);
}

.kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
}

/* ==========================================================================
   M01 — Header
   ========================================================================== */
.m-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--section-pad-x);
  background: #F5F2EF;
}

.m-header.is-scrolled {
  box-shadow: 0 1px 0 var(--clay);
}

.m-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.m-header__logo img {
  height: 32px;
  width: auto;
}

.m-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.m-header__nav-item {
  position: relative;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #1a1a1a;
  padding: 0;
  border-radius: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
  cursor: pointer;
}

.m-header__nav-item:hover {
  opacity: 0.7;
  background: transparent;
}

.m-header__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  color: #323232;
  padding: 0 8px;
}

.m-header__lang img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.m-header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #1a1a1a;
  padding: 8px 24px;
  border: 2px solid #1a1c1e;
  border-radius: 8px;
  background: transparent;
  height: 40px;
  box-sizing: border-box;
  transition: background 0.15s, border-color 0.15s;
}

.m-header__login:hover {
  background: rgba(255, 255, 255, 0.5);
}

.m-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--lime);
  background: var(--ink);
  padding: 10px 24px;
  border-radius: 32px;
  height: 40px;
  box-sizing: border-box;
  transition: background 0.15s;
}

.m-header__cta:hover {
  background: var(--charcoal);
}

/* Mega menu (optional) */
.m-header__mega {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 420px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--clay);
  border-radius: var(--card-r);
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  box-shadow: 0 24px 48px rgba(18, 19, 20, 0.08);
}

.m-header__nav-item.has-mega:hover .m-header__mega {
  display: grid;
}

.m-header__mega h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.m-header__mega a {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.15s;
}

.m-header__mega a:hover {
  color: var(--text);
}

/* ==========================================================================
   M02 — Hero
   ========================================================================== */
.m-hero {
  text-align: center;
  padding: 64px 0 48px;
}

.m-hero.page-section {
  padding-top: 64px;
  padding-bottom: 48px;
}

.m-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 140px;
  line-height: 120px;
  letter-spacing: -0.2px;
  color: var(--text);
  margin: 0 auto 48px;
  max-width: 880px;
}

.m-hero__sub {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text);
  max-width: 880px;
  margin: 0 auto 54px;
}

.m-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.m-hero__trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
}

.m-hero__trust img {
  height: 24px;
  width: auto;
}

/* ==========================================================================
   M03 — Guarantee (hero photo card)
   ========================================================================== */
.m-guarantee {
  position: relative;
  min-height: 768px;
  height: 768px;
  border-radius: var(--card-r);
  overflow: hidden;
  background-color: var(--stone);
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.m-guarantee::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 19, 20, 0.72) 0%,
    rgba(18, 19, 20, 0.35) 42%,
    rgba(18, 19, 20, 0) 68%
  );
  pointer-events: none;
}

.m-guarantee__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px;
  min-height: 768px;
}

.m-guarantee__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 38px;
  letter-spacing: -0.2px;
  color: #fff;
  max-width: 360px;
  margin: 0 0 16px;
}

.m-guarantee__tag {
  align-self: flex-start;
  margin-top: 24px;
}

.m-guarantee__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 40px 40px 0;
}

.m-guarantee__tx-stack {
  width: min(100%, 380px);
  display: grid;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 252, 249, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 40px rgba(18, 19, 20, 0.12);
}

.m-guarantee__tx-head {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 8px 8px;
}

.m-guarantee__tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.15s;
}

.m-guarantee__tx-row:hover {
  background: rgba(245, 242, 239, 0.85);
}

.m-guarantee__tx-row b {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.m-guarantee__tx-row small {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--muted);
}

.m-guarantee__tx-row strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.m-guarantee__tx-row strong.is-positive {
  color: var(--forest);
}

/* ==========================================================================
   M04 — Bento grid
   ========================================================================== */
.m-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.m-bento__stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.m-bento__card {
  position: relative;
  height: 439px;
  border-radius: var(--card-r);
  overflow: hidden;
  background-color: var(--stone);
  background-size: cover;
  background-position: center;
}

.m-bento__card--clay {
  background-color: var(--stone);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.m-bento__card--sand,
.m-bento__card--tall {
  height: 100%;
  min-height: calc(439px * 2 + 16px);
  background-color: var(--sand);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 100%;
}

.m-bento__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: linear-gradient(
    180deg,
    rgba(18, 19, 20, 0.28) 0%,
    rgba(18, 19, 20, 0) 38%,
    rgba(18, 19, 20, 0.18) 100%
  );
}

.m-bento__copy {
  max-width: 256px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.m-bento__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: var(--text-light);
  margin: 0 0 8px;
}

.m-bento__kicker {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-light);
  margin: 0;
}

.m-bento__tag {
  align-self: flex-start;
}

/* Light overlay variant for solid-color cards */
.m-bento__card--clay .m-bento__overlay,
.m-bento__card--sand .m-bento__overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 55%,
    rgba(18, 19, 20, 0.06) 100%
  );
}

.m-bento__card--clay .m-bento__title,
.m-bento__card--sand .m-bento__title {
  color: var(--text-2);
}

.m-bento__card--clay .m-bento__kicker,
.m-bento__card--sand .m-bento__kicker {
  color: var(--text-2);
}

/* ==========================================================================
   M05 — Support
   ========================================================================== */
.m-support {
  background: var(--clay);
  border-radius: var(--card-r);
  padding: 64px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.m-support__intro {
  text-align: center;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.m-support__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-xl);
  line-height: var(--display-xl-lh);
  letter-spacing: -0.2px;
  color: var(--text-dark);
  margin: 0;
  max-width: 880px;
  width: 100%;
}

.m-support__lead {
  font-family: var(--font-body);
  font-size: var(--lead-size);
  line-height: var(--lead-lh);
  font-weight: 400;
  color: var(--text-2);
  margin: 0;
  max-width: 600px;
}

.m-support__visual {
  width: 100%;
  height: 874px;
  overflow: hidden;
  background: var(--stone);
}

.m-support__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.m-support__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 0 64px;
}

.m-support__pillars {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 979px;
}

.m-support__pillar {
  flex: 1 1 300px;
  max-width: 300px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.m-support__icon {
  width: 80px;
  height: 80px;
  display: block;
}

.m-support__pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.2px;
  margin: 40px 0 32px;
  color: var(--text-2);
}

.m-support__pillar p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text);
  margin: 0;
}

.m-support__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   M06 — Promo dual cards
   ========================================================================== */
.m-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.m-promo__card {
  position: relative;
  min-height: 632px;
  aspect-ratio: 1;
  border-radius: var(--card-r);
  overflow: hidden;
  background-color: var(--stone);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.m-promo__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 19, 20, 0) 30%,
    rgba(18, 19, 20, 0.72) 100%
  );
}

.m-promo__body {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: var(--text-light);
}

.m-promo__kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.75);
  margin-bottom: 10px;
}

.m-promo__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.2px;
  margin: 0 0 8px;
  color: var(--text-light);
  max-width: 256px;
}

.m-promo__text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light);
  margin: 0 0 18px;
  max-width: 256px;
}

.m-promo__body .text-link {
  color: var(--mint);
}

.m-promo__body .text-link:hover {
  color: #fff;
}

/* ==========================================================================
   M07 — Trusted (dark testimonial block)
   ========================================================================== */
.m-trusted {
  background: #292A2E;
  border-radius: var(--card-r);
  padding: 64px 0;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.m-trusted__intro {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

.m-trusted__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-xl);
  line-height: var(--display-xl-lh);
  letter-spacing: -0.4px;
  margin: 0 0 16px;
  color: var(--text-light);
  max-width: 880px;
}

.kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
}

.text-link {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
}

.text-link:hover {
  color: var(--text);
}

.m-guarantee__content > p {
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  max-width: 360px;
  margin: 0 0 auto;
  padding-bottom: 24px;
}

.m-guarantee__tx-row > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 10px;
  align-items: center;
}

.m-guarantee__tx-row > div img {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin: 0;
}

.m-guarantee__tx-row > div b {
  grid-column: 2;
}

.m-guarantee__tx-row > div small {
  grid-column: 2;
}

.m-trusted__kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.m-trusted__lead {
  font-family: var(--font-body);
  font-size: var(--lead-size);
  line-height: var(--lead-lh);
  font-weight: 400;
  color: var(--text-light);
  max-width: 600px;
}

.m-trusted__quote-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 0 80px;
  margin: 0;
}

.m-trusted__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.m-trusted__avatar-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  align-self: start;
}

.m-trusted__avatar-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.m-trusted__avatar-card strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
}

.m-trusted__avatar-card span {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.m-trusted__cases {
  margin: 0;
  padding: 0 80px;
}

.m-trusted__cases-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.m-trusted__cases-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.m-trusted__case-nav {
  display: flex;
  gap: 8px;
}

.m-trusted__case-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  transition: background 0.15s;
}

.m-trusted__case-nav button:hover {
  background: var(--lime);
  color: var(--ink);
}

.m-trusted__cases .slider-track {
  gap: 14px;
}

.m-trusted__case {
  flex: 0 0 min(100%, 480px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
}

.m-trusted__case h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.2px;
  margin-bottom: 16px;
}

.m-trusted__case-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 12px 0 4px;
}

.m-trusted__case p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.m-trusted__reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 80px;
  margin: 0;
}

.m-trusted__review {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.m-trusted__review p {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.m-trusted__review strong {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
}

/* ==========================================================================
   M08 — Protect (forest green, centered composition)
   ========================================================================== */
.m-protect {
  background: var(--forest);
  border-radius: var(--card-r);
  padding: 64px 0;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 64px;
  overflow: hidden;
}

.m-protect__intro {
  width: 100%;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.m-protect__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-xl);
  line-height: var(--display-xl-lh);
  letter-spacing: -0.2px;
  margin: 0;
  color: var(--text-light);
  max-width: 880px;
  width: 100%;
}

.m-protect__title em {
  font-style: normal;
  color: var(--text-light);
}

.m-protect__lead {
  font-family: var(--font-body);
  font-size: var(--lead-size);
  line-height: var(--lead-lh);
  font-weight: 400;
  color: var(--text-light);
  max-width: 600px;
  margin: 0;
}

.m-protect__visual {
  width: 100%;
  height: 800px;
  padding: 0 160px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}

.m-protect__visual img {
  width: 800px;
  height: 800px;
  max-width: 100%;
  object-fit: contain;
}

.m-protect__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 305px));
  justify-content: center;
  gap: 64px;
  width: 100%;
  padding: 0 64px;
  box-sizing: border-box;
}

.m-protect__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  background: transparent;
  padding: 0;
}

.m-protect__icon {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0;
}

.m-protect__pillar h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 40px 0;
  color: var(--text-light);
}

.m-protect__pillar p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-light);
  max-width: 305px;
  margin: 0;
}

/* ==========================================================================
   M09 — Security + Team access (1:1 dual cards)
   ========================================================================== */
.m-security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.m-security__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 632px;
  aspect-ratio: 1;
  border-radius: var(--card-r);
  padding: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease-out);
}

.m-security__card:hover {
  transform: translateY(-2px);
}

.m-security__card--photo {
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.m-security__card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 19, 20, 0.5) 0%,
    rgba(18, 19, 20, 0.12) 42%,
    rgba(18, 19, 20, 0.28) 100%
  );
  pointer-events: none;
}

.m-security__card--team {
  background-color: #BDBAB0;
  background-size: cover;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.m-security__copy {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.m-security__card--photo .m-security__copy {
  max-width: 256px;
}

.m-security__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.2px;
  margin: 0 0 8px;
  color: var(--text-2);
}

.m-security__copy p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-2);
  margin: 0 0 14px;
}

.m-security__copy--light h2,
.m-security__copy--light p {
  color: var(--text-light);
}

.m-security__badge {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 15px 20px 16px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.m-security__badge--ink {
  background: #121314;
  color: var(--lime);
}

/* ==========================================================================
   M10 — Solutions slider (edge-to-edge, no side gutters)
   ========================================================================== */
.page-section--bleed {
  padding-left: 0;
  padding-right: 0;
}

/* Live (elementor-6999 / lastsechome): panneau 1280 clay · cards 416×560 · art en background */
.m-solutions {
  background: #DBD7D3;
  border-radius: 24px;
  padding: 64px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.m-solutions__intro {
  text-align: center;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.m-solutions__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--display-xl);
  line-height: var(--display-xl-lh);
  letter-spacing: -0.2px;
  color: #333333;
  margin: 0;
  max-width: 880px;
  width: 100%;
}

.m-solutions__lead {
  font-family: var(--font-body);
  font-size: var(--lead-size);
  line-height: var(--lead-lh);
  font-weight: 400;
  color: #333333;
  max-width: 600px;
  margin: 0;
}

.m-solutions__viewport {
  width: 100%;
  overflow: hidden;
}

.m-solutions__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.m-solutions__track::-webkit-scrollbar {
  display: none;
}

.m-solutions__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.m-solutions__card {
  flex: 0 0 416px;
  width: 416px;
  min-width: 416px;
  scroll-snap-align: start;
  background-color: #CFC8C1;
  background-image: var(--card-art);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 92% auto;
  border-radius: 24px;
  padding: 24px;
  height: 560px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  transition: background-size 0.5s ease-in-out;
}

.m-solutions__card:hover {
  background-size: 98% auto;
}

.m-solutions__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 100%;
}

.m-solutions__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 256px;
  width: 256px;
}

.m-solutions__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.2px;
  line-height: 24px;
  margin: 0;
  color: #323232;
}

.m-solutions__card p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #323232;
  margin: 0;
}

.m-solutions__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E8E0D8;
  color: #323232;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 15px 20px 16px;
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.m-solutions__cta:hover {
  background: #CFC8C1;
}

.m-solutions__card--smb .m-solutions__copy {
  max-width: 280px;
  width: 280px;
}

/* ==========================================================================
   M11 — Industry
   ========================================================================== */
.m-industry {
  display: grid;
  gap: 16px;
}

.m-industry__banner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: var(--card-r);
  padding: 32px 40px;
}

.m-industry__banner .kicker {
  margin-bottom: 8px;
}

.m-industry__banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 38px;
  letter-spacing: -0.2px;
  margin: 0 0 12px;
  color: var(--text-2);
  max-width: 20ch;
}

.m-industry__banner p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-2);
  margin: 0 0 18px;
  max-width: 42ch;
}

.m-industry__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.m-industry__card {
  background: #fff;
  border-radius: var(--card-r);
  overflow: hidden;
}

.m-industry__card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.m-industry__banner img {
  width: min(100%, 280px);
  max-height: 240px;
  object-fit: contain;
  margin-inline: auto;
}

.m-industry__card-body {
  padding: 22px 24px 24px;
}

.m-industry__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  margin: 0 0 8px;
  color: var(--text-2);
}

.m-industry__card p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-2);
  margin: 0 0 12px;
}

/* ==========================================================================
   M12 — Footer (live: full-bleed page bg #F5F2EF, pad 56px — no clay card)
   ========================================================================== */
.m-footer {
  background: #F5F2EF;
  border-radius: 0;
  padding: 64px 56px 48px;
  width: 100%;
}

.m-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.m-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  margin-bottom: 64px;
}

.m-footer__col h4 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.2px;
  text-transform: none;
  color: #787878;
  margin: 0 0 16px;
  line-height: 16px;
}

.m-footer__col-sub {
  margin-top: 28px !important;
}

.m-footer__col a {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: #323232;
  padding: 0 0 12px;
  transition: color 0.15s;
}

.m-footer__col a:hover {
  color: #1a1a1a;
}

.m-footer__bottom {
  border-top: 0;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 800px;
}

.m-footer__trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.m-footer__trust img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.m-footer__address {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #646464;
  margin: 0;
}

.m-footer__legal {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
  color: #646464;
  margin: 0;
  max-width: 64ch;
}

.m-footer__copy {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 20px;
  color: #787878;
  margin: 0;
}

.m-footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.m-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  transition: opacity 0.15s;
}

.m-footer__social a:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Responsive — 1100px
   ========================================================================== */
@media (max-width: 1100px) {
  :root {
    --section-pad-x: 40px;
    --display-xl: 64px;
    --display-xl-lh: 56px;
  }

  .m-hero__title {
    font-size: 88px;
    line-height: 76px;
  }

  .m-support__intro,
  .m-protect__intro,
  .m-solutions__intro.container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .m-trusted {
    padding: 48px 40px;
  }

  .m-protect__visual img {
    max-width: 480px;
  }

  .m-header__nav {
    display: none;
  }

  .m-guarantee {
    grid-template-columns: 1fr;
    min-height: 600px;
  }

  .m-guarantee__content {
    min-height: auto;
    padding: 36px 32px;
  }

  .m-guarantee__panel {
    padding: 0 32px 32px;
    justify-content: flex-start;
  }

  .m-guarantee__tx-stack {
    width: 100%;
  }

  .m-bento {
    grid-template-columns: 1fr;
  }

  .m-bento__card--tall {
    min-height: 420px;
  }

  .m-support__pillars {
    flex-direction: column;
    align-items: center;
  }

  .m-support__visual {
    height: 480px;
  }

  .m-support__footer {
    padding: 0 40px;
  }

  .m-trusted {
    padding: 48px 0;
  }

  .m-trusted__intro {
    padding: 0 40px;
  }

  .m-promo {
    grid-template-columns: 1fr;
  }

  .m-trusted__quote-block {
    grid-template-columns: 1fr;
  }

  .m-trusted__reviews {
    grid-template-columns: 1fr 1fr;
  }

  .m-protect {
    padding: 56px 32px 48px;
    gap: 36px;
  }

  .m-protect__pillars {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .m-security {
    grid-template-columns: 1fr;
  }

  .m-security__card {
    min-height: 520px;
  }

  .m-industry__banner {
    grid-template-columns: 1fr;
  }

  .m-industry__grid {
    grid-template-columns: 1fr;
  }

  .m-footer {
    padding: 48px 40px;
  }

  .m-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .m-solutions__card {
    flex: 0 0 min(360px, 78vw);
    width: min(360px, 78vw);
    min-width: min(360px, 78vw);
    height: 520px;
    min-height: 520px;
  }
}

/* ==========================================================================
   Responsive — 700px
   ========================================================================== */
@media (max-width: 700px) {
  :root {
    --section-pad-x: 24px;
  }

  .container {
    padding: 0 24px;
  }

  .m-header {
    height: 72px;
    gap: 12px;
  }

  .m-header__lang {
    display: none;
  }

  .m-header__login {
    padding: 10px 14px;
    font-size: 13px;
  }

  .m-header__cta {
    padding: 10px 16px;
    font-size: 13px;
  }

  .m-hero {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .m-hero__sub {
    font-size: 18px;
    line-height: 28px;
  }

  .m-guarantee {
    min-height: 520px;
  }

  .m-guarantee__title {
    font-size: 32px;
  }

  .m-bento__stack {
    grid-template-rows: auto;
  }

  .m-bento__card {
    height: 320px;
  }

  .m-bento__card--tall {
    min-height: 320px;
  }

  .m-hero__title {
    font-size: 64px;
    line-height: 56px;
  }

  .m-support__title,
  .m-trusted__title,
  .m-protect__title,
  .m-solutions__title {
    font-size: 48px;
    line-height: 44px;
  }

  .m-promo__card {
    min-height: 360px;
  }

  .m-trusted__reviews {
    grid-template-columns: 1fr;
  }

  .m-protect__visual {
    min-height: 260px;
  }

  .m-solutions {
    border-radius: 24px;
  }

  .m-solutions__intro {
    padding: 0 24px;
  }

  .m-solutions__card {
    flex: 0 0 336px;
    width: 336px;
    min-width: 336px;
    height: 456px;
    min-height: 456px;
  }

  .m-solutions__copy {
    width: min(256px, 100%);
  }

  .m-footer {
    padding: 40px 24px;
  }

  .m-footer__grid {
    grid-template-columns: 1fr;
  }

  .btn-lime,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}
