/* ============================================================
   Aylivo — marketing site
   Palette : orange #ff6b2a · navy #101827 · blanc chaud #fffaf6
             gris bleuté #eef2f6 · vert succès · rouge alerte
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Inter-Latin-Variable.woff2') format('woff2');
}

:root {
  --orange: #ff6b2a;
  --orange-dark: #e5551a;
  --orange-soft: #fff0e8;
  --navy: #101827;
  --navy-2: #1c2739;
  --navy-3: #2a3852;
  --white-warm: #fffaf6;
  --grey-blue: #eef2f6;
  --grey-line: #dde4ec;
  --ink: #101827;
  --ink-soft: #4a5568;
  --ink-faint: #7b8794;
  --green: #1e9e6a;
  --green-soft: #e6f6ef;
  --red: #d94141;
  --red-soft: #fdecec;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 39, 0.06), 0 1px 4px rgba(16, 24, 39, 0.05);
  --shadow-md: 0 6px 20px rgba(16, 24, 39, 0.09);
  --shadow-lg: 0 16px 48px rgba(16, 24, 39, 0.14);
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.deployment-status {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px;
  background: #fff1e9;
  border-bottom: 1px solid #ffd0ba;
  color: #5f2a13;
  font-size: 0.82rem;
  text-align: center;
}
.deployment-status strong {
  color: #b23d0d;
}
.legal-form-notice {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.55;
}
.legal-form-notice a {
  color: var(--orange-dark);
  text-decoration: underline;
}
.legal-callout {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid #ffd0ba;
  border-radius: 10px;
  background: #fff7f2;
}
.legal-callout strong {
  color: #9e360d;
}
.legal-table-wrap {
  margin: 22px 0;
  overflow-x: auto;
}
.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--grey-line);
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--grey-blue);
  color: var(--navy);
}
.legal-meta {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  margin: 18px 0 28px;
  border-top: 1px solid var(--grey-line);
}
.legal-meta dt,
.legal-meta dd {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--grey-line);
}
.legal-meta dt {
  padding-right: 20px;
  color: var(--ink-soft);
  font-weight: 600;
}
.legal-meta dd {
  color: var(--navy);
}
.article h2 {
  scroll-margin-top: 120px;
}
.article h3 {
  margin-top: 24px;
}
.article ul,
.article ol {
  margin: 12px 0 20px 22px;
}
.article li {
  margin: 7px 0;
}
@media (max-width: 640px) {
  .deployment-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .legal-meta {
    grid-template-columns: 1fr;
  }
  .legal-meta dt {
    border-bottom: 0;
    padding-bottom: 2px;
  }
  .legal-meta dd {
    padding-top: 2px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white-warm);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- typography ---------- */
h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.032em;
  font-weight: 800;
}
h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
}
h1 {
  font-size: clamp(2.7rem, 5.8vw, 4.4rem);
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.h-accent {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.h-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.28em;
  background: var(--orange-soft);
  z-index: -1;
  border-radius: 3px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-dark);
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 107, 42, 0.22);
}
.kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.07rem;
}

.muted {
  color: var(--ink-soft);
}

section {
  padding: 88px 0;
}
section.tight {
  padding: 64px 0;
}
section.alt {
  background: var(--grey-blue);
}
section.dark {
  background:
    radial-gradient(720px 400px at 20% 0%, rgba(255, 107, 42, 0.14), transparent 65%),
    radial-gradient(600px 360px at 85% 100%, rgba(255, 107, 42, 0.07), transparent 65%), var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
section.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9), transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9), transparent 80%);
}
section.dark > .container {
  position: relative;
}
section.dark .muted,
section.dark p {
  color: #b9c3d4;
}
section.dark .kicker {
  background: rgba(255, 107, 42, 0.14);
  border-color: rgba(255, 107, 42, 0.3);
  color: #ffab85;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid rgba(255, 107, 42, 0.4);
  outline-offset: 2px;
}
.btn-primary {
  background: linear-gradient(135deg, #ff7d42, var(--orange) 45%, var(--orange-dark));
  color: #fff;
  box-shadow:
    0 4px 14px rgba(255, 107, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after {
  left: 130%;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(255, 107, 42, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--grey-line);
}
.btn-secondary:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.87rem;
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- announce bar ---------- */
.announce {
  background: var(--navy);
  color: #d5dce8;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
}
.announce a {
  color: #ffab85;
  font-weight: 700;
  white-space: nowrap;
}
.announce a:hover {
  color: #fff;
}

/* ---------- rating stars ---------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.rating .stars {
  color: #f5a623;
  letter-spacing: 2px;
  font-size: 0.92rem;
}
.rating b {
  color: var(--ink);
}
section.dark .rating {
  color: #b9c3d4;
}
section.dark .rating b {
  color: #fff;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ff8a52, var(--orange) 55%, var(--orange-dark));
  box-shadow:
    0 3px 8px rgba(255, 107, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.25s ease;
}
.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.06);
}

::selection {
  background: rgba(255, 107, 42, 0.22);
  color: var(--navy);
}

body::-webkit-scrollbar {
  width: 11px;
}
body::-webkit-scrollbar-track {
  background: var(--white-warm);
}
body::-webkit-scrollbar-thumb {
  background: #cbd4df;
  border-radius: 8px;
  border: 3px solid var(--white-warm);
}
body::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.15s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-login {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 10px;
}
.nav-login:hover {
  color: var(--navy);
}

.burger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--white-warm);
  z-index: 80;
  padding: 28px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  animation: fadeSlide 0.22s ease;
}
.mobile-menu a {
  padding: 15px 12px;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--grey-line);
}
.mobile-menu .mobile-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 380px at 50% -80px, rgba(255, 107, 42, 0.1), transparent 70%),
    radial-gradient(500px 300px at 88% 30%, rgba(16, 24, 39, 0.05), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(16, 24, 39, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  text-align: center;
}
.hero h1 {
  max-width: 820px;
  margin: 0 auto;
}
.hero-sub {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* entrance sequence on load */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero .kicker {
  animation: riseIn 0.6s ease both;
}
.hero h1 {
  animation: riseIn 0.6s ease 0.08s both;
}
.hero .hero-sub {
  animation: riseIn 0.6s ease 0.18s both;
}
.hero .hero-actions {
  animation: riseIn 0.6s ease 0.28s both;
}
.hero .hero-note {
  animation: riseIn 0.6s ease 0.36s both;
}
.hero .hero-proofs {
  animation: riseIn 0.6s ease 0.44s both;
}

.hero-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--grey-line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.16s ease,
    border-color 0.16s,
    box-shadow 0.16s;
}
.proof-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 42, 0.4);
  box-shadow: var(--shadow-md);
}
.proof-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- product captures ---------- */
.hero-visual {
  position: relative;
  margin-top: 64px;
  padding-bottom: 56px;
}
.product-shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}
.product-shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.product-shot figcaption {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--grey-line);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 650;
  background: #fff;
}
.product-shot-wide {
  grid-row: span 2;
  min-height: 560px;
}
.product-shot-tablet,
.product-shot-phone {
  min-height: 270px;
}

.mock-browser {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgba(16, 24, 39, 0.05),
    0 24px 64px -12px rgba(16, 24, 39, 0.22),
    0 0 0 8px rgba(255, 255, 255, 0.55);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

/* floating annotation cards around the hero */
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: floatY 5s ease-in-out infinite;
  z-index: 3;
}
.float-card .f-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.float-card .f-icon.green {
  background: var(--green-soft);
  color: var(--green);
}
.float-card .f-icon.orange {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
.float-card small {
  display: block;
  font-weight: 500;
  color: var(--ink-faint);
  font-size: 0.7rem;
}
.float-card.fc-left {
  left: 1.5%;
  top: 18%;
  animation-delay: 0.8s;
}
.float-card.fc-right {
  right: 2%;
  top: 52%;
  animation-delay: 2s;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* trust strip */
.trust-strip {
  padding: 44px 0 8px;
  text-align: center;
}
.trust-strip p {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  align-items: center;
}
.trust-logos span {
  font-size: 1.02rem;
  color: #9aa5b5;
  opacity: 0.85;
  transition:
    color 0.2s,
    opacity 0.2s;
}
.trust-logos span:hover {
  color: var(--navy);
  opacity: 1;
}
.trust-logos .tl-serif {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.trust-logos .tl-caps {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}
.trust-logos .tl-mono {
  font-family: 'SF Mono', 'Cascadia Code', Menlo, monospace;
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-logos .tl-bold {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
}
.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--grey-blue);
  border-bottom: 1px solid var(--grey-line);
}
.mock-browser-bar .b-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-line);
}
.mock-browser-bar .b-dot:nth-child(1) {
  background: #f4a09c;
}
.mock-browser-bar .b-dot:nth-child(2) {
  background: #f5cd8f;
}
.mock-browser-bar .b-dot:nth-child(3) {
  background: #a5d9b8;
}
.mock-browser-bar .b-url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--ink-faint);
  padding: 4px 12px;
  text-align: center;
  border: 1px solid var(--grey-line);
}

.mock-app {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 420px;
}
.mock-side {
  background: var(--navy);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mock-side .s-brand {
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 10px 14px;
  letter-spacing: -0.02em;
}
.mock-side .s-item {
  color: #93a1b8;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-side .s-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}
.mock-side .s-item.on {
  background: var(--orange);
  color: #fff;
}

.mock-main {
  padding: 20px 22px;
  background: #fbfcfe;
}
.mock-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mock-title .t-h {
  font-weight: 700;
  font-size: 0.95rem;
}
.mock-title .t-btn {
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s;
}
.kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 42, 0.35);
}
.kpi .k-label {
  font-size: 0.66rem;
  color: var(--ink-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.kpi .k-value {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: -0.02em;
}
.kpi .k-trend {
  font-size: 0.68rem;
  font-weight: 700;
}
.k-trend.up {
  color: var(--green);
}
.k-trend.down {
  color: var(--red);
}

.mock-chart {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
.mock-chart .c-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.c-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
}
.c-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--orange-soft), var(--orange));
  opacity: 0.85;
  animation: growBar 1s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  transform-origin: bottom;
  transition:
    opacity 0.15s,
    filter 0.15s;
}
.c-bars i:nth-child(2n) {
  animation-delay: 0.12s;
}
.c-bars i:nth-child(3n) {
  animation-delay: 0.22s;
}
.c-bars i:hover {
  opacity: 1;
  filter: brightness(1.05);
}
.c-bars i:last-child {
  opacity: 1;
  box-shadow: 0 0 14px rgba(255, 107, 42, 0.45);
}
@keyframes growBar {
  from {
    transform: scaleY(0);
  }
}

.mock-table {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mt-row {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 0.9fr;
  gap: 8px;
  padding: 9px 14px;
  font-size: 0.74rem;
  align-items: center;
  border-bottom: 1px solid var(--grey-blue);
  transition: background 0.15s;
}
.mt-row:not(.head):hover {
  background: var(--orange-soft);
}
.mt-row:last-child {
  border-bottom: none;
}
.mt-row.head {
  background: var(--grey-blue);
  font-weight: 700;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.mt-row b {
  font-weight: 600;
}
.pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
}
.pill.paid {
  background: var(--green-soft);
  color: var(--green);
}
.pill.sent {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
.pill.late {
  background: var(--red-soft);
  color: var(--red);
}
.pill.draft {
  background: var(--grey-blue);
  color: var(--ink-faint);
}

/* phone mockup */
.mock-phone {
  position: absolute;
  right: 4%;
  bottom: 12px;
  width: 190px;
  background: var(--navy);
  border-radius: 22px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.mock-phone-screen {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.mp-head {
  background: var(--navy);
  color: #fff;
  padding: 14px 12px 10px;
  font-size: 0.68rem;
  font-weight: 700;
}
.mp-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mp-card {
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  padding: 8px 9px;
  font-size: 0.62rem;
}
.mp-card .r {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mp-card b {
  font-weight: 700;
}
.mp-btn {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 8px;
  border-radius: 6px;
  margin-top: 2px;
}

/* ---------- problem band ---------- */
.problem-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 18px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.problem-card .x {
  color: var(--red);
  font-weight: 800;
  flex-shrink: 0;
}
.solution-line {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto;
}
.solution-line strong {
  color: var(--orange);
}

/* ---------- workflow ---------- */
.workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  counter-reset: step;
}
.wf-step {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 20px 16px;
  position: relative;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.wf-step:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.wf-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 107, 42, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.wf-step::after {
  content: '→';
  position: absolute;
  top: 24px;
  right: -13px;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 2;
}
.wf-step:last-child::after {
  content: none;
}
.wf-step h4 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.wf-step p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- module tabs ---------- */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  justify-content: center;
}
.tab-btn {
  background: #fff;
  border: 1.5px solid var(--grey-line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.15s;
}
.tab-btn:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}
.tab-btn.active {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(16, 24, 39, 0.28);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: grid;
  animation: fadeSlide 0.3s ease;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tab-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.tab-panel .tp-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tp-list li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.tp-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.tab-visual {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px;
  min-height: 280px;
}

/* ---------- feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #ffb08a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 42, 0.35);
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange-soft), #ffe0cf);
  color: var(--orange-dark);
  border: 1px solid rgba(255, 107, 42, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.feature-card .fc-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-dark);
}

/* ---------- sectors ---------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.sector-card::after {
  content: '→';
  position: absolute;
  bottom: 20px;
  right: 24px;
  color: var(--orange);
  font-weight: 800;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 42, 0.35);
}
.sector-card:hover::after {
  opacity: 1;
  transform: none;
}
.sector-card .sc-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dark);
}
.sector-card h3 {
  margin: 8px 0 8px;
  font-size: 1.1rem;
}
.sector-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- pricing ---------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 48px;
}
.billing-toggle button {
  border: none;
  background: none;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: all 0.15s;
}
.billing-toggle button.active {
  background: var(--navy);
  color: #fff;
}
.billing-toggle .save-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
  background: var(--green-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1.5px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.plan.featured {
  border-color: var(--orange);
  box-shadow: 0 24px 56px -8px rgba(255, 107, 42, 0.28);
  transform: scale(1.035);
  background: linear-gradient(180deg, #fff 60%, var(--orange-soft) 160%);
  z-index: 1;
}
.plan.featured:hover {
  transform: scale(1.035) translateY(-4px);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan h3 {
  font-size: 1.15rem;
}
.plan .plan-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 6px 0 20px;
  min-height: 42px;
}
.plan .price {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plan .price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-faint);
}
.plan .price-note {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.plan ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.plan ul li {
  display: flex;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.plan ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}
.plan ul li.off {
  opacity: 0.45;
}
.plan ul li.off::before {
  content: '—';
  color: var(--ink-faint);
}

.pricing-footnote {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

/* comparison table */
.compare-wrap {
  overflow-x: auto;
  margin-top: 64px;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 720px;
}
.compare th,
.compare td {
  padding: 13px 18px;
  text-align: left;
  font-size: 0.89rem;
  border-bottom: 1px solid var(--grey-blue);
}
.compare tbody tr:not(.group):hover td {
  background: var(--orange-soft);
}
.compare thead th {
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
}
.compare thead th:not(:first-child) {
  text-align: center;
  width: 160px;
}
.compare td:not(:first-child) {
  text-align: center;
}
.compare .group td {
  background: var(--grey-blue);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}
.compare .yes {
  color: var(--green);
  font-weight: 800;
}
.compare .no {
  color: var(--ink-faint);
}
.compare .col-featured {
  background: var(--orange-soft);
}

/* ---------- stats / proof ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.stat {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 30px 22px;
  backdrop-filter: blur(4px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 42, 0.45);
}
.stat h3 {
  font-size: 2.8rem;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #ffb08a, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p {
  color: #b9c3d4;
  margin-top: 8px;
  font-size: 0.95rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.testimonial {
  background: linear-gradient(160deg, var(--navy-2), rgba(28, 39, 57, 0.6));
  border: 1px solid var(--navy-3);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 42, 0.4);
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(255, 107, 42, 0.28);
  font-family: Georgia, serif;
}
.testimonial p {
  font-size: 0.95rem;
  color: #d5dce8;
  font-style: italic;
}
.testimonial .t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.testimonial .t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.testimonial .t-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  font-style: normal;
}
.testimonial .t-role {
  font-size: 0.78rem;
  color: #8b98ad;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.faq-item.open {
  border-color: rgba(255, 107, 42, 0.45);
  box-shadow: var(--shadow-md);
}
.faq-item.open .faq-q {
  color: var(--orange-dark);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  transition: background 0.15s;
}
.faq-q:hover {
  background: var(--grey-blue);
}
.faq-q .chev {
  transition: transform 0.25s ease;
  color: var(--orange);
  font-weight: 800;
  flex-shrink: 0;
}
.faq-item.open .chev {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ---------- CTA final : panneau navy avec halo ---------- */
.cta-final {
  text-align: center;
}
.cta-final .container {
  position: relative;
  overflow: hidden;
  max-width: 1080px;
  background:
    radial-gradient(560px 280px at 50% -60px, rgba(255, 107, 42, 0.28), transparent 70%),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  border: 1px solid var(--navy-3);
  border-radius: var(--radius);
  padding: 72px 40px;
  box-shadow: 0 28px 70px -18px rgba(16, 24, 39, 0.45);
}
.cta-final .container::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 60%);
}
.cta-final h2 {
  max-width: 640px;
  margin: 0 auto 16px;
  color: #fff;
  position: relative;
}
.cta-final p {
  max-width: 540px;
  margin: 0 auto 32px;
  color: #b9c3d4 !important;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta-final .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-final .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #9aa7bb;
  padding: 64px 0 32px;
  font-size: 0.88rem;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.65;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-brand p {
  margin-top: 12px;
  max-width: 280px;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}
.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--navy-3);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #b9c3d4;
}
.footer-badges span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.footer-bottom {
  border-top: 1px solid var(--navy-3);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.8rem;
  color: #6f7d93;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer-legal a {
  color: #6f7d93;
}
.footer-legal a:hover {
  color: #fff;
}

/* trust band (réassurance) */
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-band .tb-item {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.trust-band .tb-item h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-band .tb-item h4::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.trust-band .tb-item p {
  font-size: 0.84rem;
  color: var(--ink-soft);
}
@media (max-width: 1020px) {
  .trust-band {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .trust-band {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(16, 24, 39, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
  animation: fadeSlide 0.2s ease;
}
.modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  width: 100%;
  padding: 34px 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--grey-blue);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--ink-soft);
}
.modal h3 {
  margin-bottom: 6px;
}
.modal .modal-sub {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* ---------- forms ---------- */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 42, 0.15);
}
.form-success {
  background: var(--green-soft);
  color: var(--green);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}
.form-success.show {
  display: block;
  animation: fadeSlide 0.25s ease;
}
.form-error {
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}
.form-error.show {
  display: block;
  animation: fadeSlide 0.25s ease;
}

/* ---------- device switcher ---------- */
.device-switch {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.device-switch button {
  background: #fff;
  border: 1.5px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: all 0.15s;
}
.device-switch button.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.device-stage {
  position: relative;
  min-height: 420px;
}
.device-view {
  display: none;
}
.device-view.active {
  display: block;
  animation: fadeSlide 0.3s ease;
}
.device-product-shot {
  max-width: 980px;
  margin: 0 auto;
}
.device-product-shot img {
  max-height: 620px;
  object-fit: contain;
  background: #f7f8fb;
}
.device-product-shot-phone {
  max-width: 360px;
}

.mock-tablet {
  max-width: 620px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.mock-tablet-screen {
  background: #fbfcfe;
  border-radius: 10px;
  overflow: hidden;
}
.mock-phone.standalone {
  position: static;
  transform: none;
  margin: 0 auto;
  width: 240px;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.16s;
}
.reveal-d3 {
  transition-delay: 0.24s;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(620px 320px at 18% -60px, rgba(255, 107, 42, 0.09), transparent 70%);
}
.page-hero h1 {
  max-width: 760px;
}
.page-hero p {
  max-width: 640px;
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* checklist / timeline (conformité) */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 34px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--grey-line);
}
.tl-item {
  position: relative;
  padding-bottom: 36px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--orange-soft);
}
.tl-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.tl-item p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.tl-item .tl-date {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.resource-card .r-type {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dark);
}
.resource-card h3 {
  font-size: 1.02rem;
  margin: 8px 0;
}
.resource-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- article / guide ---------- */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}
.article {
  max-width: 720px;
}
.article h2 {
  font-size: 1.55rem;
  margin: 44px 0 14px;
}
.article h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.article p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.article ul,
.article ol {
  margin: 0 0 18px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article ul li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.article ul li::before {
  content: '—';
  color: var(--orange);
  font-weight: 800;
  flex-shrink: 0;
}
.article ol {
  list-style: none;
  counter-reset: oli;
}
.article ol li {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
  line-height: 1.65;
  counter-increment: oli;
}
.article ol li::before {
  content: counter(oli);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-top: 2px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
}
.article .callout {
  background: var(--orange-soft);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.article .callout strong {
  color: var(--orange-dark);
}
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.92rem;
}
.article th,
.article td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--grey-blue);
}
.article th {
  background: var(--grey-blue);
  font-weight: 700;
  font-size: 0.82rem;
}
.article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-top: 18px;
}
.article-meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--grey-line);
}

.article-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.aside-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 22px;
}
.aside-card h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.aside-card a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.aside-card a:hover {
  color: var(--orange-dark);
}
.aside-cta {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  color: #fff;
  border: none;
}
.aside-cta h4 {
  color: #ffab85;
}
.aside-cta p {
  font-size: 0.88rem;
  color: #b9c3d4;
  margin-bottom: 16px;
}

.breadcrumb {
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--ink-soft);
  font-weight: 600;
}
.breadcrumb a:hover {
  color: var(--orange-dark);
}

/* mock document (page modèles) */
.mock-doc {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 26px;
  font-size: 0.78rem;
}
.mock-doc .d-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.mock-doc .d-title {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.mock-doc .d-band {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), #ffb08a);
  margin-bottom: 16px;
}

@media (max-width: 1020px) {
  .article-wrap {
    grid-template-columns: 1fr;
  }
  .article-aside {
    position: static;
  }
}

/* login page */
.auth-wrap {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 420px;
  width: 100%;
  padding: 40px 36px;
}
.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.auth-card .auth-sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 26px;
}
.auth-alt {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.auth-alt a {
  color: var(--orange-dark);
  font-weight: 700;
}

/* two-col generic */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .problem-band {
    grid-template-columns: repeat(3, 1fr);
  }
  .workflow {
    grid-template-columns: repeat(3, 1fr);
  }
  .wf-step:nth-child(3n)::after {
    content: none;
  }
  .float-card {
    display: none;
  }
  .feature-grid,
  .sector-grid,
  .resource-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-shot-grid {
    grid-template-columns: 1fr;
  }
  .product-shot-wide,
  .product-shot-tablet,
  .product-shot-phone {
    min-height: auto;
  }
  .product-shot img {
    height: auto;
    max-height: 620px;
    object-fit: contain;
    background: #f7f8fb;
  }
  .mock-phone {
    display: none;
  }
  .mock-phone.standalone {
    display: block;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-cta .btn-secondary,
  .nav-login {
    display: none;
  }
  .burger {
    display: flex;
  }
  section {
    padding: 64px 0;
  }
  .pricing-grid,
  .tab-panel.active,
  .split,
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .stats-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .mock-app {
    grid-template-columns: 1fr;
  }
  .mock-side {
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }
  .mock-side .s-brand {
    display: none;
  }
  .plan.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .problem-band,
  .workflow,
  .feature-grid,
  .sector-grid,
  .resource-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .wf-step::after {
    content: none;
  }
  .trust-logos {
    gap: 10px 24px;
  }
  .trust-logos span {
    font-size: 0.9rem;
  }
  .cta-final .container {
    padding: 52px 24px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .mt-row {
    grid-template-columns: 1.6fr 1fr 0.9fr;
  }
  .mt-row > :nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Refonte vitrine — badge conformité, sans/avec, défis, fondateurs
   ============================================================ */

/* ----- logo en display ----- */
.logo {
  font-family: var(--font-display);
}

/* ----- badge conformité flottant sur le visuel hero ----- */
.hero-visual {
  position: relative;
}
.hero-compliance {
  position: absolute;
  top: -18px;
  right: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: 12px;
  padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.hero-compliance .hc-badge {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.15;
  text-align: center;
}
.hero-compliance strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.hero-compliance span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .hero-compliance {
    position: static;
    transform: none;
    margin: 0 auto 18px;
    width: fit-content;
  }
}

/* ----- comparatif sans / avec ----- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 34px;
}
.compare-col {
  border-radius: 16px;
  padding: 26px 26px 20px;
  border: 1px solid var(--grey-line);
}
.compare-col h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.compare-sans {
  background: #fff;
}
.compare-sans h3 {
  color: var(--red);
}
.compare-avec {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.compare-avec h3 {
  color: #7ee2b0;
}
.compare-col ul li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  font-size: 0.98rem;
}
.compare-sans ul li {
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--grey-line);
}
.compare-sans ul li:last-child {
  border-bottom: 0;
}
.compare-avec ul li {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.compare-avec ul li:last-child {
  border-bottom: 0;
}
.compare-col .x {
  color: var(--red);
  font-weight: 800;
  flex: none;
}
.compare-col .v {
  color: #7ee2b0;
  font-weight: 800;
  flex: none;
}
@media (max-width: 860px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- cartes-défis (preuve vérifiable) ----- */
.verify-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.verify-card {
  background: var(--navy-2);
  border: 1px solid var(--navy-3);
  border-radius: 16px;
  padding: 28px 26px;
  position: relative;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
.verify-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.verify-card .vc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
}
.verify-card h3 {
  font-family: var(--font-display);
  color: #fff;
  margin: 10px 0 10px;
  font-size: 1.28rem;
}
.verify-card p {
  color: #b9c2d4;
  font-size: 0.95rem;
}
@media (max-width: 860px) {
  .verify-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- bandeau fondateurs ----- */
.founders-strip {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(120deg, rgba(255, 107, 42, 0.16), rgba(255, 107, 42, 0.05));
  border: 1px solid rgba(255, 107, 42, 0.35);
  border-radius: 16px;
  padding: 24px 28px;
}
.founders-strip h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.founders-strip p {
  color: #c8cfdd;
  font-size: 0.95rem;
  max-width: 620px;
}
@media (max-width: 860px) {
  .founders-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----- modal visite guidée ----- */
.modal-tour {
  max-width: 760px;
  width: min(760px, calc(100vw - 32px));
}
.tour-stage {
  position: relative;
  height: min(52vh, 500px);
  border-radius: 12px;
  background: var(--grey-blue);
  border: 1px solid var(--grey-line);
  overflow: hidden;
  margin-top: 18px;
}
.tour-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tour-slide.active {
  opacity: 1;
}
.tour-caption {
  margin-top: 16px;
  min-height: 64px;
}
.tour-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.tour-caption span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 4px;
}
.tour-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
}
.tour-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--grey-line);
  background: #fff;
  font-size: 1rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.tour-btn:hover {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.tour-dots {
  display: flex;
  gap: 8px;
}
.tour-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--grey-line);
  padding: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.tour-dot.active {
  background: var(--orange);
  transform: scale(1.25);
}
.tour-ctas {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.tour-ctas .btn {
  flex: 1;
  min-width: 220px;
}
