/* Site vitrine Vault — thème clair. */

:root {
  --ink: #17161f;
  --ink-2: #4b4857;
  --ink-3: #6f6b7c;
  --bg: #fbfbfd;
  --surface: #ffffff;
  --accent: #5b46d6;
  --accent-strong: #4a37bd;
  --accent-ink: #3a2b96;
  --accent-soft: #f2effe;
  --band: linear-gradient(180deg, #f6f3ff 0%, #fbfaff 100%);
  --line: rgba(23, 22, 31, 0.09);
  --line-soft: rgba(23, 22, 31, 0.055);
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-shot: 0 1px 2px rgba(23, 22, 31, 0.06), 0 32px 64px -32px rgba(23, 22, 31, 0.32);
  --shadow-card: 0 1px 2px rgba(23, 22, 31, 0.05), 0 16px 32px -24px rgba(23, 22, 31, 0.28);
  --font:
    'Segoe UI Variable Display', 'Segoe UI', -apple-system, BlinkMacSystemFont, Inter, Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  /* Les captures débordent volontairement : on rogne au bord de la fenêtre sans
     jamais créer de barre de défilement horizontale. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv05';
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 640;
  letter-spacing: -0.028em;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--surface);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__inner {
  max-width: 1140px;
  margin-inline: auto;
  padding: 0.65rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo img {
  width: 104px;
  height: auto;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-inline-start: auto;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.nav__links a {
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9688rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.btn--sm {
  min-height: 40px;
  padding: 0 1.1rem;
  font-size: 0.9063rem;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(58, 43, 150, 0.28),
    0 12px 24px -14px rgba(91, 70, 214, 0.85);
}

.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(58, 43, 150, 0.3),
    0 18px 32px -16px rgba(91, 70, 214, 0.9);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(23, 22, 31, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(23, 22, 31, 0.18);
  transform: translateY(-1px);
}

.btn--invert {
  background: #fff;
  color: var(--ink);
}

.btn--invert:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -18px rgba(0, 0, 0, 0.6);
}

.btn--outline-invert {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.24);
  cursor: default;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  max-width: 1140px;
  margin-inline: auto;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.hero__glow {
  position: absolute;
  inset: -6rem -20% auto;
  height: 34rem;
  background:
    radial-gradient(46% 46% at 50% 22%, rgba(91, 70, 214, 0.16), transparent 72%),
    radial-gradient(34% 34% at 68% 8%, rgba(189, 134, 242, 0.16), transparent 70%);
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1.25rem;
  padding: 0.3rem 0.75rem 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 520;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 70, 214, 0.16);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.35rem);
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-inline: auto;
}

.hero h1 .accent {
  color: var(--accent);
  background: linear-gradient(96deg, #5b46d6 0%, #8a5ce0 52%, #b46fd0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 60ch;
  margin: 1.4rem auto 0;
  font-size: clamp(1.0313rem, 1.6vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.8438rem;
  color: var(--ink-3);
}

.shot {
  margin: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-shot);
  overflow: hidden;
}

.shot img {
  width: 100%;
}

.shot--hero {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-radius: var(--radius-lg);
}

/* ---------- Bandeau de points clés ---------- */

.strip {
  border-block: 1px solid var(--line-soft);
  background: var(--surface);
}

.strip ul {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.25rem;
  font-size: 0.9063rem;
  color: var(--ink-2);
}

.strip li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.strip li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

/* ---------- Sections ---------- */

.section {
  max-width: 1140px;
  margin-inline: auto;
  padding: clamp(3.25rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section__head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  margin-top: 0.75rem;
}

.section__lede {
  margin-top: 1rem;
  color: var(--ink-2);
  max-width: 52ch;
  text-wrap: pretty;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.9rem;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 22, 31, 0.14);
  box-shadow: var(--shadow-card);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 1.15rem;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.0938rem;
  letter-spacing: -0.015em;
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.9688rem;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Sections en pleine largeur ---------- */

/**
 * Le texte occupe la colonne de lecture, ancrée au bord ; la capture garde une
 * largeur fixe et déborde jusqu'au bord de la fenêtre (rognée par `overflow-x`),
 * donc elle ne change plus de taille quand on redimensionne la fenêtre.
 */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 31rem) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3.25rem, 6vw, 5rem);
  padding-inline-start: clamp(1.5rem, 6vw, 5rem);
}

.showcase__text {
  min-width: 0;
}

.showcase__media {
  min-width: 0;
}

.showcase--right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 31rem);
  padding-inline-start: 0;
  padding-inline-end: clamp(1.5rem, 6vw, 5rem);
}

.showcase--right .showcase__text {
  grid-column: 2;
}

.showcase--right .showcase__media {
  grid-column: 1;
  justify-self: end;
}

.showcase__media .shot {
  width: 900px;
  max-width: none;
}

.showcase h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  margin-top: 0.75rem;
}

.showcase__text > p:not(.eyebrow) {
  margin-top: 1.15rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.shot--bleed {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-inline-end: 0;
  box-shadow: -18px 26px 60px -34px rgba(23, 22, 31, 0.42);
}

.showcase--right .shot--bleed {
  border-start-end-radius: var(--radius-md);
  border-end-end-radius: var(--radius-md);
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-inline-end: 1px solid var(--line);
  border-inline-start: 0;
  box-shadow: 18px 26px 60px -34px rgba(23, 22, 31, 0.42);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.7rem;
  font-size: 0.9688rem;
  color: var(--ink-2);
}

.ticks li {
  position: relative;
  padding-left: 1.75rem;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--accent-soft);
}

.ticks li::after {
  content: '';
  position: absolute;
  left: 0.31rem;
  top: 0.62em;
  width: 0.42rem;
  height: 0.24rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Bande mobile ---------- */

.band {
  max-width: none;
  background: var(--band);
  border-block: 1px solid var(--line-soft);
}

.band__inner {
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 5.5rem);
}

.phone {
  width: clamp(230px, 26vw, 288px);
  margin-inline: auto;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(170deg, #2a2735, #17161f 45%, #0f0e16);
  box-shadow:
    0 2px 4px rgba(23, 22, 31, 0.24),
    0 40px 60px -30px rgba(23, 22, 31, 0.5);
}

.phone img {
  border-radius: 34px;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

/* ---------- Confidentialité ---------- */

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem 1.5rem;
}

.mini h3 {
  font-size: 0.9688rem;
  letter-spacing: -0.01em;
}

.mini p {
  margin-top: 0.45rem;
  font-size: 0.9063rem;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Téléchargement ---------- */

.download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(180, 111, 208, 0.5), transparent 58%),
    radial-gradient(90% 120% at 0% 100%, rgba(68, 29, 116, 0.55), transparent 60%), #1c1a29;
  color: #fff;
  box-shadow: 0 30px 60px -34px rgba(23, 22, 31, 0.6);
}

.download h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.download > div:first-child {
  flex: 1 1 24rem;
}

.download p {
  margin-top: 0.85rem;
  max-width: 46ch;
  font-size: 0.9688rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Pied de page ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}

.footer__inner {
  max-width: 1140px;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 2rem;
}

.footer__brand img {
  width: 96px;
}

.footer__brand p {
  margin-top: 0.85rem;
  font-size: 0.9063rem;
  color: var(--ink-3);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer__cols h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.85rem;
}

.footer__cols a {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 0.22rem;
}

.footer__cols a:hover {
  color: var(--ink);
}

.footer__legal {
  max-width: 1140px;
  margin-inline: auto;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8438rem;
  color: var(--ink-3);
}

/* ---------- Adaptations ---------- */

@media (max-width: 1240px) {
  .showcase,
  .showcase--right {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.75rem;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  }

  .showcase__text,
  .showcase__media,
  .showcase--right .showcase__text,
  .showcase--right .showcase__media {
    grid-column: 1;
    justify-self: stretch;
  }

  /* En colonne unique, le texte passe avant l'image pour éviter deux captures
     consécutives entre la fin d'une section et le début de la suivante. */
  .showcase--right .showcase__text {
    order: -1;
  }

  .showcase__media .shot {
    width: 100%;
    max-width: 100%;
  }

  .shot--bleed,
  .showcase--right .shot--bleed {
    border-radius: var(--radius-md);
    border-inline: 1px solid var(--line);
    box-shadow: var(--shadow-shot);
  }
}

@media (max-width: 960px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav__links {
    display: none;
  }

  .nav__inner {
    justify-content: space-between;
    gap: 1rem;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .band__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .download {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .grid4 {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }

  .hero__actions .btn,
  .download__actions .btn {
    width: 100%;
  }

  .hero__actions,
  .download__actions {
    width: 100%;
  }

  .strip ul {
    justify-content: flex-start;
    gap: 0.5rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
