/* ═══════════════════════════════════════════════════════════════
   Nout Péi — Partenaires Landing Page
   Stack : HTML / CSS / Vanilla JS
   Fonts : Fraunces (display) + Sora (body)
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ───────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,600&family=Sora:wght@400;500;600;700&display=swap');

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  --ivory:        #F6EFE4;
  --ivory-dark:   #EDE5D8;
  --white:        #FFFFFF;
  --ink:          #1C1917;
  --ink-soft:     #44403C;
  --muted:        #78716C;
  --border:       rgba(0,0,0,0.07);
  --border-mid:   rgba(0,0,0,0.11);
  --red:          #D63B2C;
  --red-dark:     #B02D20;
  --red-tint:     rgba(214,59,44,0.08);
  --blue:         #2563EB;
  --blue-dark:    #1D4ED8;
  --blue-tint:    #EFF6FF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Sora', system-ui, -apple-system, sans-serif;

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.1),  0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-iphone: 0 0 0 1px rgba(255,255,255,0.06), 0 32px 80px rgba(0,0,0,0.45), 0 8px 24px rgba(0,0,0,0.2);

  --max-w: 1160px;
  --section-gap: 120px;
  --section-gap-sm: 72px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--ivory);
  background-image: radial-gradient(circle, rgba(139,115,85,0.22) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── Dot background: applied on body directly so ivory sections inherit it ── */
/* body::before was z-index:0 but .section is z-index:1 → dots were hidden.
   Now the pattern lives in body's own background-image. Ivory sections use
   transparent background so the dots show through. White sections stay opaque. */

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246,239,228,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-brand span { color: var(--red); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s, transform 0.15s;
}
.nav-links .nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); text-decoration: none; }

/* ── Section wrapper ─────────────────────────────────────────── */
.section { position: relative; z-index: 1; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section label ───────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ── Display headings ────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ink);
}
.display-xl em { font-style: italic; color: var(--red); }

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--ink);
}
.display-lg em { font-style: italic; }

.display-md {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--ink);
}

.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
}
.body-md {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, opacity 0.15s;
  cursor: pointer;
  letter-spacing: -0.1px;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(214,59,44,0.32);
}
.btn-red:hover { background: var(--red-dark); box-shadow: 0 8px 24px rgba(214,59,44,0.4); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-mid);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-white {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-left  { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   01 — HERO
   ════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;   /* fallback iOS < 16 */
  min-height: 100svh;  /* iOS 16+ : exclut le chrome du navigateur */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 0;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.08) 40%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.80) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 72px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214,59,44,0.85);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.95);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-arrow {
  width: 20px;
  animation: bounce-down 1.4s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ════════════════════════════════════════════════════════════════
   02 — APP SHOWCASE
   ════════════════════════════════════════════════════════════════ */
.app-section {
  padding: var(--section-gap) 0;
  background: var(--white);
}
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.app-text { }
.app-text .section-label { }
.app-tagline {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 20px;
  max-width: 440px;
}
.app-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.app-feature-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.app-feature-row p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.app-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Annotation callout — masquée par défaut, visible seulement au-delà du breakpoint mobile */
.app-visual-annotation {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
/* Curved arrow annotation */
.app-annotation {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0;
}
.app-annotation-text {
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  max-width: 160px;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
  position: absolute;
  right: 0;
  top: -70px;
}
.annotation-arrow {
  position: absolute;
  right: 120px;
  top: -10px;
}

/* ════════════════════════════════════════════════════════════════
   03 — MÉTIER TABS
   ════════════════════════════════════════════════════════════════ */
.metier-section {
  padding: var(--section-gap) 0;
  background: transparent;
}
.metier-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.metier-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.metier-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border-mid);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.metier-tab:hover { border-color: var(--red); color: var(--ink); }
.metier-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(214,59,44,0.28);
}
.metier-tab svg { flex-shrink: 0; }

.metier-contents { position: relative; }
.metier-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.metier-content.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}
.metier-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.metier-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.metier-photo:hover img { transform: scale(1.03); }
.metier-info { }
.metier-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.metier-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 28px;
}
.metier-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.metier-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.metier-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.metier-check svg { width: 11px; height: 11px; }
.metier-benefit p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .metier-content { transition: none; }
}

/* ════════════════════════════════════════════════════════════════
   04 — JOURNEY (ZIGZAG)
   ════════════════════════════════════════════════════════════════ */
.journey-section {
  padding: var(--section-gap) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.journey-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 80px;
}

/* SVG zigzag container */
.zigzag-svg-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: visible;
}
.zigzag-svg {
  position: absolute;
  left: 50%;
  top: 160px;
  transform: translateX(-50%);
  width: 900px;
  overflow: visible;
}

.journey-steps {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.journey-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.journey-step--reverse { direction: rtl; }
.journey-step--reverse > * { direction: ltr; }
.journey-step--center {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.step-visual { display: flex; justify-content: center; }
.step-content { }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(214,59,44,0.3);
}
.step-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.step-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 400px;
}
.step-annotation {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--blue-tint);
  border-radius: var(--r-md);
  border-left: 3px solid var(--blue);
}
.step-annotation p {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.4;
}
/* Final step center card */
.step-final-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  text-align: center;
}
.step-final-card .step-num { margin: 0 auto 20px; }
.step-final-card .step-desc { margin: 0 auto; }

/* ════════════════════════════════════════════════════════════════
   05 — BENEFITS
   ════════════════════════════════════════════════════════════════ */
.benefits-section {
  padding: var(--section-gap) 0;
  background: transparent;
}
.benefits-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: default;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-tint);
}
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.benefit-icon svg { width: 22px; height: 22px; color: var(--red); }
.benefit-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.benefit-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
/* Row 4-5 (last 2 spanning more) */
.benefits-grid .benefit-card:nth-child(4) { grid-column: span 1; }
.benefits-grid .benefit-card:nth-child(5) { grid-column: span 2; }

/* ════════════════════════════════════════════════════════════════
   06 — PROCESS (comment ça marche)
   ════════════════════════════════════════════════════════════════ */
.process-section {
  padding: var(--section-gap) 0;
  background: var(--white);
}
.process-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 72px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  background: var(--white);
}
.process-step.visible .process-step-num {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(214,59,44,0.28);
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.process-step-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════
   07 — FORM
   ════════════════════════════════════════════════════════════════ */
.form-section {
  padding: var(--section-gap) 0;
  background: transparent;
}
.form-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}
.form-left { }
.form-intro {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 400px;
}
.form-reassurances {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-reassurance-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-reassurance-icon svg { width: 16px; height: 16px; color: var(--red); }
.form-reassurance p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding-top: 8px;
}
.form-reassurance strong { color: var(--ink); font-weight: 600; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}
.form-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 32px;
}

.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field-required::after { content: ' *'; color: var(--red); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }

/* Error state */
.field input.error,
.field select.error,
.field textarea.error { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.08); }
.field-error {
  display: none;
  font-size: 12.5px;
  color: #DC2626;
  margin-top: 5px;
}
.field-error.visible { display: block; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-privacy {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 16px;
  text-align: center;
}
.form-privacy a { color: var(--blue); }

/* Submit button */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 24px;
  font-size: 15px;
  border-radius: var(--r-md);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-submit .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #F0FDF4;
  border: 2px solid #86EFAC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success-icon svg { width: 28px; height: 28px; color: #16A34A; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form-success p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

/* Form global error */
.form-global-error {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 13.5px;
  color: #DC2626;
  margin-top: 12px;
  line-height: 1.5;
}
.form-global-error.visible { display: block; }

/* ════════════════════════════════════════════════════════════════
   IPHONE MOCKUP
   ════════════════════════════════════════════════════════════════ */
.iphone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.3));
}
.iphone-wrap--float {
  animation: float-iphone 4s ease-in-out infinite;
}
@keyframes float-iphone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-wrap--float { animation: none; }
}

.iphone {
  width: 256px;
  height: 524px;
  background: #1A1A1A;
  border-radius: 44px;
  position: relative;
  box-shadow:
    0 0 0 1.5px #0A0A0A,
    0 0 0 3px #2A2A2A,
    var(--shadow-iphone);
  overflow: hidden;
  flex-shrink: 0;
}
.iphone--sm {
  width: 220px;
  height: 448px;
  border-radius: 38px;
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #0A0A0A;
  border-radius: 20px;
  z-index: 20;
}
/* Screen */
.iphone-screen {
  position: absolute;
  inset: 3px;
  border-radius: 41px;
  overflow: hidden;
  background: #F6EFE4;
}
.iphone--sm .iphone-screen { border-radius: 35px; }

/* ── Real screenshot inside iPhone frame ── */
.iphone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
}

/* ── App UI: Status bar ── */
.app-status {
  height: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 20px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #111;
  background: transparent;
  flex-shrink: 0;
}
.app-status-time { font-weight: 700; }
.app-status-icons { display: flex; gap: 5px; align-items: center; }
.app-status-icons svg { width: 14px; height: 14px; }

/* ── App UI: Explorer screen ── */
.app-explorer {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #F4F7FF;
}
.app-explorer-header {
  padding: 0 16px 12px;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.app-explorer-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F3F4F6;
  border-radius: 10px;
  padding: 8px 12px;
}
.app-search-icon { width: 13px; height: 13px; color: #9CA3AF; flex-shrink: 0; }
.app-search-text { font-size: 12px; color: #9CA3AF; }
.app-cats {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  background: #FFFFFF;
  overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
  flex-shrink: 0;
}
.app-cats::-webkit-scrollbar { display: none; }
.app-cat {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: #374151;
  background: #F3F4F6;
  white-space: nowrap;
  flex-shrink: 0;
}
.app-cat--active { background: #2563EB; color: #fff; }
.app-cards-list {
  flex: 1;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.app-card-img {
  width: 64px; height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}
.app-card-img--placeholder {
  width: 64px; height: 64px;
  flex-shrink: 0;
}
.app-card-body { padding: 8px 10px; flex: 1; min-width: 0; }
.app-card-tag {
  font-size: 9px;
  font-weight: 700;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 3px;
}
.app-card-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card-sub { font-size: 10px; color: #9CA3AF; margin-top: 1px; }
.app-tabbar {
  height: 56px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.app-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
}
.app-tab svg { width: 20px; height: 20px; color: #9CA3AF; }
.app-tab--active svg { color: #2563EB; }
.app-tab span { font-size: 9px; font-weight: 600; color: #9CA3AF; }
.app-tab--active span { color: #2563EB; }

/* ── App UI: Fiche établissement ── */
.app-fiche {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
}
.app-fiche-hero {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}
.app-fiche-back {
  position: absolute;
  top: 48px; left: 12px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-fiche-back svg { width: 14px; height: 14px; color: white; }
.app-fiche-body {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}
.app-fiche-tagrow { display: flex; gap: 6px; margin-bottom: 8px; }
.app-fiche-tag {
  font-size: 9.5px;
  font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.app-fiche-tag--red { color: #DC2626; background: #FEE2E2; }
.app-fiche-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  line-height: 1.2;
}
.app-fiche-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6B7280;
  margin-bottom: 10px;
}
.app-fiche-loc svg { width: 11px; height: 11px; flex-shrink: 0; }
.app-fiche-desc {
  font-size: 11.5px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-fiche-btn {
  width: 100%;
  padding: 9px 14px;
  background: #2563EB;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
  text-align: center;
}
.app-fiche-btn--outline {
  background: #F3F4F6;
  color: #111827;
  margin-top: 7px;
}

/* ── App UI: Accueil ── */
.app-accueil {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #F6EFE4;
}
.app-accueil-hero {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
  flex-shrink: 0;
}
.app-accueil-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.app-accueil-welcome {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 3px;
}
.app-accueil-title {
  position: relative;
  z-index: 1;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.app-accueil-sections {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.app-section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.app-section-card {
  border-radius: 12px;
  padding: 14px 12px;
  position: relative;
  overflow: hidden;
}
.app-section-card-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
.app-section-card-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.app-section-card-full {
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-section-card-full-text { }
.app-section-card-full-label {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
.app-section-card-full-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════════════════════════
   CURVED ARROW SVG ANNOTATION
   ════════════════════════════════════════════════════════════════ */
.arrow-annotation {
  position: absolute;
  pointer-events: none;
}
.annotation-bubble {
  position: absolute;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.annotation-bubble--red {
  background: var(--red);
  border-color: var(--red-dark);
  color: var(--white);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer-partenaires {
  background: var(--ink);
  padding: 56px 24px 40px;
  color: rgba(255,255,255,0.55);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand span { color: var(--red); }
.footer-tagline { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-links-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-links-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-gap: 96px; }
  .form-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-inner .form-left { max-width: 480px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid .benefit-card:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 860px) {
  .nav-links .nav-link-desktop { display: none; }
  .app-inner { grid-template-columns: 1fr; gap: 52px; }
  .app-inner .app-visual { order: -1; }
  .metier-content.active { grid-template-columns: 1fr; }
  .journey-step { grid-template-columns: 1fr; gap: 32px; }
  .journey-step--reverse { direction: ltr; }
  .process-steps { grid-template-columns: 1fr; gap: 36px; }
  .process-steps::before { display: none; }
  .process-step { text-align: left; display: flex; align-items: flex-start; gap: 20px; }
  .process-step-num { margin: 0; flex-shrink: 0; }
  .process-step-body { }
  .zigzag-svg { display: none; }
  /* Remplacer translateX par translateY sur mobile : translateX crée un débordement
     horizontal sur iOS Safari même sur des éléments sans display:none visible,
     ce qui étend la layout viewport et déclenche le scroll horizontal parasite. */
  .reveal-right { transform: translateY(28px); }
  .reveal-left  { transform: translateY(28px); }
  .reveal-right.visible,
  .reveal-left.visible  { transform: translateY(0); }
}

/* Annotation callout — activée uniquement sur grand écran (symétrique du masquage ci-dessus) */
@media (min-width: 861px) {
  .app-visual-annotation { display: flex; }
}

@media (max-width: 640px) {
  :root { --section-gap: 72px; --section-gap-sm: 52px; }
  .nav-inner { padding: 0 16px; }
  .nav-links { gap: 16px; }
  .hero-content { padding: 0 20px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .metier-tabs { gap: 6px; }
  .metier-tab { padding: 8px 14px; font-size: 13px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links-col { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .iphone { width: 220px; height: 450px; border-radius: 38px; }
  .iphone .iphone-screen { border-radius: 35px; }
  /* Contenir le mockup dans sa section — évite tout débordement résiduel */
  .app-section { overflow: hidden; }
  .app-inner { gap: 36px; }
}

/* ── 430 px — iPhones standard et Pro Max (375–430 px) ──────────
   Breakpoint absent dans la version précédente : ces écrans
   conservaient des espacements desktop et un mockup trop large.
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 430px) {
  :root { --section-gap: 64px; --section-gap-sm: 48px; }

  /* Conteneur plus serré */
  .container { padding: 0 16px; }

  /* Hero */
  .hero-content { padding: 0 16px 52px; }
  .hero-title { letter-spacing: -1px; }
  .hero-badge { font-size: 10px; letter-spacing: 2px; padding: 5px 13px; }

  /* Titres de section */
  .display-lg { font-size: clamp(26px, 7.5vw, 52px); }

  /* Nav CTA plus compact */
  .nav-links .nav-cta { padding: 7px 14px; font-size: 12px; }

  /* Mockup iPhone adapté aux petits écrans */
  .iphone { width: 210px; height: 429px; border-radius: 36px; }
  .iphone .iphone-screen { border-radius: 33px; }
  .iphone-island { width: 82px; height: 22px; }

  /* Journey — étape finale */
  .step-final-card { padding: 28px 18px; }

  /* Formulaire */
  .form-card { padding: 24px 16px; }

  /* Process steps */
  .process-step { gap: 16px; }
  .process-step-num { width: 48px; height: 48px; font-size: 19px; }

  /* Tabs métier */
  .metier-tab { padding: 7px 12px; font-size: 12.5px; }
}

@media (max-width: 400px) {
  .iphone { width: 200px; height: 410px; border-radius: 34px; }
  .iphone .iphone-screen { border-radius: 31px; }
}

/* ════════════════════════════════════════════════════════════════
   FICHE APERÇU — Onglets métier Restaurant / Hébergement / Activité
   ════════════════════════════════════════════════════════════════ */

/* Modifier de grille : texte à gauche, fiche à droite */
.metier-content--fiche {
  grid-template-columns: 1fr 360px;
  align-items: start;
}

/* Wrapper de la fiche (colonne droite) */
.metier-fiche-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Carte fiche */
.fiche-apercu {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
  width: 100%;
  max-width: 340px;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Hero image */
.fiche-apercu-hero {
  position: relative;
  height: 198px;
  overflow: hidden;
  flex-shrink: 0;
}

.fiche-apercu-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.fiche-apercu:hover .fiche-apercu-hero img {
  transform: scale(1.04);
}

.fiche-apercu-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.48) 100%);
  pointer-events: none;
}

/* Bouton retour (décoration) */
.fiche-apercu-back {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  background: rgba(0,0,0,0.38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.fiche-apercu-back svg {
  width: 13px;
  height: 13px;
  color: #FFFFFF;
}

/* Badge catégorie */
.fiche-apercu-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(214,59,44,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

/* Corps de la fiche */
.fiche-apercu-body {
  padding: 18px 20px 20px;
}

.fiche-apercu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.fiche-apercu-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  color: #2563EB;
  background: #EFF6FF;
}

.fiche-apercu-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 7px;
}

.fiche-apercu-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 12px;
}

.fiche-apercu-loc svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--red);
}

.fiche-apercu-desc {
  font-size: 12.5px;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fiche-apercu-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.fiche-apercu-chip {
  font-size: 11px;
  font-weight: 500;
  color: #44403C;
  background: #F5F5F4;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Boutons CTA (non fonctionnels — démonstration) */
.fiche-apercu-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}

.fiche-apercu-btn--ghost {
  background: #F3F4F6;
  color: #1C1917;
  margin-top: 8px;
}

/* Mention illustrative */
.fiche-apercu-label {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}

/* ── Responsive fiche aperçu ──────────────────────────────────── */
@media (max-width: 860px) {
  /* Sur mobile : retour à 1 colonne, la carte s'affiche en pleine largeur */
  .metier-content--fiche {
    grid-template-columns: 1fr;
  }
  .fiche-apercu {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .fiche-apercu-hero { height: 170px; }
  .fiche-apercu-body { padding: 14px 16px 16px; }
  .fiche-apercu-name { font-size: 17px; }
}

/* ════════════════════════════════════════════════════════════════
   REFONTE 2026-11 — démo, anatomie de fiche, tarifs, kit, FAQ
   ════════════════════════════════════════════════════════════════ */

/* Alternance des fonds */
.metier-section { background: var(--white); }
.process-section { background: transparent; }

/* ── App : chiffres + CTA ── */
.app-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
  max-width: 480px;
}
.app-stat {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 10px;
  text-align: center;
}
.app-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}
.app-stat span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.app-cta { margin-top: 32px; }
.app-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-store { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,0.85); font-size: 14px; }
.store-badge { display: inline-flex; border-radius: 9px; line-height: 0; transition: transform 0.2s ease; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.store-badge img { display: block; width: 150px; height: 44px; }
@media (max-width: 640px) { .hero-store { flex-direction: column; text-align: center; } }

/* ── Carrousel d'écrans dans l'iPhone ── */
.app-visual { flex-direction: column; gap: 22px; }
.screen-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.screen-track .iphone-screenshot { flex: 0 0 100%; min-width: 0; border-radius: 0; }
.screen-dots { display: flex; gap: 8px; justify-content: center; }
.screen-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0,0,0,0.18);
  transition: background 0.2s, width 0.2s;
}
.screen-dot.active { background: var(--red); width: 24px; border-radius: var(--r-pill); }
.screen-dot:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .screen-track { transition: none; } }

/* ── Anatomie de la fiche ── */
.anatomy-section { padding: var(--section-gap) 0; background: transparent; }
.anatomy-header { max-width: 640px; margin-bottom: 56px; }
.anatomy-header .body-lg { margin-top: 16px; }
.anatomy-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
.anatomy-mock { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.mock-phone {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.mock-hero { position: relative; height: 230px; }
.mock-hero img { width: 100%; height: 100%; object-fit: cover; }
.mock-partner-badge {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
}
.mock-partner-badge svg { width: 13px; height: 13px; color: #E8A317; }
.mock-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px 14px 0;
  position: relative;
}
.mock-gallery img, .mock-gallery-more {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}
.mock-gallery-more {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white);
  font-size: 13px; font-weight: 700;
}
.mock-gallery .mock-pin--inline { position: absolute; right: 6px; top: 2px; }
.mock-body { padding: 16px 20px 22px; }
.mock-name {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.mock-desc { font-size: 13px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 14px; }
.mock-body .fiche-apercu-chips { align-items: center; }
.mock-map {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 600; color: var(--blue);
  background: var(--blue-tint);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.mock-map svg { width: 16px; height: 16px; flex-shrink: 0; }
.mock-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mock-action {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: 12.5px; font-weight: 600;
  padding: 11px 6px;
  border-radius: 12px;
  background: #F3F4F6;
  color: var(--ink);
}
.mock-action--primary { background: var(--red); color: var(--white); }
.mock-pin {
  position: absolute;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 0;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.9), var(--shadow-md);
  flex-shrink: 0;
}
.mock-pin--inline { position: static; }
.anatomy-list { list-style: none; display: grid; gap: 22px; }
.anatomy-list li { display: flex; gap: 16px; align-items: flex-start; }
.anatomy-num {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.anatomy-list strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.anatomy-list p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ── Tarifs ── */
.pricing-section { padding: var(--section-gap) 0; background: var(--white); }
.pricing-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.pricing-header .body-lg { margin-top: 16px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  min-width: 0;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.price-icon svg { width: 22px; height: 22px; color: var(--red); }
.price-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); }
.price-for { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; min-height: 40px; }
.price-amount { margin: 22px 0 20px; display: flex; align-items: baseline; gap: 8px; }
.price-amount strong {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 700; letter-spacing: -1.5px;
  color: var(--ink); line-height: 1;
}
.price-amount span { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-list { display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.price-list li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 14px; line-height: 1.5; color: var(--ink-soft);
}
.price-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23D63B2C' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='2.5,6 5,8.5 9.5,3.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.price-cta { justify-content: center; width: 100%; }
.price-pdf {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.price-pdf:hover { color: var(--red); }
.pricing-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--muted); }
/* garde les trois cartes alignées */
.price-places--spacer { visibility: hidden; }
.pricing-places { margin-top: 14px; font-size: 15px; color: var(--ink); }
.pricing-places strong { color: var(--red); }
.price-places {
  display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--red); background: rgb(214 59 44 / 0.08);
}

/* ── Kit QR code ── */
.kit-section { padding: var(--section-gap) 0; background: var(--ink); color: var(--white); }
.kit-section .display-lg { color: var(--white); }
.kit-section .body-lg { color: rgba(255,255,255,0.78); margin-top: 18px; }
.kit-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.kit-visual { display: flex; justify-content: center; }
.kit-card {
  width: 280px;
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: rotate(-3deg);
}
.kit-card-brand { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.kit-card-brand span { color: var(--red); }
.kit-card-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; line-height: 1.1;
  margin: 14px 0 20px;
}
.kit-qr { background: var(--white); border-radius: var(--r-md); padding: 16px; width: 168px; margin: 0 auto; }
.kit-qr svg { width: 100%; height: auto; display: block; }
.kit-card-sub { font-size: 12px; line-height: 1.5; color: var(--ink-soft); margin-top: 18px; }
.kit-points { display: grid; gap: 14px; margin-top: 28px; }
.kit-points li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.88);
}
.kit-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 7px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
}

/* ── FAQ ── */
.faq-section { padding: var(--section-gap) 0; background: var(--white); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  position: relative;
  font-weight: 600; font-size: 15.5px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--red);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.faq-item p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); padding-bottom: 20px; }

/* ── Responsive refonte ── */
@media (max-width: 1024px) {
  .anatomy-inner { grid-template-columns: 340px 1fr; gap: 48px; }
  .pricing-grid { gap: 16px; }
  .price-card { padding: 28px 20px 24px; }
  .price-amount strong { font-size: 44px; }
}
@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-for { min-height: 0; }
  .anatomy-inner { grid-template-columns: 1fr; }
  .kit-inner { grid-template-columns: 1fr; gap: 56px; }
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 430px) {
  .app-stats { grid-template-columns: repeat(2, 1fr); }
  .mock-hero { height: 200px; }
  .price-card { padding: 26px 20px 22px; }
  .price-amount strong { font-size: 44px; }
  .kit-card { width: 240px; }
}

.kit-dl { margin-top: 32px; }


/* ── 02 bis — Une fiche, deux vitrines ─────────────────────────────── */
.vitrines-section { background: var(--ivory); }
.vitrines-header { max-width: 760px; }
.vitrines-header .body-lg { margin-top: 16px; }
.vitrines-header a { color: var(--red); text-underline-offset: 3px; }
.vitrines-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 24px;
  align-items: end;
  margin-top: 40px;
}
.vitrine-shot { margin: 0; min-width: 0; }
.vitrine-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(6, 24, 39, 0.22);
}
.vitrine-shot--phone img { border-radius: var(--r-xl); border: 6px solid var(--ink); }
.vitrine-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.vitrines-list {
  list-style: none;
  counter-reset: vitrine;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
}
.vitrines-list li {
  counter-increment: vitrine;
  position: relative;
  padding: 22px 22px 22px 64px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.vitrines-list li::before {
  content: counter(vitrine);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  border-radius: var(--r-pill);
  background: var(--red-tint);
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vitrines-list strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.vitrines-list span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

@media (max-width: 1024px) {
  .vitrines-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vitrines-grid { grid-template-columns: minmax(0, 1fr); }
  .vitrine-shot--phone { max-width: 280px; margin: 0 auto; }
  .vitrines-list { grid-template-columns: minmax(0, 1fr); }
}
