/* =========================
   VELYQO Landing — White Premium (mobile-first)
   - Cohérent avec l'app (blanc + bleu gradient)
   - Doré en accent (badge / détails)
   - QR bien contenu + caché sur mobile
   ========================= */

/* ─────────────────────────
   Tokens
   ───────────────────────── */
:root{
  /* Layout */
  --container: 1120px;
  --radius: 18px;
  --radius2: 24px;

  /* Surfaces */
  --bg: #f6f7fb;
  --surface: rgba(255,255,255,.92);
  --surface-solid: #ffffff;
  --surface-2: rgba(15,23,42,.02);

  /* Text */
  --text: #0f172a;
  --muted: rgba(15,23,42,.72);
  --muted2: rgba(15,23,42,.55);

  /* Borders / shadows */
  --border: rgba(15,23,42,.10);
  --border-strong: rgba(15,23,42,.14);
  --shadow: 0 18px 60px rgba(15,23,42,.10);
  --shadow-soft: 0 10px 26px rgba(15,23,42,.08);

  /* Brand */
  --brand: #2563eb;     /* bleu app */
  --brand-2: #60a5fa;   /* bleu clair */
  --gold: #c8a24a;      /* doré accent */
  --gold-2: #e7cf86;

  /* States */
  --danger: #e11d48;

  /* Focus */
  --focus: rgba(37,99,235,.35);
}

/* ─────────────────────────
   Base
   ───────────────────────── */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  line-height: 1.55;

  background:
    radial-gradient(900px 450px at 15% 0%, rgba(200,162,74,.12), transparent 60%),
    radial-gradient(900px 450px at 85% 0%, rgba(37,99,235,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }
p{ margin:0 0 12px; }
h1,h2,h3,h4{ margin:0 0 12px; letter-spacing:-.02em; }
h1{ font-size: clamp(34px, 4vw, 54px); line-height:1.05; }
h2{ font-size: clamp(26px, 2.8vw, 36px); line-height:1.15; }
h3{ font-size: 18px; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ─────────────────────────
   Top banner
   ───────────────────────── */
.top-banner{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.banner-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.badge-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(200,162,74,.16);
  border: 1px solid rgba(200,162,74,.30);
  font-weight: 950;
  font-size: 12px;
  white-space:nowrap;
  color: #6b4f12;
}
.top-banner p{
  margin:0;
  font-size: 13px;
  color: var(--muted);
}
.banner-link{
  font-weight: 950;
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,.03);
  color: var(--text);
}
.banner-link:hover{
  background: rgba(15,23,42,.06);
  text-decoration:none;
}

@media (max-width: 640px){
  .top-banner p{ display:none; }
}

/* ─────────────────────────
   Header
   ───────────────────────── */
.site-header{
  position: sticky;
  top: 46px;
  z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 950;
  letter-spacing:.02em;
}
.brand-logo{
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: contain;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(200,162,74,.20);
  box-shadow: 0 8px 18px rgba(200,162,74,.10);
}
.brand-name{ font-size: 14px; }

.header-links{
  display:flex;
  align-items:center;
  gap: 14px;
}
.header-links .link{
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 900;
}
.header-links .link:hover{
  color: var(--text);
  background: rgba(15,23,42,.04);
  text-decoration:none;
}

.header-cta{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* ─────────────────────────
   Buttons (CTA bleu comme l'app)
   ───────────────────────── */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 950;
  font-size: 14px;
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, background .12s ease, filter .12s ease;
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
.btn:active{ transform: translateY(1px); }

.btn.primary{
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 16px 34px rgba(37,99,235,.20);
}
.btn.primary:hover{ filter: brightness(1.03); text-decoration:none; }

.btn.ghost{
  background: rgba(255,255,255,.70);
}
.btn.ghost:hover{
  background: rgba(255,255,255,1);
  text-decoration:none;
}

/* ─────────────────────────
   Hero
   ───────────────────────── */
.hero{ padding: 44px 0 24px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items:start;
}

.hero-grid{
  grid-template-columns: 1fr 1.05fr;
}

.lead{
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  margin: 18px 0 14px;
  flex-wrap:wrap;
}

.hero-grid{
  align-items: start;
}

.hero-media{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.hero-copy{
  max-width:560px;
}

.trust-row{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin: 10px 0 0;
}
.trust-item{
  font-size: 13px;
  color: rgba(15,23,42,.75);
  background: rgba(255,255,255,.90);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
}

.micro-commit{
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.micro-title{ font-weight: 950; margin-bottom: 8px; }
.micro-list{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
}
.micro-list li{ margin: 6px 0; }

/* Media */
.hero-media{ position:relative; }

.hero-image{
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface-solid);
}

/* QR card (fix overflow + image bien centrée) */
.qr-card{
  margin-top: 50px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items:center;
  padding: 14px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.qr-card h3{ margin:0 0 6px; font-weight: 950; }
.qr-card p{ color: var(--muted); margin:0 0 10px; }

.qr-mini{
  color: var(--muted2);
  font-size: 13px;
  display:flex;
  align-items:center;
  gap: 8px;
  margin: 6px 0;
}



.qr-card{
  padding:12px;
}
.qr-image{
  width:100px;
  height:100px;
}

.dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(15,23,42,.35);
}
.mini-link{
  display:inline-block;
  margin-top: 8px;
  font-weight: 950;
  color: rgba(15,23,42,.90);
}
.mini-link:hover{ text-decoration: underline; }

.qr-image{
  width: 120px;
  height: 120px;
  max-width: none;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px;
  justify-self: end;
  align-self: center;
}

/* ─────────────────────────
   Social proof
   ───────────────────────── */
.social-proof{ padding: 18px 0 10px; }

.proof-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.proof-item{
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.proof-title{ font-weight: 950; }
.proof-sub{ color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ─────────────────────────
   Sections
   ───────────────────────── */
.section{ padding: 54px 0; }

.section.alt{
  background: var(--surface-2);
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.section-head{
  max-width: 720px;
  margin: 0 auto 22px;
  text-align:center;
}
.section-head p{ color: var(--muted); }

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  padding: 16px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.card p{ color: var(--muted); }

.unity{ margin-top: 18px; }
.unity-card{
  padding: 16px;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(200,162,74,.14), rgba(37,99,235,.06));
  border: 1px solid rgba(200,162,74,.22);
  box-shadow: var(--shadow-soft);
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{
  display:flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.step-num{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color:#0f172a;
  background: rgba(200,162,74,.18);
  border: 1px solid rgba(200,162,74,.30);
}
.step-body p{ color: var(--muted); }

.center-cta{
  margin-top: 18px;
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap:wrap;
}

/* Reciprocity */
.recipro-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.fineprint{ color: var(--muted2); font-size: 12px; }
.center{ text-align:center; }

.risk{
  display:grid;
  gap: 8px;
  margin-top: 12px;
}
.risk-item{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.02);
  border: 1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.75);
  font-weight: 800;
}

/* Testimonials */
.testimonials{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.t-card{
  padding: 16px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.t-card blockquote{
  margin:0 0 10px;
  color: rgba(15,23,42,.92);
  font-weight: 950;
}
.t-card figcaption{
  color: var(--muted);
  font-size: 13px;
}

/* Comparison table */
.table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.comparison-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.comparison-table th,
.comparison-table td{
  padding: 14px 12px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  text-align:left;
}
.comparison-table thead th{
  color: rgba(15,23,42,.92);
  background: rgba(15,23,42,.02);
  font-weight: 950;
}

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.price-card{
  position:relative;
  padding: 18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.price-card .badge{
  position:absolute;
  top: 14px; right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  color:#6b4f12;
  background: rgba(200,162,74,.16);
  border: 1px solid rgba(200,162,74,.30);
}
.price{
  display:flex;
  align-items:baseline;
  gap: 10px;
  margin: 10px 0 12px;
}
.price-now{ font-size: 34px; font-weight: 950; letter-spacing:-.03em; }
.price-old{ color: var(--muted2); text-decoration: line-through; font-weight: 900; }
.price-sub{ color: var(--muted); font-weight: 800; }
.price-list{
  margin: 10px 0 14px;
  padding-left: 18px;
  color: var(--muted);
}

/* FAQ */
.faq{
  max-width: 860px;
  margin: 0 auto;
  display:grid;
  gap: 12px;
}
details{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
}
summary{
  cursor:pointer;
  list-style:none;
  font-weight: 950;
}
summary::-webkit-details-marker{ display:none; }
details p{ color: var(--muted); margin: 10px 0 0; }

/* Final CTA */
.final-cta{ padding: 54px 0 70px; }

.final-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(200,162,74,.12));
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow-soft);
}
.final-inner p{ color: var(--muted); }
.final-actions{ display:flex; gap: 10px; flex-wrap:wrap; }

/* Footer */
.site-footer{
  border-top: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.65);
}
.footer-grid{
  padding: 34px 0 18px;
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 14px;
}
.footer-grid h4{ margin: 0 0 10px; }
.footer-grid a{
  display:block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.footer-grid a:hover{ color: var(--text); }
.footer-bottom{
  padding: 14px 0 22px;
  border-top: 1px solid rgba(15,23,42,.08);
}

/* Utilities */
.muted{ color: var(--muted); }

/* ─────────────────────────
   Responsive
   ───────────────────────── */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .proof-row{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .recipro-grid{ grid-template-columns: 1fr; }
  .testimonials{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .header-links{ display:none; }
}

@media (max-width: 520px){
  .final-inner{ flex-direction: column; align-items:flex-start; }
}

/* QR: caché sur mobile */
@media (max-width: 820px){
  .qr-image{ display:none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
}

/* ─────────────────────────
   Hero add-ons: Temps requis + preuves
   ───────────────────────── */

/* Carte "Temps requis" */
.time-card{
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.time-card{
  padding: 12px;
  font-size: 14px;
}
.time-list li{
  margin: 6px 0;
}

.time-list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.time-list li{
  margin: 8px 0;
}
.time-list strong{
  color: rgba(15,23,42,.92);
}

/* Bloc "preuves utilisateurs" (dans le hero) */
.proof-quotes{
  margin-top: 14px;
}

.proof-quotes .quotes{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Les t-card existent déjà, on garde ton style */

/* Responsive pour preuves dans le hero */
@media (max-width: 980px){
  .proof-quotes .quotes{
    grid-template-columns: 1fr;
  }
}
.proof-quotes .t-card blockquote{
  font-weight: 900; /* un cran en dessous */
  font-size: 14px;
  line-height: 1.45;
}

/* ─────────────────────────
   Hero add-ons: preuves utilisateurs
   ───────────────────────── */
.proof-quotes{ margin-top: 14px; }

.proof-quotes .quotes{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* version hero un peu plus compacte */
.proof-quotes .t-card{
  padding: 14px;
}
.proof-quotes .t-card blockquote{
  font-weight: 900;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 980px){
  .proof-quotes .quotes{ grid-template-columns: 1fr; }
}
/* Screens */
.shots-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items:start;
}

.shot{
  margin:0;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  overflow:hidden;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}

.shot img{
  width:100%;
  height:auto;
  display:block;
  background: var(--surface-solid);
}

.shot figcaption{
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(15,23,42,.06);
}
.shot{
  transition: transform .15s ease, box-shadow .15s ease;
}
.shot:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@media (max-width: 900px){
  .shots-grid{ grid-template-columns:1fr; }
}
.method-shot{
  margin-top:18px;
  display:flex;
  justify-content:center;
}

.method-shot .shot{
  width: min(860px, 100%);
}

/* Fix spacing screens */
#screens.section{ padding: 40px 0; }
