/* Payondego public site — layout inspiré Aftont, identité Payondego */
:root {
  --primary: #0645D8;
  --primary-dark: #0636B5;
  --orange: #FFAA00;
  --green: #20B77A;
  --red: #FF4235;
  --bg: #F8FAFF;
  --white: #FFFFFF;
  --text: #142B73;
  --secondary: #40517D;
  --border: #E5EAF2;
  --shadow: 0 18px 50px rgba(6, 69, 216, 0.1);
  --radius: 22px;
  --nav-h: 80px;
  --font: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pyd-site {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; padding: 13px 20px; font-weight: 800;
  cursor: pointer; font-family: inherit; font-size: 14px;
  transition: .18s transform, .18s filter, .18s background;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 12px 24px rgba(6,69,216,.28); }
.btn-orange { background: var(--orange); color: #1a1200; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-line-white { background: transparent; border: 1.5px solid rgba(255,255,255,.7); color: #fff; }

/* —— Nav (structure Aftont) —— */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-nav-inner {
  display: flex; align-items: center; gap: 16px; min-height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.15rem; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.brand-word { color: var(--primary-dark); letter-spacing: -.4px; }
.brand-word b { color: var(--orange); font-weight: 900; }
.brand-slogan { display: none; font-size: 11px; font-weight: 600; color: var(--secondary); }
.site-menu { display: flex; gap: 14px; margin-left: auto; font-weight: 700; font-size: 13.5px; color: var(--secondary); flex-wrap: wrap; justify-content: flex-end; }
.site-menu a:hover, .site-menu a.is-on { color: var(--primary); }
.site-nav-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #eef2ff; }
.lang-switch button {
  border: 0; background: transparent; font-weight: 800; font-size: 11px;
  padding: 6px 8px; border-radius: 999px; cursor: pointer; color: var(--secondary); font-family: inherit;
}
.lang-switch button.is-on { background: var(--primary); color: #fff; }
.nav-hamb {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px;
}
.nav-hamb span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
.nav-drawer {
  display: none; position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw); background: #fff;
  z-index: 70; box-shadow: -20px 0 50px rgba(20,43,115,.12); padding: 20px; overflow: auto;
}
.nav-drawer.open { display: block; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(10,20,50,.4); z-index: 60; }
.nav-overlay.open { display: block; }
.nav-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.nav-drawer-head button { border: 0; background: #eef2ff; width: 36px; height: 36px; border-radius: 10px; font-size: 22px; cursor: pointer; color: var(--text); }
.nav-drawer a { display: block; padding: 12px 8px; font-weight: 700; border-bottom: 1px solid var(--border); }
.nav-drawer .drawer-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

/* —— Hero —— */
.hero {
  padding: 36px 0 64px;
  background:
    radial-gradient(900px 420px at 8% -20%, rgba(6,69,216,.16), transparent),
    radial-gradient(700px 320px at 92% 0%, rgba(255,170,0,.16), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.kicker { color: var(--primary); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.08; margin: 0 0 14px; letter-spacing: -1.2px; }
.lead { font-size: 1.12rem; color: var(--secondary); max-width: 540px; font-weight: 600; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.trust-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 12px; font-size: 13px; font-weight: 700;
}
.hero-visual {
  position: relative;
  background: linear-gradient(160deg, #0636B5, #0645D8 45%, #1a4fe0);
  border-radius: 32px;
  padding: 18px 10px 6px;
  box-shadow: 0 30px 70px rgba(6,54,181,.32);
  min-height: 380px;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: auto -40px -80px auto;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,170,0,.22); filter: blur(10px);
}
.hero-visual img.app1 { width: 100%; position: relative; z-index: 1; object-fit: contain; }
.hero-float {
  position: absolute; left: 16px; bottom: 18px; z-index: 2;
  background: #fff; color: var(--text); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
}
.hero-float small { display: block; color: var(--secondary); font-weight: 600; }
.hero-float-face {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid #fff; box-shadow: 0 4px 12px rgba(20,43,115,.2);
}
.btn-ghost-dark {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.38);
}
.hero-pro {
  position: relative; overflow: hidden; color: #fff;
  padding: 48px 0 80px;
  background: #071433;
}
.hero-pro .hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-pro .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero-pro::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(7,20,51,.94) 0%, rgba(6,54,181,.72) 48%, rgba(7,20,51,.28) 100%),
    linear-gradient(180deg, rgba(7,20,51,.25), rgba(7,20,51,.55));
}
.hero-pro .shell { position: relative; z-index: 2; }
.hero-pro .kicker { color: var(--orange); }
.hero-pro h1 { color: #fff; }
.hero-pro .lead { color: rgba(255,255,255,.88); }
.hero-pro .trust-pill {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: #fff; backdrop-filter: blur(10px);
}

.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: 0 12px 30px rgba(6,69,216,.06);
  position: relative; z-index: 3;
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 6px 8px; }
.stat strong {
  display: block; font-size: 1.35rem; font-weight: 900;
  color: var(--primary); letter-spacing: -.4px;
}
.stat span { font-size: 13px; color: var(--secondary); font-weight: 700; }

.photo-tile {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.photo-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(6,69,216,.16); }
.photo-tile img { width: 100%; height: 148px; object-fit: cover; }
.photo-tile-body { padding: 16px 18px 18px; }
.photo-tile h3 { margin: 0 0 6px; font-size: 1.05rem; }

.how-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.how-card img { width: 100%; height: 180px; object-fit: cover; }
.how-card .how-n, .how-card h3, .how-card p { padding-left: 20px; padding-right: 20px; }
.how-card .how-n { margin-top: 14px; }
.how-card h3 { margin: 4px 0 8px; }
.how-card p { padding-bottom: 20px; margin: 0; }

.scene-card { position: relative; }
.scene-photo {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: 32px; box-shadow: var(--shadow);
}
.qr-on-photo {
  position: absolute; right: 18px; bottom: 18px;
  width: min(240px, calc(100% - 36px));
  padding: 16px; margin: 0;
}
.qr-real { width: 148px; height: 148px; margin: 8px auto; border-radius: 12px; }

.wallet-stage { position: relative; min-height: 280px; }
.wallet-photo {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: 32px; box-shadow: var(--shadow);
}
.wallet-mock {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
  border-radius: 22px; padding: 18px; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.7);
}
.wallet-mock h3 { margin: 0 0 10px; }
.wallet-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.wallet-line strong { font-size: 1.25rem; }
.wallet-line.fc strong { color: var(--primary); }
.wallet-actions { margin-top: 12px; }
.wallet-actions .mini {
  background: #f4f7ff; border-radius: 14px; padding: 12px; text-align: center;
  font-size: 13px;
}
.frame-photo {
  margin: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow);
}
.frame-photo img { width: 100%; height: 420px; object-fit: cover; }
.frame-photo figcaption {
  padding: 12px 16px; font-weight: 700; font-size: 13px; color: var(--secondary);
  background: #fff;
}
.app-visual { min-height: auto; }
.quote-card { text-align: center; padding-top: 28px; }
.quote-avatar {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px;
  border: 3px solid #fff; box-shadow: 0 10px 24px rgba(6,69,216,.22);
}
.quote-card p { font-weight: 650; }
.tes-section { background: linear-gradient(180deg, #fff, #f3f6ff 40%, #fff); }
.cta-photo { position: relative; overflow: hidden; }
.cta-photo > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .28; pointer-events: none;
}
.cta-photo .cta-copy, .cta-photo > div { position: relative; z-index: 1; }

.split .secure-list { grid-template-columns: 1fr 1fr; }
.agent-mini { grid-template-columns: 1fr; }

/* —— Sections —— */
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; letter-spacing: -.4px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.card h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.muted { color: var(--secondary); }
.ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; font-size: 18px; font-weight: 900;
}
.ico.blue { background: linear-gradient(135deg, #3B6EF0, #0645D8); }
.ico.orange { background: linear-gradient(135deg, #FFAA00, #d97706); }
.ico.green { background: linear-gradient(135deg, #20B77A, #0E6B45); }
.ico.purple { background: linear-gradient(135deg, #7C5CFF, #0645D8); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px;
  text-align: center; font-weight: 800;
}
.step span { display: block; color: var(--primary); font-size: 12px; letter-spacing: .08em; margin-bottom: 6px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-n { font-size: 2rem; font-weight: 900; color: var(--orange); }

.secure-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.secure-item {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px;
  font-weight: 700; font-size: 14px;
}

.quotes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.stars { color: var(--orange); letter-spacing: 2px; }

.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 14px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { color: var(--secondary); margin: 8px 0 0; }

.cta-band {
  background: linear-gradient(135deg, #0636B5, #0645D8);
  color: #fff; border-radius: 28px; padding: 36px; display: flex; justify-content: space-between;
  align-items: center; gap: 18px; flex-wrap: wrap;
}

.page-hero { padding: 48px 0 20px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 8px; }

form.contact-form { display: grid; gap: 12px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 800; font-size: 13px; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; font: inherit; background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid rgba(6,69,216,.2); border-color: var(--primary); }

/* —— Footer —— */
.site-footer {
  background: #071433;
  color: #c9d4ee;
  margin-top: 24px;
}
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding: 48px 0 32px; position: relative; z-index: 1; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { display: block; padding: 4px 0; color: #aebadf; font-weight: 600; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0 22px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 13px; position: relative; z-index: 1;
}

.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check li {
  display: flex; gap: 10px; align-items: flex-start; font-weight: 650;
}
.check li::before {
  content: "✓"; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: #e8f8f0; color: var(--green);
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
}
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.qr-demo {
  background: #fff; border: 1px solid var(--border); border-radius: 28px;
  padding: 28px; text-align: center; box-shadow: var(--shadow);
}
.qr-box {
  width: 180px; height: 180px; margin: 12px auto 16px;
  border-radius: 16px; background:
    repeating-linear-gradient(90deg, #142B73 0 10px, transparent 10px 18px),
    repeating-linear-gradient(#142B73 0 10px, transparent 10px 18px);
  background-color: #fff;
  position: relative;
}
.qr-box::after {
  content: "P"; position: absolute; inset: 58px;
  background: #fff; color: var(--orange); font-weight: 900; font-size: 32px;
  display: grid; place-items: center; border-radius: 8px; border: 3px solid var(--primary);
}
.store-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #071433; color: #fff; border-radius: 14px; padding: 10px 16px; font-weight: 800;
}
.store-btn small { display: block; font-weight: 600; opacity: .7; font-size: 11px; }
.quotes-wrap { position: relative; }
.quotes { transition: opacity .35s; }
.quote-nav { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.quote-nav button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: #c9d4ee; cursor: pointer;
}
.quote-nav button.is-on { background: var(--primary); width: 22px; border-radius: 99px; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.sec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eef4ff; color: var(--primary); border-radius: 999px;
  padding: 8px 12px; font-weight: 800; font-size: 13px;
}
.pillars { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pillar { border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; color: #fff; }
.pillar.blue { background: var(--primary); }
.pillar.orange { background: var(--orange); color: #1a1200; }
.pillar.green { background: var(--green); }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p { color: var(--secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-aside { display: grid; gap: 12px; }
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: #071433; color: #fff; padding: 12px 18px; border-radius: 14px;
  font-weight: 700; z-index: 90; display: none;
}
.toast.show { display: block; }
.reveal { opacity: 0; transform: translateY(16px); animation: reveal .6s ease forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }

.site-footer {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(255,170,0,.14), transparent 55%),
    radial-gradient(800px 380px at 100% 100%, rgba(6,69,216,.4), transparent 50%),
    linear-gradient(180deg, #071433 0%, #04091c 100%);
  color: #c9d4ee;
  margin-top: 24px;
  border-top: 1px solid rgba(255,170,0,.28);
}
.site-footer .footer-glow {
  position: absolute; inset: auto 10% -40% 10%; height: 220px;
  background: radial-gradient(ellipse at center, rgba(255,170,0,.16), transparent 70%);
  pointer-events: none;
}
.footer-mail { color: var(--orange) !important; font-weight: 800 !important; }
.site-footer .btn { margin-top: 8px; }

@media (max-width: 1080px) {
  .site-menu { font-size: 12.5px; gap: 10px; }
  .site-nav-cta .btn { padding: 10px 12px; font-size: 12px; }
}
@media (min-width: 701px) {
  .quote-nav { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-4, .steps, .how, .secure-list, .quotes, .footer-top { grid-template-columns: 1fr 1fr; }
  .site-menu, .site-nav-cta { display: none; }
  .nav-hamb { display: flex; margin-left: auto; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .scene-photo, .frame-photo img, .wallet-photo { height: 280px; }
  .qr-on-photo { position: static; width: auto; margin-top: 14px; }
  .wallet-mock { position: static; margin-top: -40px; }
  .split .secure-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .grid-2, .grid-3, .grid-4, .steps, .how, .secure-list, .quotes, .footer-top, .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; padding: 12px 6px 0; }
  .hero-float { position: static; margin: 10px 8px 12px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .photo-tile img, .how-card img { height: 170px; }
  .split .secure-list { grid-template-columns: 1fr; }
}
