/* ============================================================
   Vitri — Landing page
   Mobile-first. Breakpoints: 640px (tablet), 1024px (desktop).
   ============================================================ */

:root {
  --c-ink: #11111a;
  --c-ink-soft: #2b2b3a;
  --c-muted: #6a6a7d;
  --c-line: #e8e8ee;
  --c-line-soft: #f0f0f5;
  --c-bg: #ffffff;
  --c-bg-alt: #fafafd;
  --c-bg-dark: #11111a;

  --grad-brand: linear-gradient(120deg, #7c3aed 0%, #2563eb 35%, #14b8a6 70%, #22c55e 100%);
  --grad-brand-soft: linear-gradient(135deg, #faf5ff 0%, #f0f9ff 50%, #ecfdf5 100%);

  --c-primary: #7c3aed;
  --c-primary-hover: #6d28d9;
  --c-accent: #14b8a6;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(17, 17, 26, 0.04), 0 2px 6px rgba(17, 17, 26, 0.04);
  --shadow-md: 0 4px 14px rgba(17, 17, 26, 0.06), 0 8px 24px rgba(17, 17, 26, 0.04);
  --shadow-lg: 0 12px 32px rgba(17, 17, 26, 0.08), 0 20px 60px rgba(17, 17, 26, 0.06);

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip; /* contains the off-canvas mobile drawer without breaking sticky header */
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: clip; /* contains the off-canvas mobile drawer (fixed) without breaking sticky header */
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--c-primary-hover); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  color: var(--c-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 6.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); font-weight: 600; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 7px;
  background: var(--c-line-soft);
  border-radius: 5px;
  color: var(--c-ink-soft);
}

::selection {
  background: rgba(124, 58, 237, 0.18);
  color: var(--c-ink);
}

/* ============================================================
   Layout helpers
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(56px, 10vw, 96px) 0;
}

.section__kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  min-height: 48px;  /* iOS tap target */
}

.btn--primary {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}
.btn--primary:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn--ghost:hover {
  border-color: var(--c-ink);
  background: var(--c-bg-alt);
  color: var(--c-ink);
}

.btn--block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-line);
}
/* Frosted background on a pseudo-element so the header itself does NOT become
   a containing block for the fixed mobile drawer (backdrop-filter would do that). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 32px; width: auto; }

.nav a {
  color: var(--c-ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--c-ink); }
.nav__cta {
  background: var(--c-ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.nav__cta:hover {
  background: var(--c-primary);
  color: #fff !important;
}

/* Hamburger button (mobile only) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-right: -8px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  z-index: 60;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: min(82vw, 320px);
  height: 100dvh;
  padding: 88px 22px 28px;
  background: #fff;
  border-left: 1px solid var(--c-line);
  box-shadow: -16px 0 48px rgba(17, 17, 26, 0.16);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
body.nav-open .nav { transform: translateX(0); }
.nav a {
  padding: 14px 12px;
  border-radius: var(--radius-md);
  font-size: 1.02rem;
}
.nav a:hover { background: var(--c-bg-alt); }
.nav__cta {
  margin-top: 12px;
  text-align: center;
  padding: 14px 18px;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(17, 17, 26, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  animation: navFade 0.25s ease forwards;
}
@keyframes navFade { to { opacity: 1; } }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-backdrop { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
    height: auto;
    padding: 0;
    gap: 28px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }
  .nav a { padding: 0; font-size: 0.95rem; }
  .nav a:hover { background: transparent; }
  .nav__cta { margin-top: 0; padding: 10px 18px; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(60px, 12vw, 120px) 0 clamp(60px, 12vw, 100px);
  background: var(--grad-brand-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.10), transparent 50%);
  pointer-events: none;
}

.hero > .container { position: relative; }

.hero__kicker {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(17, 17, 26, 0.08);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 20px;
}

.hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: var(--c-ink-soft);
  max-width: 50ch;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__price {
  font-size: 0.95rem;
  color: var(--c-muted);
}
.hero__price strong { color: var(--c-ink); font-weight: 600; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}

/* Trust bar under hero CTAs */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 24px;
}
.hero__trust li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-ink-soft);
}
.hero__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Hero product visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}
.hero__phone {
  width: min(248px, 64vw);
  padding: 10px;
  border-radius: 32px;
  background: var(--c-ink);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}
.hero__phone video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  background: var(--c-ink);
}
.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 26, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-ink);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.hero__chip--top { top: 6%; left: -2%; }
.hero__chip--bottom { bottom: 8%; right: -2%; }
.hero__chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
}
.hero__chip-check {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
}

@media (max-width: 559px) {
  .hero__chip { font-size: 0.74rem; padding: 7px 11px; }
  .hero__chip--top { left: 0; }
  .hero__chip--bottom { right: 0; }
}

@media (min-width: 980px) {
  .hero { padding: clamp(56px, 7vw, 84px) 0 clamp(56px, 7vw, 84px); }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero__content { max-width: 36rem; }
  .hero h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); max-width: 19ch; margin-bottom: 18px; }
  .hero__lead { margin-bottom: 26px; }
  .hero__phone { width: min(290px, 28vw); transform: rotate(-4deg); }
  .hero__visual { min-height: 440px; }
}

/* ============================================================
   Pour qui
   ============================================================ */

.pourqui { background: var(--c-bg); }
.pourqui h2 { max-width: 24ch; margin-bottom: 40px; }

.pourqui__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.pourqui__grid li {
  padding: 24px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.pourqui__grid strong {
  color: var(--c-ink);
  font-weight: 600;
}

@media (min-width: 640px) {
  .pourqui__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ============================================================
   Offre cards
   ============================================================ */

.offre { background: var(--c-bg-alt); }
.offre h2 { max-width: 22ch; margin-bottom: 40px; }

.offre__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.offre__card {
  padding: 28px 24px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.offre__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.15);
}
.offre__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(124, 58, 237, 0.12);
  color: var(--c-primary);
}
.offre__icon svg { width: 24px; height: 24px; }
.offre__card:hover .offre__icon { color: var(--c-accent); }
.offre__card h3 { margin-bottom: 8px; }
.offre__card p {
  color: var(--c-muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .offre__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1024px) {
  .offre__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}


/* ============================================================
   Demo proof
   ============================================================ */

.demo-proof {
  background: linear-gradient(180deg, #ffffff 0%, #fafafd 100%);
}
.demo-proof h2 { max-width: 26ch; margin-bottom: 18px; }
.demo-proof__lead {
  max-width: 68ch;
  color: var(--c-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.demo-proof__layout {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr;
}
.demo-proof__media {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 10px;
  background: var(--c-ink);
  box-shadow: var(--shadow-lg);
}
.demo-proof__media img,
.demo-proof__media video {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.demo-proof__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.proof-steps {
  display: grid;
  gap: 14px;
}
.proof-steps li {
  position: relative;
  padding: 20px 20px 20px 74px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  color: var(--c-muted);
  box-shadow: var(--shadow-sm);
}
.proof-steps span {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}
.proof-steps strong { color: var(--c-ink); }
.proof-gallery {
  margin-top: 34px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.proof-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.proof-gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.proof-gallery figcaption {
  padding: 10px 12px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-ink-soft);
}

.demo-clips {
  margin-top: 34px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.demo-clip {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.demo-clip__media {
  position: relative;
  width: 112px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 16px;
  cursor: zoom-in;
  overflow: hidden;
  line-height: 0;
}
.demo-clip video {
  width: 112px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  object-fit: cover;
  background: var(--c-ink);
  display: block;
  transition: transform 0.22s ease, filter 0.22s ease;
}
.demo-clip__media:hover video,
.demo-clip__media:focus-visible video {
  transform: scale(1.035);
  filter: brightness(0.78);
}
.demo-clip__media:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.45);
  outline-offset: 3px;
}
.demo-clip__zoom {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(17, 17, 26, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(8px);
}
.demo-clip__media:hover .demo-clip__zoom,
.demo-clip__media:focus-visible .demo-clip__zoom {
  opacity: 1;
  transform: translateY(0);
}
.demo-clip h3 { margin-bottom: 6px; font-size: 1rem; }
.demo-clip p { margin: 0; color: var(--c-muted); font-size: 0.9rem; }
.demo-clip__tag {
  display: inline-block;
  margin-bottom: 8px !important;
  color: var(--c-primary) !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (min-width: 720px) {
  .demo-clips { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .demo-clips { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
  .demo-clip { grid-template-columns: 92px 1fr; }
  .demo-clip__media,
  .demo-clip video { width: 92px; }
  .demo-clip__zoom { font-size: 0.62rem; left: 6px; right: 6px; }
}
@media (min-width: 820px) {
  .demo-proof__layout { grid-template-columns: 0.8fr 1.2fr; gap: 52px; }
  .proof-gallery { grid-template-columns: repeat(4, 1fr); }
}

.video-solution {
  background: linear-gradient(180deg, #fafafd 0%, #ffffff 100%);
}
.video-solution h2 { max-width: 30ch; }
.video-solution__media {
  background: linear-gradient(145deg, #11111a 0%, #241338 100%);
}
@media (min-width: 820px) {
  .video-solution__layout { grid-template-columns: 0.75fr 1.25fr; }
}

.modal-open { overflow: hidden; }
/* Robust scroll lock: pin the body in place while the drawer is open.
   `position: fixed` works reliably across mobile browsers (iOS Safari included),
   unlike `overflow: hidden` which the documentElement ignores here. */
body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 40px);
}
.video-modal.is-open { display: flex; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 26, 0.72);
  backdrop-filter: blur(14px);
}
.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: calc(100vh - 36px);
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: auto;
}
.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  color: var(--c-ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.video-modal__close:hover,
.video-modal__close:focus-visible {
  border-color: var(--c-primary);
  color: var(--c-primary);
  outline: none;
}
.video-modal__kicker {
  margin: 0 54px 6px 0;
  color: var(--c-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.video-modal h2 {
  margin: 0 54px 16px 0;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
}
.video-modal__video {
  display: block;
  width: min(100%, 360px);
  max-height: min(72vh, 720px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  background: var(--c-ink);
  object-fit: contain;
}

/* ============================================================
   Pricing
   ============================================================ */

.tarif { background: var(--c-bg); }
.tarif h2 { max-width: 24ch; margin-bottom: 40px; }

.pricing {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

.pricing__card {
  padding: 32px 28px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}

.pricing__card--featured {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
  position: relative;
}
.pricing__card--featured .pricing__tag { color: rgba(255, 255, 255, 0.7); }
.pricing__card--featured .pricing__amount { color: #fff; }
.pricing__card--featured .pricing__unit { color: rgba(255, 255, 255, 0.65); }
.pricing__card--featured .pricing__list li { color: rgba(255, 255, 255, 0.92); border-color: rgba(255, 255, 255, 0.1); }
.pricing__card--featured .pricing__list li::before { color: var(--c-accent); }

.pricing__card--featured .btn--primary {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}
.pricing__card--featured .btn--primary:hover {
  background: var(--c-accent);
  color: var(--c-ink);
  border-color: var(--c-accent);
}

.pricing__tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 16px;
}

.pricing__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.pricing__amount { font-size: clamp(2.2rem, 7vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; color: var(--c-ink); }
.pricing__unit { color: var(--c-muted); font-size: 0.95rem; font-weight: 500; }

.pricing__savings {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing__list { margin: 20px 0 28px; }
.pricing__list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.95rem;
  color: var(--c-ink-soft);
  border-top: 1px solid var(--c-line);
}
.pricing__list li:first-child { border-top: none; }
.pricing__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--c-primary);
  font-weight: 700;
}

.pricing__card .btn { margin-top: auto; }

.tarif__addon {
  text-align: center;
  color: var(--c-muted);
  font-size: 0.95rem;
  padding: 20px 24px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--c-line);
}
.tarif__addon strong { color: var(--c-ink); font-weight: 600; }

@media (min-width: 640px) {
  .pricing { grid-template-columns: 1.05fr 1fr; gap: 24px; }
  .pricing--three { grid-template-columns: 1fr; }
}
@media (min-width: 980px) {
  .pricing--three { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Comment ça marche (steps)
   ============================================================ */

.comment { background: var(--c-bg-alt); }
.comment h2 { margin-bottom: 48px; }

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 28px 24px;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.steps li h3 { margin-bottom: 8px; }
.steps li p { color: var(--c-muted); margin-bottom: 0; }

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ============================================================
   Exemples
   ============================================================ */

.exemples { background: var(--c-bg); }
.exemples h2 { max-width: 24ch; }
.exemples__lead {
  color: var(--c-muted);
  max-width: 60ch;
  margin-bottom: 40px;
  font-size: 1rem;
}

.exemples__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.exemples__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-bg-alt);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.exemples__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.25);
}
.exemples__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.exemples__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.exemples__card:hover .exemples__media img { transform: scale(1.03); }
.exemples__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 24px;
}
.exemples__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.exemples__card h3 { margin-bottom: 4px; }
.exemples__card p {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.55;
  flex: 1;
}
.exemples__type {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.exemples__link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--c-primary);
  font-size: 0.95rem;
  margin-top: auto;
}
.exemples__card:hover .exemples__link { color: var(--c-primary-hover); }
.exemples__card--placeholder {
  background: var(--c-bg);
  border-style: dashed;
}
.exemples__card--placeholder:hover {
  border-color: var(--c-primary);
}

@media (min-width: 640px) {
  .exemples__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .exemples__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ============================================================
   FAQ
   ============================================================ */

.faq { background: var(--c-bg-alt); }
.faq h2 { margin-bottom: 36px; }

.faq__list {
  max-width: 800px;
}
.faq__list details {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq__list details[open] { border-color: rgba(124, 58, 237, 0.25); }

.faq__list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px 18px 22px;
  font-weight: 600;
  color: var(--c-ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.4;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--c-muted);
  transition: transform 0.2s ease;
  margin-top: 2px;
}
.faq__list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--c-primary);
}

.faq__list p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--c-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.faq__list p a { color: var(--c-primary); text-decoration: underline; }

/* ============================================================
   Contact
   ============================================================ */

.contact { background: var(--c-ink); color: #fff; }
.contact .section__kicker { color: rgba(255, 255, 255, 0.6); }
.contact h2 { color: #fff; max-width: 18ch; }
.contact__lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin-bottom: 36px;
  font-size: 1.02rem;
}

.contact__channels {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 700px;
}
.contact__channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: #fff !important;
  transition: all 0.22s ease;
}
.contact__channel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(20, 184, 166, 0.45);
  transform: translateY(-2px);
}
.contact__channel-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.contact__channel strong {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact__channel-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
  .contact__channels { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: #0c0c14;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 96px; /* extra bottom space for the mobile sticky CTA */
  font-size: 0.92rem;
}
@media (min-width: 860px) {
  .site-footer { padding-bottom: 24px; }
}

.site-footer__inner {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}

.site-footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1) opacity(0.92);
}
.site-footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  max-width: 32ch;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__nav strong {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.site-footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.site-footer__nav a:hover { color: #fff; }

.site-footer__legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}
.site-footer__legal p { margin: 0; }

@media (min-width: 640px) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}

/* ============================================================
   Mobile sticky CTA
   ============================================================ */

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--c-ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(17, 17, 26, 0.28);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-cta:active { transform: scale(0.99); }
body.nav-open .mobile-cta { opacity: 0; pointer-events: none; }

@media (min-width: 860px) {
  .mobile-cta { display: none; }
}

/* ============================================================
   Accessibility & reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline-offset: 4px;
}
