/* ==========================================================================
   Urbalya — feuille de style commune du site public
   Direction artistique : fond clair aux quatre coins de la marque
   (classement ambre, signalement rouge, messagerie verte, mairie bleue),
   surfaces blanches translucides, formes arrondies, pastilles et points.
   ========================================================================== */

:root {
  color-scheme: light;

  --ink: #0F172A;
  --ink-2: #1E293B;
  --text: #334155;
  --muted: #64748B;
  --subtle: #94A3B8;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);

  --page: #FDFDFD;
  --surface: #FFFFFF;
  --surface-soft: #F8FAFC;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.85);

  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --blue-700: #1E40AF;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --amber: #F59E0B;
  --amber-ink: #B45309;
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --red: #EF4444;
  --red-ink: #B91C1C;
  --red-50: #FEF2F2;
  --red-100: #FEE2E2;
  --green: #10B981;
  --green-ink: #047857;
  --green-50: #ECFDF5;
  --green-100: #D1FAE5;

  --grad-amber: linear-gradient(145deg, #FCD34D 0%, #F59E0B 55%, #EA8A06 100%);
  --grad-red: linear-gradient(145deg, #FCA5A5 0%, #EF4444 50%, #DC2626 100%);
  --grad-green: linear-gradient(145deg, #6EE7B7 0%, #10B981 50%, #0D9488 100%);
  --grad-blue: linear-gradient(145deg, #93C5FD 0%, #3B82F6 45%, #1D4ED8 100%);

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 14px -6px rgba(15, 23, 42, 0.1);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 36px -14px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, 0.04), 0 30px 70px -28px rgba(15, 23, 42, 0.3);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Tsukimi Rounded", "Plus Jakarta Sans", ui-rounded, system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-offset: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

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

html {
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Fond de marque : calque fixe, recadré pour l'orientation de l'écran. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--page) url("bg-desktop.webp") center / cover no-repeat;
}

@media (max-aspect-ratio: 1/1) {
  body::before {
    background-image: url("bg-mobile.webp");
  }
}

main {
  flex: 1 0 auto;
  display: block;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-600);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
}

p,
li {
  text-wrap: pretty;
}

strong {
  color: var(--ink-2);
  font-weight: 600;
}

::selection {
  background: rgba(37, 99, 235, 0.16);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--sm {
  width: 16px;
  height: 16px;
}

.ico--lg {
  width: 24px;
  height: 24px;
}

/* ---------- Marque (pied de page) ---------- */
/* L'en-tête commun est dans site-header.css. */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 36px;
  height: 36px;
}

.brand__name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.005em;
  line-height: 1;
}

/* ---------- Boutons et liens ---------- */

.btn {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  color: var(--btn-fg);
  border-color: rgba(15, 23, 42, 0.24);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-border: var(--blue);
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.3), 0 8px 20px -8px rgba(37, 99, 235, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary:hover {
  --btn-bg: var(--blue-600);
  border-color: var(--blue-600);
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.3), 0 12px 26px -10px rgba(37, 99, 235, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: var(--ink);
}

.btn--dark:hover {
  --btn-bg: var(--ink-2);
  border-color: var(--ink-2);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-border: transparent;
}

.btn--ghost:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: transparent;
}

.btn--danger {
  --btn-bg: #DC2626;
  --btn-fg: #fff;
  --btn-border: #DC2626;
  box-shadow: 0 8px 20px -10px rgba(220, 38, 38, 0.7);
}

.btn--danger:hover {
  --btn-bg: #B91C1C;
  border-color: #B91C1C;
}

.btn--lg {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 16px;
}

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

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
}

.link-arrow .ico {
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover .ico {
  transform: translateX(3px);
}

.text-link {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--ease);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

/* ---------- Badges des stores ---------- */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  border-radius: 12px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 10px 24px -14px rgba(15, 23, 42, 0.55);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(15, 23, 42, 0.6);
}

.store-badge img {
  height: 52px;
  width: auto;
}

/* ---------- Éléments de titre ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-xs);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.brand-dots {
  display: inline-grid;
  grid-template-columns: repeat(2, 6px);
  gap: 3px;
}

.brand-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.brand-dots i:nth-child(2) {
  background: var(--red);
}

.brand-dots i:nth-child(3) {
  background: var(--green);
}

.brand-dots i:nth-child(4) {
  background: var(--blue);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.85;
}

.kicker--amber {
  color: var(--amber-ink);
}

.kicker--red {
  color: var(--red-ink);
}

.kicker--green {
  color: var(--green-ink);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head--center {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* Halo clair : le titre reste lisible au-dessus des coins colorés du fond. */
.section-head--center::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -48px -96px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-head p {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.65;
}

/* ---------- Surfaces ---------- */

.sheet {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: saturate(1.4) blur(24px);
  backdrop-filter: saturate(1.4) blur(24px);
}

.sheet--pad {
  padding: clamp(20px, 5vw, 64px);
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sheet,
  .eyebrow {
    background: var(--glass-strong);
  }
}

@media (max-width: 767px) {
  .sheet {
    background: var(--glass-strong);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.section {
  padding-block: clamp(28px, 5vw, 56px);
}

.section--tight {
  padding-block: clamp(16px, 3vw, 28px);
}

/* ---------- Héros de la page d'accueil ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 9vw, 104px) 0 clamp(24px, 4vw, 40px);
  text-align: center;
}

.hero__inner {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(42px, 7.4vw, 86px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 .hl {
  background: linear-gradient(100deg, #2563EB 8%, #0EA5E9 52%, #10B981 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  max-width: 640px;
  color: var(--text);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.hero__cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 6px;
}

.hero__pro {
  color: var(--muted);
  font-size: 15px;
}

.hero__pro a {
  margin-left: 4px;
}

.showcase {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 1040px);
  margin: clamp(36px, 5vw, 64px) auto 0;
  isolation: isolate;
}

.showcase__orbit {
  position: absolute;
  z-index: -2;
  left: 0;
  top: 8%;
  width: 100%;
  height: 80%;
}

.showcase__glow {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(86%, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.55) 60%, rgba(255, 255, 255, 0));
}

/* Captures détourées (téléphones sur fond transparent) : l'ombre suit la forme du téléphone. */
.showcase__phone {
  margin: 0;
  width: clamp(280px, 30vw, 360px);
  aspect-ratio: 720 / 1200;
  filter: drop-shadow(0 34px 40px rgba(15, 23, 42, 0.28)) drop-shadow(0 6px 10px rgba(15, 23, 42, 0.12));
}

.showcase__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: float 7s ease-in-out infinite;
}

.float-chip img {
  width: 34px;
  height: 34px;
}

.float-chip small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.float-chip--1 {
  left: calc(50% - 390px);
  top: 16%;
}

.float-chip--2 {
  left: calc(50% + 180px);
  top: 32%;
  animation-delay: -2.5s;
}

.float-chip--3 {
  left: calc(50% - 360px);
  top: 58%;
  animation-delay: -4s;
}

.float-chip--4 {
  left: calc(50% + 200px);
  top: 72%;
  animation-delay: -1.2s;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@media (max-width: 860px) {
  .float-chip--1 {
    left: 0;
    top: 12%;
  }

  .float-chip--2 {
    left: auto;
    right: 0;
    top: 40%;
  }

  .float-chip--3 {
    left: 0;
    top: 66%;
  }

  .float-chip--4 {
    display: none;
  }
}

@media (max-width: 479px) {
  .float-chip {
    gap: 8px;
    padding: 5px 12px 5px 5px;
    font-size: 13px;
  }

  .float-chip img {
    width: 28px;
    height: 28px;
  }

  .float-chip small {
    display: none;
  }
}

/* Le bandeau des publics chevauche le bas de la vitrine. */
.audiences-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(-72px, -5vw, -24px);
}

.audience__title {
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

/* ---------- Publics ---------- */

.audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: start;
  padding: clamp(22px, 3vw, 32px);
}

.audience + .audience {
  border-left: 1px solid var(--line);
}

.audience .tile {
  grid-row: span 2;
}

.audience h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-top: 2px;
}

.audience p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .audiences {
    grid-template-columns: 1fr;
  }

  .audience + .audience {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Pastilles d'icônes ---------- */

.tile {
  --tile-bg: var(--grad-blue);
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--tile-bg);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px -8px rgba(15, 23, 42, 0.35);
  flex: none;
}

.tile .ico {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.tile--lg {
  width: 60px;
  height: 60px;
  border-radius: 19px;
}

.tile--lg .ico {
  width: 28px;
  height: 28px;
}

.tile--sm {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.tile--sm .ico {
  width: 19px;
  height: 19px;
}

.tile--amber {
  --tile-bg: var(--grad-amber);
}

.tile--red {
  --tile-bg: var(--grad-red);
}

.tile--green {
  --tile-bg: var(--grad-green);
}

.tile--blue {
  --tile-bg: var(--grad-blue);
}

.tile--ink {
  --tile-bg: linear-gradient(145deg, #334155, #0F172A);
}

.tile--soft {
  --tile-bg: var(--blue-50);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

/* ---------- Quatre usages (piliers) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillar {
  --accent: var(--blue);
  --accent-soft: rgba(37, 99, 235, 0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 28px 26px 26px;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pillar:hover {
  color: var(--text);
}

.pillar__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 600;
}

.pillar__more .ico {
  transition: transform 0.25s var(--ease);
}

.pillar:hover .pillar__more .ico {
  transform: translateX(3px);
}

.pillar::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -70px;
  top: -80px;
  width: 220px;
  height: 200px;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  transition: transform 0.6s var(--ease);
}

.pillar::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 26px;
  top: 30px;
  width: 8px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.16;
  box-shadow: -16px 14px 0 -1px var(--accent-soft);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar .tile {
  margin-bottom: 4px;
}

.pillar:hover::before {
  transform: scale(1.12) rotate(8deg);
}

.pillar__label {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.pillar p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pillar--amber {
  --accent: var(--amber-ink);
  --accent-soft: rgba(245, 158, 11, 0.24);
}

.pillar--red {
  --accent: var(--red-ink);
  --accent-soft: rgba(239, 68, 68, 0.2);
}

.pillar--green {
  --accent: var(--green-ink);
  --accent-soft: rgba(16, 185, 129, 0.2);
}

.pillar--blue {
  --accent: var(--blue);
  --accent-soft: rgba(37, 99, 235, 0.16);
}

@media (max-width: 1080px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* ---------- Fonctionnalités détaillées ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.feature + .feature {
  margin-top: clamp(48px, 7vw, 88px);
}

.feature--reverse .feature__media {
  order: 2;
}

.feature__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: clamp(28px, 4vw, 48px) 0;
  isolation: isolate;
}

.feature__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 6%;
  border-radius: 44% 56% 48% 52% / 56% 44% 56% 44%;
  background: var(--feature-glow, radial-gradient(closest-side, rgba(37, 99, 235, 0.18), transparent));
}

.feature__media--red {
  --feature-glow: radial-gradient(closest-side, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.05) 70%, transparent);
}

.feature__media--blue {
  --feature-glow: radial-gradient(closest-side, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.05) 70%, transparent);
}

.feature__media--green {
  --feature-glow: radial-gradient(closest-side, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.05) 70%, transparent);
}

.feature__media--amber {
  --feature-glow: radial-gradient(closest-side, rgba(245, 158, 11, 0.24), rgba(245, 158, 11, 0.05) 70%, transparent);
}

.phone-card {
  margin: 0;
  width: min(86%, 360px);
  aspect-ratio: 720 / 1200;
  filter: drop-shadow(0 30px 36px rgba(15, 23, 42, 0.26)) drop-shadow(0 6px 10px rgba(15, 23, 42, 0.1));
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__body {
  display: grid;
  gap: 18px;
  align-content: center;
}

.feature__body h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature__body > p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.checklist--red li::before {
  background-color: var(--red-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.checklist--green li::before {
  background-color: var(--green-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.checklist--amber li::before {
  background-color: var(--amber-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.pins {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pin-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.pin-tag img {
  width: 28px;
  height: 28px;
}

.phone-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: min(100%, 500px);
  padding-bottom: 8%;
}

.phone-pair .phone-card {
  width: 100%;
}

.phone-pair .phone-card:first-child {
  position: relative;
  z-index: 2;
  transform: translateX(8%);
}

.phone-pair .phone-card:last-child {
  transform: translate(-8%, 10%);
}

@media (max-width: 900px) {
  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__media {
    order: 0;
  }

  .feature__media {
    padding: 8px 0;
  }

  .phone-card {
    width: min(80%, 330px);
  }

  .phone-pair {
    width: min(100%, 440px);
  }
}

/* ---------- Étapes ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px 26px 30px;
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  background: var(--grad-red);
  box-shadow: 0 8px 18px -8px rgba(220, 38, 38, 0.6);
}

.step:nth-child(2) .step__num {
  background: var(--grad-blue);
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.6);
}

.step:nth-child(3) .step__num {
  background: var(--grad-green);
  box-shadow: 0 8px 18px -8px rgba(16, 185, 129, 0.6);
}

.step h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--muted);
  font-size: 15.5px;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Offre professionnelle ---------- */

.pro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.pro__intro {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-offset) + 8px);
}

.pro__intro h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pro__intro > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.pro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 6px;
}

.pro__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14.5px;
}

.pro__note .ico {
  color: var(--green-ink);
  margin-top: 2px;
}

.pro__cards {
  display: grid;
  gap: 14px;
}

.pro-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  padding: 24px;
}

.pro-card .tile {
  grid-row: span 3;
}

.pro-card h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
}

.pro-card p {
  color: var(--muted);
  font-size: 15px;
}

.pro-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.pro-card li {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 960px) {
  .pro {
    grid-template-columns: 1fr;
  }

  .pro__intro {
    position: static;
  }
}

@media (max-width: 479px) {
  .pro-card {
    grid-template-columns: 1fr;
  }

  .pro-card .tile {
    grid-row: auto;
    margin-bottom: 6px;
  }
}

/* ---------- Confiance ---------- */

.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.trust__intro {
  display: grid;
  gap: 16px;
}

.trust__intro h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.trust__intro p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.publisher {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text);
}

.publisher img {
  width: 40px;
  height: 40px;
}

.trust__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 20px 22px;
}

.trust-item .tile {
  grid-row: span 2;
}

.trust-item h3 {
  font-size: 17.5px;
  letter-spacing: -0.015em;
}

.trust-item p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

/* ---------- Bandeau de téléchargement ---------- */

.download {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(14, 165, 233, 0.55), transparent 55%),
    radial-gradient(90% 120% at 100% 100%, rgba(16, 185, 129, 0.45), transparent 55%),
    linear-gradient(135deg, #1E40AF 0%, #2563EB 55%, #1D4ED8 100%);
  color: #fff;
  box-shadow: 0 40px 90px -40px rgba(29, 78, 216, 0.75);
  isolation: isolate;
}

.download::before,
.download::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.download::before {
  width: 14px;
  height: 110px;
  right: 9%;
  top: -24px;
  box-shadow: 34px 46px 0 0 rgba(255, 255, 255, 0.08);
}

.download::after {
  width: 34px;
  height: 34px;
  right: 22%;
  bottom: 26px;
  box-shadow: -60px -150px 0 -8px rgba(255, 255, 255, 0.14);
}

.download__wave {
  position: absolute;
  inset: auto -10% -45% 30%;
  z-index: -1;
  height: 120%;
  color: rgba(255, 255, 255, 0.16);
}

.download h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.download p {
  margin-top: 14px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17.5px;
}

.download__actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.download .store-badge {
  box-shadow: 0 16px 30px -16px rgba(2, 6, 23, 0.8);
}

@media (max-width: 860px) {
  .download {
    grid-template-columns: 1fr;
  }

  .download__actions {
    justify-items: start;
  }
}

/* ---------- Pied de page ---------- */

.site-footer {
  margin-top: clamp(32px, 6vw, 72px);
  padding: 0 0 calc(24px + env(safe-area-inset-bottom));
}

.site-footer__panel {
  padding: clamp(28px, 4vw, 48px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__brand p {
  margin-top: 14px;
  max-width: 320px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.site-footer__brand .store-badges {
  margin-top: 18px;
}

.site-footer__brand .store-badge img {
  height: 40px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li a,
.site-footer li button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.site-footer li a:hover,
.site-footer li button:hover {
  color: var(--blue);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

.site-footer__bottom a {
  color: var(--text);
}

@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

/* ---------- En-tête des pages intérieures ---------- */

.page-hero {
  padding: clamp(40px, 7vw, 84px) 0 clamp(28px, 4vw, 44px);
  text-align: center;
}

.page-hero__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 820px;
  margin-inline: auto;
}

.page-hero h1 {
  font-size: clamp(36px, 5.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.page-hero__lead {
  max-width: 680px;
  color: var(--text);
  font-size: clamp(16.5px, 1.8vw, 19px);
  line-height: 1.65;
}

.page-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

/* ---------- Documents juridiques ---------- */

.doc {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: calc(var(--header-offset) + 4px);
  max-height: calc(100vh - var(--header-offset) - 24px);
  overflow: auto;
  padding: 22px 14px 22px 18px;
  border-radius: var(--radius-lg);
}

.doc-toc__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px 8px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-toc nav {
  display: grid;
  gap: 2px;
}

.doc-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.4;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.doc-toc a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--ink);
}

.doc-toc a.is-active {
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

.doc-body {
  padding: clamp(24px, 5vw, 60px);
}

.doc-section + .doc-section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.prose {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.prose h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.4vw, 27px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.prose h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose p + ol,
.prose ol + p,
.prose ul + ul,
.prose .callout + p,
.prose p + .callout,
.prose ul + .callout {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.prose ul > li {
  position: relative;
  padding-left: 22px;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.7;
}

.prose ol {
  counter-reset: item;
}

.prose ol > li {
  position: relative;
  padding-left: 30px;
  counter-increment: item;
}

.prose ol > li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.2em;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.prose a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: var(--blue-50);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

.callout__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-xs);
}

.callout__icon .ico {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.callout--good {
  border-color: rgba(16, 185, 129, 0.22);
  background: var(--green-50);
}

.callout--good .callout__icon {
  color: var(--green-ink);
}

.callout--warn {
  border-color: rgba(245, 158, 11, 0.3);
  background: var(--amber-50);
}

.callout--warn .callout__icon {
  color: var(--amber-ink);
}

.callout--danger {
  border-color: rgba(239, 68, 68, 0.24);
  background: var(--red-50);
}

.callout--danger .callout__icon {
  color: var(--red-ink);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.info-item {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  min-width: 0;
}

.info-item strong {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-item span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.doc-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.doc-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.doc-related a:hover {
  color: var(--blue);
}

@media (max-width: 960px) {
  .doc {
    grid-template-columns: 1fr;
  }

  .doc-toc {
    position: static;
    max-height: none;
  }

  .doc-toc nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .doc-toc nav::-webkit-scrollbar {
    display: none;
  }

  .doc-toc a {
    border: 1px solid var(--line);
    background: #fff;
    white-space: nowrap;
  }

  .doc-related {
    grid-template-columns: 1fr;
  }
}

/* ---------- Formulaires ---------- */

.field {
  display: grid;
  gap: 8px;
}

.field + .field {
  margin-top: 16px;
}

.field label {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.field__hint {
  color: var(--muted);
  font-size: 13.5px;
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #CED6E0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input::placeholder {
  color: #8C98AA;
}

.input:hover {
  border-color: #B6C2D1;
}

.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

/* ---------- Centre d'aide ---------- */

.help-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.help-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.help-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.help-card h2 {
  font-size: 19px;
  letter-spacing: -0.015em;
}

.help-card p {
  color: var(--muted);
  font-size: 15px;
}

.help-card .btn {
  justify-self: start;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .help-actions {
    grid-template-columns: 1fr;
  }
}

.faq-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.faq-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.faq-head p {
  margin-top: 8px;
  color: var(--muted);
}

.search {
  position: relative;
  flex: 0 1 360px;
  min-width: min(100%, 280px);
}

.search .ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subtle);
  pointer-events: none;
}

.search .input {
  padding-left: 46px;
  border-radius: 999px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq details[open] {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .chev {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
  flex: none;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.faq details[open] summary .chev {
  transform: rotate(180deg);
  background: var(--blue-50);
  color: var(--blue);
}

.faq .answer {
  padding: 0 20px 20px;
}

.faq-empty {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  text-align: center;
}

.faq-empty[hidden] {
  display: none;
}

.note-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
}

.note-strip h2 {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.note-strip p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Suppression de compte ---------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 36px);
}

.form-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  align-items: center;
}

.form-card__head .tile {
  grid-row: span 2;
}

.form-card__step {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-card h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.form-card > p {
  color: var(--muted);
  font-size: 15px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.policy-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 22px;
}

.policy-item .tile {
  grid-row: span 2;
}

.policy-item h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
}

.policy-item p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 860px) {
  .form-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Abonnement professionnel ---------- */

.billing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  align-items: start;
}

.status-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 36px);
}

.status-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.status-card h2 {
  font-size: clamp(22px, 2.4vw, 27px);
  letter-spacing: -0.025em;
}

.status-card__text {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.meta-list > div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.meta-list dt {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(24px, 3vw, 32px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.plan__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.plan__price {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.plan p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 960px) {
  .billing-grid,
  .plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .meta-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Compléments : aide, documents, comptes ---------- */

.narrow {
  max-width: calc(1000px + var(--gutter) * 2);
}

.note-strip {
  margin-top: 16px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  color: var(--text);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.quick-link:hover {
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quick-link strong {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
}

.quick-link small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.quick-link > .ico {
  color: var(--subtle);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.quick-link:hover > .ico {
  color: var(--blue);
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .quick-links {
    grid-template-columns: 1fr;
  }
}

.prose .section + .section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.prose .info-grid + p,
.prose .info-grid + ul {
  margin-top: 16px;
}

.faq .answer.prose {
  font-size: 15.5px;
}

/* Suppression de compte */
.notice {
  margin: 0 0 16px;
}

.form-card form {
  display: grid;
  gap: 16px;
}

.form-card .field + .field {
  margin-top: 0;
}

.form-submit {
  margin-top: 4px;
}

.status {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.status.show {
  display: block;
}

.status.ok {
  background: var(--green-50);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #065F46;
}

.status.error {
  background: var(--red-50);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #991B1B;
}

.policy-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-contact {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Abonnement professionnel */
.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.mini-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.5;
}

.mini-steps__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  flex: none;
}

@media (max-width: 860px) {
  .mini-steps {
    grid-template-columns: 1fr;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--subtle);
}

.status-pill.active {
  background: var(--green-50);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--green-ink);
}

.status-pill.active::before {
  background: var(--green);
}

.status-pill.warning {
  background: var(--amber-50);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--amber-ink);
}

.status-pill.warning::before {
  background: var(--amber);
}

.manage-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: var(--blue-50);
}

.manage-box__text {
  color: var(--ink-2);
  font-size: 15px;
}

.manage-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manage-box__actions:empty {
  display: none;
}

.btn.danger {
  --btn-bg: #DC2626;
  --btn-fg: #fff;
  --btn-border: #DC2626;
}

.btn.danger:hover {
  --btn-bg: #B91C1C;
  border-color: #B91C1C;
}

.self-serve {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.self-serve[hidden] {
  display: none;
}

.self-serve h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
}

.self-serve > p {
  color: var(--muted);
  font-size: 14.5px;
}

.self-serve__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.self-serve__form .btn {
  min-height: 50px;
}

.self-serve-feedback {
  color: var(--muted);
  font-size: 14.5px;
}

.self-serve-feedback:empty {
  display: none;
}

.self-serve-feedback.ok {
  color: var(--green-ink);
}

.self-serve-feedback.error {
  color: var(--red-ink);
}

@media (max-width: 520px) {
  .self-serve__form {
    grid-template-columns: 1fr;
  }
}

.billing-aside {
  display: grid;
  gap: 16px;
}

.aside-card {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.aside-card h2 {
  font-size: 18px;
  letter-spacing: -0.015em;
}

.aside-card p {
  color: var(--muted);
  font-size: 15px;
}

.aside-card .aside-card__hint {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 14.5px;
}

.aside-links {
  display: grid;
  padding: 8px;
}

.aside-links a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.aside-links a:hover {
  background: var(--surface-soft);
  color: var(--blue);
}

.aside-links a > .ico:first-child {
  color: var(--muted);
}

.plan__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.plan.current {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), var(--shadow);
}

.plan.current .plan__label {
  border-color: rgba(37, 99, 235, 0.25);
  background: var(--blue-50);
  color: var(--blue-700);
}

.plan .plan__price--long {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
}

/* ---------- Apparition au défilement ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .float-chip {
    animation: none;
  }

  .pillar,
  .pillar::before,
  .btn,
  .store-badge,
  .help-card {
    transition: none;
  }
}

@media print {
  body::before,
  .site-header,
  .site-footer,
  .doc-toc,
  .cc-manage-btn,
  .cc-root {
    display: none !important;
  }

  .sheet,
  .card {
    box-shadow: none;
    border: 0;
    background: #fff;
  }
}

.nowrap {
  white-space: nowrap;
}

.float-chip {
  text-align: left;
}

.hero .store-badges {
  justify-content: center;
}

@media (max-width: 479px) {
  .store-badges {
    gap: 10px;
  }

  .store-badge img {
    height: 44px;
  }

  .float-chip--3 {
    display: none;
  }
}

@media (max-width: 1100px) {
  .section-head--center::before {
    left: -12px;
    right: -12px;
  }
}

/* Les documents réutilisent la classe « section » : pas d'espacement de page à l'intérieur. */
.prose .section {
  padding-block: 0;
}

.prose .section + .section {
  padding-top: 44px;
}

.audience,
.pro-card,
.trust-item,
.policy-item,
.form-card,
.help-card {
  align-content: start;
}

.policy-item p::first-letter {
  text-transform: uppercase;
}

.search {
  flex-basis: 400px;
}
