/* ==========================================================================
   Helveticard — page d'accueil (index.html)
   Chargé après css/style.css et css/nav-active.css (via [meta]).
   Typographie : Inter uniquement (auto-hébergée, /font). Helvetica est INTERDITE.
   ========================================================================== */

/* ===== Variables (fusion des 3 anciens blocs :root, valeurs effectives) ===== */
:root {
  --white: #FFFFFF;
  --ok: #22C55E;
  --f: 'Inter', Arial, sans-serif;
  --blue: #13213A;
  --blue-d: #24365A;
  --blue-l: #F5F2EC;
  --blue-m: #E2D6C2;
  --grey-0: #F5F2EC;
  --grey-1: #E9E3D8;
  --grey-2: #B9B2A6;
  --grey-3: #5E6878;
  --grey-4: #13213A;
  --navy: #13213A;
  --navy-2: #1C2D4D;
  --gold: #B8925A;          /* gold sur fond navy / sombre uniquement (5.59:1 sur #13213A) */
  --gold-ink: #876536;      /* gold pour TEXTE sur fond clair : 4.76:1 sur cream, 5.32:1 sur blanc (WCAG AA) */
  --grey-text: #6B6B6B;     /* gris texte sur fond clair : 5.33:1 sur blanc, 4.77:1 sur cream */
  --gold-l: #C9A46A;
  --cream: #F5F2EC;
  --nav-active: #2e7eed;
  --nav-hover: #B8925A;
  --nav-pos: sticky;
  /* Largeur de contenu identique à taste.php (.wrap) : 1200px max, gouttière clamp(16px, 5vw, 72px).
     Les fonds des sections restent pleine largeur ; seul le contenu est contraint. */
  /* Échelle des petites tailles de texte (< 13px) : 11 / 12, puis 14 */
  --fs-xs: 11px;   /* labels uppercase, kickers, chips, méta */
  --fs-sm: 12px;   /* textes secondaires, code mobile */
  --fs-md: 14px;
  --max: 1200px;
  --gut: clamp(16px, 5vw, 72px);
  --pad-x: max(var(--gut), calc((100% - var(--max)) / 2));
}

/* Typographie : Inter uniquement. Helvetica est interdite (licence coûteuse) : ne jamais la réintroduire. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* [meta] loads style.css (base + site styles) site-wide: give this page back its own element defaults
   (the shared [nav] and [footer] keep the site-wide styles) */
:is(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, pre, label):not(:where(.main-nav *, .site-footer *)) { margin: 0; }
:is(h1, h2, h3, h4, h5, h6, p, a, li, blockquote, label, small, b, strong, code, pre):not(:where(.main-nav *, .site-footer *)) { font-size: revert; font-weight: revert; font-family: revert; line-height: revert; letter-spacing: revert; color: revert; }
a:is(:hover, :focus):not(:where(.main-nav *, .site-footer *)) { color: revert; text-decoration: revert; }
label { display: revert; }
img, svg { vertical-align: revert; }
svg:not(:root) { overflow: revert; }
button { border-radius: revert; }
body { text-align: revert; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  background: var(--white);
  color: var(--grey-4);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.logo {
  height: 45px;
  margin-top: 1px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: bold; color: var(--grey-3); text-decoration: none; transition: color .15s; text-transform: uppercase;}
.nav-links a:hover { color: var(--grey-4); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.btn-outline {
  font-family: var(--f); font-size: 13px; font-weight: 500;
  color: var(--grey-4); background: none;
  border: 1px solid var(--grey-1); border-radius: 6px;
  padding: 8px 18px; cursor: pointer; text-decoration: none; transition: all .15s;
  text-transform: uppercase;
}
.btn-outline:hover { border-color: var(--grey-2); background: var(--grey-0); }
.btn-fill {
  font-family: var(--f); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--blue); border: none; border-radius: 6px;
  padding: 9px 20px; cursor: pointer; text-decoration: none; transition: background .15s;
}
.btn-fill:hover { background: var(--blue-d); }

/* HERO */
.hero {
  padding: 136px var(--pad-x) 96px;
  background: linear-gradient(160deg, var(--white) 55%, var(--blue-l) 100%);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(58,123,213,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 640px; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); background: var(--blue-l); border: 1px solid var(--blue-m); border-radius: 20px; padding: 4px 12px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 800; line-height: 1.05; letter-spacing: -2px; color: var(--grey-4); margin-bottom: 20px; }
.hero h1 span { color: var(--blue); }
.hero-p { font-size: 17px; color: var(--grey-3); line-height: 1.72; max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-hero-fill  { font-family:var(--f); font-size:14px; color:#fff; border:none; padding:12px 26px; cursor:pointer; text-decoration:none; transition:background .15s; }
.btn-hero-ghost { font-family:var(--f); font-size:14px; font-weight:500; color:var(--grey-3); background:none; border:1px solid var(--grey-1); padding:12px 22px; cursor:pointer; text-decoration:none; transition:all .15s; }
.btn-hero-ghost:hover { color:var(--grey-4); border-color:var(--grey-2); }

/* PAYMENT CARD */
.pay-card {
  width: 320px; height: 202px; flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0D2F6E 0%, #1A4FA0 45%, #3A7BD5 100%);
  padding: 20px 22px 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 16px 48px rgba(13,47,110,0.28), 0 4px 12px rgba(13,47,110,0.12);
  position: relative; overflow: hidden;
}
.pay-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 48%;
  background: linear-gradient(180deg, rgba(255,255,255,.09) 0%, transparent 100%);
  border-radius: 14px 14px 0 0; pointer-events: none;
}
.pc-top  { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.pc-issuer { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.8); letter-spacing: 1px; text-transform: uppercase; }
/* NFC arcs */
.pc-nfc  { width: 18px; height: 18px; position: relative; }
.pc-arc  { position: absolute; border: 1.5px solid rgba(255,255,255,.45); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
/* Chip */
.pc-chip {
  width: 36px; height: 28px;
  background: linear-gradient(135deg, #C9A227 0%, #F0C040 50%, #A07808 100%);
  border-radius: 4px; position: relative; overflow: hidden; margin-bottom: 10px;
}
.pc-chip::before { content:''; position:absolute; top:50%; left:0; right:0; height:1px; background:rgba(0,0,0,.2); }
.pc-chip::after  { content:''; position:absolute; left:50%; top:0; bottom:0; width:1px; background:rgba(0,0,0,.2); }
.pc-chip-l { position:absolute; left:32%; top:0; bottom:0; width:1px; background:rgba(0,0,0,.15); }
.pc-chip-r { position:absolute; left:66%; top:0; bottom:0; width:1px; background:rgba(0,0,0,.15); }
.pc-number { font-size: 13px; font-weight: 500; letter-spacing: 2.5px; color: rgba(255,255,255,.88); font-family: 'Courier New', monospace; }
.pc-bottom { display:flex; align-items:flex-end; justify-content:space-between; position:relative; }
.pc-lbl    { font-size: 7px; font-weight:600; letter-spacing:1.5px; color:rgba(255,255,255,.4); text-transform:uppercase; margin-bottom:3px; }
.pc-name   { font-size: 11px; font-weight:600; color:rgba(255,255,255,.88); letter-spacing:.5px; text-transform:uppercase; }
.pc-exp    { font-size: 12px; font-weight:600; color:rgba(255,255,255,.88); text-align:center; }
.pc-visa   { font-size: 20px; font-weight:900; font-style:italic; color:rgba(255,255,255,.94); letter-spacing:-1px; line-height:1; }

/* CARDS SECTION redesign */
.cards-layout { display: grid; grid-template-columns: auto 1fr; align-items: start; margin-top: 52px; }
.cards-left  { display: flex; flex-direction: column; gap: 16px; }
.cards-note  { background: var(--white); border: 1px solid var(--grey-1); border-radius: 10px; padding: 14px 16px; max-width: 320px; }
.cards-note p { font-size: 12px; color: var(--grey-3); line-height: 1.6; }
.cards-note strong { color: var(--grey-4); }
.cards-right { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* SECTIONS */
section { padding: 96px var(--pad-x); }
.s-label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; margin-bottom: 16px; }
.s-title { font-size: clamp(26px, 2.8vw, 40px); color: var(--grey-4); line-height: 1.1; margin-bottom: 16px; }
.s-body { font-size: 16px; color: var(--grey-3); line-height: 1.75; }

/* OFFER */

/* CARD TYPES */
.cards-intro { max-width: 560px; margin-bottom: 56px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-type {
  background: var(--white); border: 1px solid var(--grey-1); border-radius: 12px; padding: 24px 20px;
  transition: all .2s;
}
.card-type:hover { border-color: var(--blue-m); box-shadow: 0 4px 20px rgba(58,123,213,0.08); transform: translateY(-2px); }
.ct-stripe { height: 3px; border-radius: 2px; margin-bottom: 20px; background: linear-gradient(90deg, var(--blue-d), var(--blue)); }
.ct-stripe.light { background: linear-gradient(90deg, var(--blue), var(--blue-m)); }
.ct-stripe.grey  { background: linear-gradient(90deg, var(--grey-2), var(--grey-1)); }
.ct-stripe.dark  { background: linear-gradient(90deg, var(--grey-4), var(--blue-d)); }
.card-type h4 { font-size: 15px; font-weight: 700; color: var(--grey-4); margin-bottom: 8px; }
.card-type p  { font-size: 13px; color: var(--grey-3); line-height: 1.65; margin-bottom: 16px; }
.ct-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: var(--blue-l); color: var(--blue-d); border: 1px solid var(--blue-m); }

/* SANDBOX */
#sandbox { background: var(--navy); }
.sandbox-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sandbox-text .s-label { color: var(--blue-m); }
.sandbox-text .s-title { color: #fff; }
.sandbox-text .s-body  { color: rgba(255,255,255,.55); max-width: 400px; }
.sandbox-checks { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.sc { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.7); }
.sc::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%;
  background: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}
.sandbox-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 36px;
  font-family: var(--f); font-size: 14px; font-weight: 600;
  color: var(--navy); background: #fff; border: none; border-radius: 8px; padding: 13px 24px;
  cursor: pointer; text-decoration: none; transition: background .15s;
}
.sandbox-cta:hover, .sandbox-cta:focus-visible { color: var(--navy); background: var(--gold); text-decoration: none; }
.sandbox-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.sandbox-ctas .sandbox-cta { margin-top: 0; }
.sandbox-cta-ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.sandbox-cta-ghost:hover, .sandbox-cta-ghost:focus-visible { box-shadow: none; }

.code-block { background: #111827; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); font-family: 'SF Mono','Menlo','Courier New',monospace; font-size: var(--fs-sm); line-height: 1.9; }
.code-bar { background: #1F2937; padding: 12px 16px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.06); }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-file { margin-left: 10px; font-size: 11px; color: rgba(255,255,255,.35); }
.code-body { padding: 20px 22px; }
.k  { color: #93C5FD; }
.s  { color: #BAE6FD; }
.cm { color: #374151; }
.ok { color: #6EE7B7; }
.w  { color: rgba(255,255,255,.75); }

/* SECURITY */
#security { background: var(--white); border-top: 1px solid var(--grey-1); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 52px; }
.sec-item h3 { font-size: 15px; font-weight: 700; color: var(--grey-4); margin-bottom: 8px; letter-spacing: -0.2px; }
.sec-item p  { font-size: 13px; color: var(--grey-3); line-height: 1.7; }
/* Security : mêmes icônes gold que les tuiles Platform (.cap-cell-icon redéfinit --blue en gold) */
.sec-item .sec-icon { justify-content: flex-start; margin-bottom: 12px; }

/* FOOTER */
.footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-logo { font-size: 17px; font-weight: 800; color: var(--grey-4); margin-bottom: 10px; }
.footer-logo em { color: var(--blue); font-style: normal; }
.footer-col h6 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-2); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 13px; color: var(--grey-3); text-decoration: none; transition: color .15s; }
.footer-col ul a:hover { color: var(--blue); }

/* KEY CAPABILITIES */
#platform { background: var(--grey-0); border-top: 1px solid var(--grey-1); }
.cap-grid {
  display: grid;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 52px;
}
.cap-cell {
  background: var(--white);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .2s;
}
.cap-cell:hover { background: var(--blue-l); }
.cap-cell-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.cap-cell-icon svg { width: 28px; height: 28px; }
.cap-cell h3, .cap-cell h4 { font-size: 15px; font-weight: 700; color: var(--grey-4); letter-spacing: -0.2px; }
.cap-cell p  { font-size: 13px; color: var(--grey-3); line-height: 1.65; }
.cap-currencies {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.cap-cur {
  font-size: var(--fs-xs); font-weight: 700; padding: 3px 8px; border-radius: 4px;
  background: var(--grey-0); border: 1px solid var(--grey-1);
  color: var(--grey-4); letter-spacing: 0.3px;
}

/* APP */
#app { background: var(--white); border-top: 1px solid var(--grey-1); }
.app-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.app-screens { display: flex; gap: 16px; justify-content: center; }
.phone-frame {
  width: 148px; border-radius: 24px;
  background: var(--grey-4); padding: 10px;
  box-shadow: 0 20px 48px rgba(44,55,72,0.18);
}
.phone-frame.offset { margin-top: 28px; }
.phone-screen { background: var(--grey-0); border-radius: 16px; overflow: hidden; }
.phone-statusbar { background: var(--grey-4); height: 20px; display: flex; align-items: center; justify-content: center; }
.phone-notch { width: 48px; height: 10px; background: var(--grey-0); border-radius: 0 0 10px 10px; }
.phone-content { padding: 12px 10px; }
.phone-header { font-size: 10px; font-weight: 700; color: var(--grey-4); margin-bottom: 10px; }
.phone-card-mini {
  height: 68px; border-radius: 10px; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--blue-d), var(--blue));
  padding: 10px; display: flex; flex-direction: column; justify-content: space-between;
}
.phone-card-name { font-size: 7px; font-weight: 700; color: rgba(255,255,255,.8); letter-spacing: 0.5px; }
.phone-card-pan  { font-size: 7px; color: rgba(255,255,255,.6); letter-spacing: 1px; }
.phone-card-visa { font-size: 9px; font-weight: 900; font-style: italic; color: rgba(255,255,255,.85); text-align: right; }
.phone-txn { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--grey-1); }
.phone-txn:last-child { border-bottom: none; }
.phone-txn-label { font-size: 8px; font-weight: 500; color: var(--grey-4); }
.phone-txn-sub   { font-size: 7px; color: var(--grey-2); }
.phone-txn-amt   { font-size: 8px; font-weight: 600; color: var(--grey-4); }
.store-badges { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grey-4); color: #fff;
  border-radius: 8px; padding: 9px 16px;
  font-size: 12px; font-weight: 500; text-decoration: none;
  transition: background .15s;
}
.store-badge:hover { background: var(--blue-d); }
.store-badge svg { width: 16px; height: 16px; fill: #fff; }
.store-badge-sub { font-size: 9px; color: rgba(255,255,255,.6); display: block; line-height: 1; }
.store-badge-name { font-size: 13px; font-weight: 700; display: block; line-height: 1.3; }

/* REVEAL */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { padding: 100px var(--pad-x) 72px; }
  .showcase-inner { grid-template-columns: 1fr; gap: 48px; justify-items: center; }
  .pay-card { width: 260px; height: 164px; } .pc-number { font-size:11px; } .pc-visa { font-size:17px; } .cards-layout { grid-template-columns: 1fr; gap: 40px; }
  .showcase-info { max-width: 100%; }
  .sandbox-inner, .app-inner { grid-template-columns: 1fr; gap: 48px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  section { padding: 56px var(--pad-x); }
  .hero { padding: 84px var(--pad-x) 60px; }
  .hero h1 { font-size: 26px; letter-spacing: -0.8px; }
  .hero-p { font-size: 14px; margin-bottom: 28px; }
  .hero-actions { gap: 8px; }
  .btn-hero-fill  { font-size: 13px; padding: 9px 18px; }
  .btn-hero-ghost { font-size: 13px; padding: 9px 16px; }
  .pay-card { width: 100%; height: auto; aspect-ratio: 85.6/53.98; padding: 5% 6%; } .cards-right { grid-template-columns: 1fr; } .cards-note { max-width: 100%; }
  .pc-number { font-size: 12px; letter-spacing: 2px; }
  .pc-visa { font-size: 18px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .store-badges { flex-direction: column; gap: 8px; }
  .sandbox-inner { gap: 36px; }
  .code-block { font-size: var(--fs-xs); }
}

/* ===== v2 additions (Oct 2026) ===== */

/* CAAS */
#caas {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 55% 70% at 82% 38%, rgba(58,123,213,.38) 0%, transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 88px var(--pad-x) 80px;
}
#caas .s-label { color: var(--gold); }
#caas .s-title { color: #fff; }
#caas .s-body  { color: rgba(255,255,255,.62); max-width: 480px; }
.caas-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.caas-stats { display: flex; gap: 0; margin-top: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; max-width: 440px; }
.caas-stat { flex: 1; padding: 14px 16px; background: rgba(255,255,255,.04); }
.caas-stat + .caas-stat { border-left: 1px solid rgba(255,255,255,.1); }
.caas-stat strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: #fff; line-height: 1.1; }
.caas-stat span { font-size: var(--fs-xs); letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.45); }

.caas-visual { position: relative; height: 440px; max-width: 520px; width: 100%; justify-self: center; }
.caas-hex { position: absolute; left: 50%; top: 50%; width: 380px; height: 420px; transform: translate(-50%,-50%); }
.caas-hex polygon { fill: none; stroke: rgba(194,217,245,.14); stroke-width: 1.2; }
.caas-hex polygon + polygon { stroke: rgba(194,217,245,.08); stroke-dasharray: 4 6; }
.caas-card { position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%) rotate(-7deg); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08) inset; }
.pc-nfc-ic { width: 20px; height: 20px; stroke: rgba(255,255,255,.6); transform: rotate(0deg); }
.caas-toast {
  position: absolute; left: 50%; top: 66%; transform: translateX(-30%);
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--navy); border-radius: 12px; padding: 12px 18px 12px 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35); white-space: nowrap;
  animation: caasFloat 5s ease-in-out infinite;
}
.caas-toast b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.caas-toast small { font-size: var(--fs-sm); color: #5E6878; }
.caas-check { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.caas-check::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: caasPulse 2.6s ease-out infinite; }
.caas-check .ico { width: 16px; height: 16px; stroke: #fff; stroke-width: 3; }
.caas-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); font-weight: 500; color: rgba(255,255,255,.88); white-space: nowrap;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px); border-radius: 20px; padding: 7px 14px;
}
.caas-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-m); box-shadow: 0 0 0 3px rgba(194,217,245,.15); }
.caas-chip.gold i { background: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.18); }
.caas-chip.c1 { left: 4%;  top: 9%;  animation: caasFloat 6s ease-in-out infinite; }
.caas-chip.c2 { right: 6%; top: 4%;  animation: caasFloat 7s ease-in-out -2s infinite; }
.caas-chip.c3 { left: 0;   top: 76%; animation: caasFloat 6.5s ease-in-out -1s infinite; }
.caas-chip.c4 { right: 0;  top: 30%; animation: caasFloat 7.5s ease-in-out -3s infinite; }
.caas-chip.c5 { left: 18%; bottom: 2%; animation: caasFloat 6s ease-in-out -4s infinite; }
@keyframes caasFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes caasPulse { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .caas-toast, .caas-chip, .caas-check::after { animation: none; } }

.caas-cols { display: grid; grid-template-columns: 1fr 1.75fr; gap: 20px; margin-top: 56px; }
.caas-col { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 24px; }
.caas-col-h { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.caas-items { display: grid; gap: 12px; }
.caas-items.two { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.caas-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.35; }
.caas-item.own { color: #fff; font-weight: 600; }
.caas-ic { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(58,123,213,.18); border: 1px solid rgba(58,123,213,.35); }
.caas-item.own .caas-ic { background: rgba(201,162,74,.14); border-color: rgba(201,162,74,.4); }
.caas-ic .ico { width: 17px; height: 17px; stroke: var(--blue-m); }
.caas-item.own .caas-ic .ico { stroke: var(--gold); }

/* PLATFORM polish */

/* CARD TYPES */
.cards-img { width: 100%; height: auto; display: block; }
.card-type { display: flex; flex-direction: column; }
.card-type p { flex: 1; }
.ct-label { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.cur-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-top: 40px; padding: 20px 24px; background: var(--white);
  border: 1px solid var(--grey-1); border-radius: 14px;
}
.cur-strip-l { display: flex; align-items: center; gap: 14px; max-width: 360px; }
.cur-strip-l b { display: block; font-size: 15px; font-weight: 700; color: var(--grey-4); }
.cur-strip-l small { font-size: 12.5px; color: var(--grey-3); line-height: 1.5; display: block; }
.cur-strip-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-l); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cur-strip-ic .ico { width: 20px; height: 20px; stroke: var(--blue); }
.cur-list { display: flex; gap: 10px; flex-wrap: wrap; }
.cur { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--grey-1); border-radius: 40px; background: var(--grey-0); transition: border-color .2s, background .2s; }
.cur:hover { border-color: var(--blue-m); background: var(--blue-l); }
.cur-sym { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cur b { display: block; font-size: 13px; font-weight: 700; color: var(--grey-4); line-height: 1.1; }
.cur small { font-size: 10.5px; color: var(--grey-3); }

/* CAPABILITIES: 4 columns, 8 cells */
.cap-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  background: transparent;
  border: 0;
}
.cap-ic-blue .ico { width: 28px; height: 28px; stroke: var(--blue); }

/* FOOTER (compact) */
.pre-footer { background: var(--grey-0); border-top: 1px solid var(--grey-1); padding: 32px var(--pad-x); }
.pre-footer .footer-top { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.site-footer { margin-top: 0; background: var(--grey-0); }
/* ≤ 600px : même retrait latéral que .pre-footer (le .container du footer partagé n'a que 15px) */
@media (max-width: 600px) { .site-footer > .container { padding-left: var(--pad-x); padding-right: var(--pad-x); } }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--grey-1); }
.footer-brand { max-width: 320px; }
.footer-logo-img { width: 170px; height: auto; aspect-ratio: 292 / 47; display: block; margin-bottom: 8px; }
.footer-desc { font-size: 13px; color: var(--grey-3); line-height: 1.6; max-width: none; }
.footer-contact { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--navy); border-radius: 14px; padding: 16px 16px 16px 24px; }
.footer-contact-t { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.2px; }
.footer-contact-t span { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.footer-contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-contact .ico { width: 15px; height: 15px; }
.footer-tel, .footer-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f); font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 8px; padding: 10px 16px; transition: all .15s; }
.footer-tel { color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2); }
.footer-tel:hover { border-color: rgba(255,255,255,.45); color: #fff; }
.footer-cta { color: #fff; background: var(--blue); }
.footer-cta:hover, .footer-cta:focus-visible { color: var(--navy); background: var(--gold); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--grey-3); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: var(--grey-3); text-decoration: none; }
.footer-legal a:hover { color: var(--blue); }
.footer-legal a.footer-legal-contact { color: var(--blue); font-weight: 600; }

@media (max-width: 960px) {
  .caas-top { grid-template-columns: 1fr; gap: 24px; }
  .caas-cols { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: none; }
}
@media (max-width: 600px) {
  #caas { padding: 56px var(--pad-x); }
  .caas-visual { height: 330px; }
  .caas-stat { padding: 12px 10px; }
  .caas-stat strong { font-size: 19px; }
  .caas-stat span { font-size: var(--fs-xs); letter-spacing: .3px; white-space: nowrap; }
  .caas-hex { width: 300px; height: 330px; }
  .caas-card.pay-card { width: 250px; height: 158px; aspect-ratio: auto; padding: 16px 18px; }
  .caas-toast { left: 50%; transform: translateX(-50%); top: 70%; padding: 10px 14px 10px 10px; }
  .caas-chip { font-size: var(--fs-xs); padding: 5px 11px; }
  .caas-chip.c3, .caas-chip.c5 { display: none; }
  .caas-items.two { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .cur-strip { padding: 18px; }
  .footer-top { grid-template-columns: none; }
  .footer-contact { padding: 16px; width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Card range (#cards) — design from Card Issuing Program PDF p.6 ── */
#cards { --cr-bg:#F5F2EC; --cr-navy:#13213A; --cr-gold:#9A7A45; --cr-gold-l:#C2A06B; --cr-text:#3D4A5F; --cr-line:#E9E3D8;
  background: var(--cr-bg); border-top: 1px solid var(--cr-line); }
/* Titres de section : mêmes tailles que les autres sections (.s-label 11px/600, .s-title 400) */
#cards .s-title { margin-bottom: 0; }
.cr-grid { display: grid; grid-template-columns: 1.23fr 1fr; gap: 24px; margin-top: 44px; }
.cr-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.cr-card { border-radius: 10px; padding: 32px 30px; }
.cr-credit { background: var(--cr-navy); color: #fff; padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; }
.cr-white { background: var(--t-surface); border: 1px solid var(--cr-line); display: flex; flex-direction: column; justify-content: center;
  transition: transform .2s, box-shadow .2s; }
.cr-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(19,33,58,.06); }
.cr-head { display: flex; align-items: center; gap: 18px; }
.cr-ic { width: 34px; height: 34px; flex-shrink: 0; stroke: var(--cr-gold-l); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cr-kicker { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-ink); line-height: 1.2; }  /* = .s-label */
.cr-credit .cr-kicker { color: var(--cr-gold-l); }
.cr-white h3 { font-size: 18px; font-weight: 700; color: var(--t-heading); letter-spacing: -.2px; margin: 4px 0 0; line-height: 1.3; }
.cr-white p { font-size: 14px; color: var(--grey-3); line-height: 1.7; margin: 12px 0 0; }  /* = textes des cartes Platform */
.cr-credit h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 400; letter-spacing: -.8px; line-height: 1.15; margin: 20px 0 12px; color: #fff; }
.cr-credit > p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.72); margin: 0 0 20px; }  /* = .s-body */
.cr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cr-list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.9); }
.cr-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--cr-gold-l); }
.cr-cur { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 24px; }
.cr-cur-l { display: flex; align-items: center; gap: 8px; }
.cr-cur-l .cr-ic { width: 16px; height: 16px; }
.cr-cur-l span { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cr-text); opacity: .75; }
.cr-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.cr-pill { padding: 3px 10px; border: 1px solid var(--cr-line); border-radius: 20px; background: var(--t-pill-bg);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 1px; color: var(--cr-text); transition: border-color .2s, color .2s; }
.cr-pill:hover { border-color: var(--cr-gold-l); color: var(--t-heading); }
@media (max-width: 960px) {
  .cr-grid { grid-template-columns: 1fr; }
  .cr-credit { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .cr-credit, .cr-card { padding: 28px 22px; }
  .cr-white h3 { font-size: 17px; }
}

/* ===== HERO (proposals) — shared skeleton ===== */
.hx { padding: 48px var(--pad-x) 72px; position: relative; overflow: hidden; }
.hx::after { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.hx .hero-inner { max-width: 640px; }
.hx .hero-p { max-width: 350px; }  /* plus étroit : laisse la place au .p3-box décalé à gauche */
.hero-art { position: relative; height: 480px; width: 100%; max-width: 600px; justify-self: end; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--grey-1); max-width: 540px; }
.hero-trust li { font-size: var(--fs-sm); color: var(--grey-3); display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hx .pay-card { position: absolute; }
@keyframes hxFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .hx * { animation: none !important; } }
@media (max-width: 1100px) { .hero-art { transform: scale(.88); transform-origin: right center; } }
@media (max-width: 960px) {
  .hx { padding: 36px var(--pad-x) 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { justify-self: center; transform: none; height: 420px; max-width: 520px; }
}
@media (max-width: 600px) {
  .hx { padding: 24px var(--pad-x) 48px; }
  .hero-art { height: 360px; }
  .hx .pay-card { width: 236px; height: 149px; aspect-ratio: auto; padding: 14px 16px; }
  .hx .pc-number { font-size: 10.5px; letter-spacing: 1.6px; }
  .hero-trust { gap: 6px 16px; }
}
body { letter-spacing: -.1px; }
.s-label { color: var(--gold-ink); letter-spacing: 3px; }
#sandbox .s-label { color: var(--gold); }  /* section navy : gold clair */
.s-title { font-weight: 400; letter-spacing: -1px; }
#platform, #security, #app { background: var(--cream); }
.cap-cell { background: var(--t-surface); }
.btn-hero-fill { color: var(--t-btn-fg); background: var(--t-btn-bg); border-radius: 6px; font-weight: 500; }
.btn-hero-fill:hover { background: var(--t-btn-hover-bg); }
.btn-hero-ghost { border-radius: 6px; }

.hx { background: var(--cream); }
.hx .hero-eyebrow { background: none; border: 0; padding: 0; color: var(--gold-ink); letter-spacing: 3px; font-weight: 700; }
.hx h1 { font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -2px; line-height: 1.05; color: var(--t-heading); }
.hx h1 span { color: var(--t-heading); font-style: normal; }
.hx h1 em { font-style: italic; color: var(--gold-ink); }
.hx .hero-p { color: var(--grey-3); }
.hero-trust { border-top-color: var(--grey-1); }
/* art */
.p3-box { position: absolute; left: -164px; top: 179px; width: 266px; z-index: 5; background: var(--t-surface); border: 1px solid var(--grey-1); border-radius: 10px; padding: 22px 22px 18px; box-shadow: 0 24px 50px rgba(19,33,58,.14); }
.p3-box h5, .p3-box-title { font-size: var(--fs-xs); letter-spacing: 2.2px; text-transform: uppercase; color: var(--grey-3); font-weight: 600; margin-bottom: 14px; }
.p3-li { display: flex; gap: 12px; align-items: center; padding: 8px 0; font-size: 13.5px; color: var(--t-heading); border-top: 1px solid var(--cream); }
.p3-li i { width: 18px; height: 18px; border: 1px solid var(--gold-l); border-radius: 50%; flex-shrink: 0; position: relative; }
.p3-li i::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--gold-l); }
.p3-go { margin-top: 10px; font-size: 13px; color: var(--gold-ink); font-weight: 600; }
.p3-stage { position: absolute; right: 0; top: 4%; width: 420px; height: 400px; background: linear-gradient(160deg, var(--t-stage-a), var(--t-stage-b)); border-radius: 10px; }
.p3-c1 { right: -3%; top: 2%; transform: rotate(0); background: linear-gradient(150deg, #1C2D4D 0%, #13213A 60%, #0E1729 100%); box-shadow: 0 26px 50px rgba(19,33,58,.35); z-index: 2; animation: hxFloat 7s ease-in-out infinite; }
.p3-c2 { right: 23%; top: 40%; background: linear-gradient(150deg, #3B3D42 0%, #1D1E21 60%, #0C0C0E 100%); box-shadow: 0 30px 60px rgba(0,0,0,.4); z-index: 3; animation: hxFloat 8s ease-in-out -2s infinite; }
.p3-c1 .pc-chip, .p3-c2 .pc-chip { background: linear-gradient(135deg, #D9BE8C, #B8925A 60%, #8E6B36); }
/* Carte portrait (format vertical, 53.98 × 85.6) */
.hx .pc-portrait { width: 202px; height: 320px; padding: 22px 20px 20px; justify-content: flex-start; }
.pc-portrait .pc-issuer { line-height: 1.35; }  /* « Your / Bank » sur 2 lignes */
.pc-portrait .pc-top-end { display: flex; align-items: center; gap: 6px; }  /* puce juste à gauche du logo sans contact */
.pc-portrait .pc-chip { margin: 4px -4px; transform: rotate(90deg); }  /* tournée de 90° : ±4px pour l'encombrement visuel (28 × 36 une fois tournée) */
.pc-portrait .pc-info { margin-top: 40px; display: flex; flex-direction: column; gap: 6px; }  /* sous la puce : reste visible au-dessus de .p3-c2 */
.pc-portrait .pc-number { font-size: 11px; letter-spacing: 1.4px; white-space: nowrap; }  /* 19 car. monospace (0.6em) : 152px ≤ 162px utiles */
.pc-portrait .pc-visa { margin-top: auto; align-self: flex-end; font-size: 22px; }
/* Carte embossée : caractères en relief (tipping argent + ombre portée) */
.pc-embossed .pc-number, .pc-embossed .pc-name, .pc-embossed .pc-exp {
  font-family: 'OCR A Std', 'OCR A Extended', 'Courier New', monospace; font-weight: 700;
  color: #E4E1DA;
  text-shadow: -1px -1px 0 rgba(255,255,255,.45), 1px 1px 0 rgba(0,0,0,.95), 2px 2px 3px rgba(0,0,0,.7);
}
.pc-embossed .pc-number { font-size: 17px; letter-spacing: 2.5px; }
.pc-embossed .pc-name { font-size: 12px; letter-spacing: 1.5px; }
.pc-embossed .pc-exp { font-size: 12px; }
.p3-badge { position: absolute; right: 0; bottom: 0; z-index: 4; background: var(--navy); color: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: 0 20px 40px rgba(19,33,58,.3); max-width: 260px; }
.p3-badge small { display: block; font-size: var(--fs-xs); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-l); font-weight: 600; margin-bottom: 4px; }
.p3-badge b { font-size: 16px; font-weight: 500; line-height: 1.3; }
/* ≤ 960px : pas de fond beige derrière les cartes (le panneau gauche n'a plus de place) */
/* 961–1339px : colonne texte plus étroite → décalage réduit (testé sans chevauchement avec .hero-p à 455px) */
@media (min-width: 961px) and (max-width: 1339px) { .p3-box { left: -70px; } }
@media (max-width: 960px) { .p3-stage { display: none; } .p3-box { left: 0; top: 24%; } }
/* ≤ 600px : cartes en haut, badge sous les cartes, checklist empilée en dessous */
@media (max-width: 600px) {
  .hero-art { height: auto; padding-top: 420px; }
  .p3-c1 { top: 0; }
  .p3-c2 { top: 140px; right: auto; left: 2%; }  /* miroir de .p3-c1 (right: 2%) : cartes réparties symétriquement */
  .hx .pc-portrait { width: 149px; height: 236px; padding: 14px; }
  .pc-portrait .pc-info { margin-top: 28px; gap: 4px; }
  .pc-portrait .pc-number { font-size: 9px; letter-spacing: .7px; }  /* 116px ≤ 121px utiles */
  .pc-portrait .pc-visa { font-size: 18px; }
  .pc-embossed .pc-number { font-size: 13px; letter-spacing: 1.5px; }
  .pc-embossed .pc-name, .pc-embossed .pc-exp { font-size: 10px; }
  .p3-badge { top: 304px; bottom: auto; max-width: 240px; padding: 12px 14px; }
  .p3-box { position: relative; left: auto; top: auto; width: 100%; box-shadow: 0 12px 30px rgba(19,33,58,.10); }
  .p3-li { font-size: 13px; padding: 7px 0; }
}

/* Ancres : décalage = hauteur réelle du menu sticky (mesurée par js/nav-active.js → --nav-h), barre de progression incluse */
html { scroll-padding-top: var(--nav-h, 65px); }
.main-nav { border-bottom: 1px solid var(--grey-1); }

.sbx-tab {
  font-family: var(--f); font-size: var(--fs-xs); font-weight: 500;
  color: rgba(255,255,255,.4); background: none; border: none;
  min-height: 44px; padding: 0 14px; border-radius: 6px; cursor: pointer;  /* cible tactile 44px */
  transition: all .15s;
}
.sbx-tab:hover { color: rgba(255,255,255,.7); }
.sbx-tab.active { color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); }
.sbx-panel { display: none; }
.sbx-panel.active { display: block; }

/* ===== Classes issues des anciens attributs style="…" ===== */
/* Sandbox : liste des fonctionnalités */
.sbx-feats { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.sbx-feat { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.sbx-feat-text { line-height: normal; }
.sbx-feat-title { font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,.85); }
.sbx-feat-sub { font-size: var(--fs-xs); color: rgba(255,255,255,.4); }
div.sbx-feat-sub { margin-top: 1px; }
/* Sandbox : barre de l'éditeur de code */
.code-bar.code-bar-split { justify-content: space-between; }
.code-dots { display: flex; gap: 6px; align-items: center; }
.code-dot.code-dot-red { background: #FF5F57; }
.code-dot.code-dot-yellow { background: #FEBC2E; }
.code-dot.code-dot-green { background: #28C840; }
.sbx-tabs { display: flex; gap: 2px; }
.code-bar-spacer { width: 52px; }
/* Sandbox : couleurs JSON */
.j-red { color: #FF0000; }
.j-amber { color: #FCD34D; }
/* Délais d'apparition (animation .rv) */
.d-05 { transition-delay: .05s; }
.d-06 { transition-delay: .06s; }
.d-08 { transition-delay: .08s; }
.d-10 { transition-delay: .1s; }
.d-12 { transition-delay: .12s; }
.d-14 { transition-delay: .14s; }
.d-15 { transition-delay: .15s; }
.d-16 { transition-delay: .16s; }
.d-18 { transition-delay: .18s; }
.d-20 { transition-delay: .2s; }
.d-24 { transition-delay: .24s; }
.d-25 { transition-delay: .25s; }
.d-30 { transition-delay: .3s; }
.d-35 { transition-delay: .35s; }
.d-36 { transition-delay: .36s; }

/* ===== Key Capabilities : icônes en gold =====
   Les SVG utilisent var(--blue), var(--blue-d), var(--blue-m), var(--blue-l) :
   on redéfinit ces variables uniquement dans le conteneur d'icône. */
.cap-cell-icon {
  --blue: var(--gold);      /* traits : #B8925A */
  --blue-d: #8F6E3F;        /* gold foncé */
  --blue-m: #E8D8BA;        /* gold clair (remplissages) */
  --blue-l: #F6EEDF;        /* gold très clair */
  --grey-4: var(--gold);    /* corps du téléphone (Mobile wallet payments) */
  --grey-2: #E8D8BA;        /* bouton du téléphone */
}

/* Platform : lien vers l'app dans la tuile White-label app */
.cap-link { margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 600; color: var(--t-heading); text-decoration: none; }
.cap-link:hover, .cap-link:focus-visible { color: var(--gold-ink); text-decoration: underline; }
/* Bloc de fin : bouton secondaire sur navy → hover gold + texte navy */
.footer-tel:hover, .footer-tel:focus-visible { color: var(--navy); background: var(--gold); border-color: var(--gold); text-decoration: none; }
/* Bloc de fin : bouton principal blanc sur navy (comme « Get sandbox access » de la section Sandbox) */
.footer-contact .footer-cta { color: var(--navy); background: #fff; }
.footer-contact .footer-cta:hover, .footer-contact .footer-cta:focus-visible { color: var(--navy); background: var(--gold); }
/* Sandbox ≤ 600px : exemple JSON limité en hauteur, défilement interne */
@media (max-width: 600px) {
  .sbx-panel .code-body { max-height: 420px; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
}
.sbx-panel .code-body:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ===== Mobile (≤ 600px) : padding vertical des blocs = padding horizontal (var(--pad-x)) ===== */
@media (max-width: 600px) {
  .hx, section, #caas, #platform, #cards, #sandbox, #security, .pre-footer {
    padding-top: var(--pad-x);
    padding-bottom: var(--pad-x);
  }
}

/* ===== Bloc de fin : section navy pleine largeur « Next step » (#get-started) ===== */
#get-started { background: var(--navy); }
.gs-inner { max-width: 640px; margin: 0 auto; text-align: center; }
#get-started .s-label { color: var(--gold); }
#get-started .s-title { color: #fff; }
#get-started .s-body  { color: rgba(255,255,255,.72); max-width: 480px; margin: 0 auto; }
.gs-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.gs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; font-family: var(--f); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.gs-btn-fill  { color: var(--navy); background: #fff; }
.gs-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.gs-btn:hover, .gs-btn:focus-visible { color: var(--navy); background: var(--gold); border-color: var(--gold); text-decoration: none; }
@media (max-width: 600px) {
  .gs-actions { flex-direction: column; margin-top: 24px; }
  .gs-btn { width: 100%; }
}

/* Lien « Discover the app → » : cible tactile 44px */
.cap-link { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; }

/* ===== Platform ≤ 600px : 2 colonnes, icône + titre ; description affichée au tap (js/index.js) ===== */
@media (max-width: 600px) {
  #platform .cap-grid { grid-template-columns: 1fr 1fr; grid-auto-flow: row dense; gap: 10px; margin-top: var(--pad-x); border-radius: 0; overflow: visible; }  /* dense : pas de trou quand une tuile ouverte passe en pleine largeur */
  #platform .cap-cell { position: relative; padding: 16px; gap: 8px; border-radius: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  #platform .cap-cell h3, #platform .cap-cell h4 { font-size: 14px; line-height: 1.3; padding-right: 16px; }
  #platform .cap-cell::after { content: '+'; position: absolute; top: 10px; right: 14px; font-size: 20px; line-height: 1; color: var(--gold-ink); }
  #platform .cap-cell.open::after { content: '\2212'; }
  #platform .cap-cell p, #platform .cap-cell .cap-link { display: none; }
  #platform .cap-cell.open { grid-column: 1 / -1; background: var(--t-surface); }
  #platform .cap-cell.open p { display: block; }
  #platform .cap-cell.open .cap-link { display: inline-flex; }
  #platform .cap-cell:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
}
