@charset "UTF-8";
/* =============================================
   COURTIER-AFFACTURAGE — Design System
   ============================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
/* ----- TOKENS ----- */
:root {
  --navy: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-100: #dbeafe;
  --cyan: #22d3ee;
  --cyan-50: #ecfeff;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);
  --max-w: 1200px;
  --section-py: 96px;
  --section-px: 24px;
}

/* ----- RESET ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ----- UTILITIES ----- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section {
  padding: var(--section-py) var(--section-px);
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 600px;
  margin-top: 0.75rem;
  text-wrap: pretty;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-100);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-dark .tag {
  background: rgba(37, 99, 235, 0.25);
  color: var(--cyan);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

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

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-cyan {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.35);
}

.btn-cyan:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* ----- NAVBAR ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.navbar__logo--text {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.navbar__brand-text {
  font-size: 1.05rem;
  white-space: nowrap;
}

.navbar__logo img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.footer__brand-logo {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
}

.footer__brand-logo--text {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.footer__brand-text {
  font-size: 1.05rem;
  white-space: nowrap;
}

.footer__brand-logo img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s;
}

.navbar__links a:hover {
  color: var(--white);
}

.navbar__cta {
  flex-shrink: 0;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--navy);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.15s;
}

.mobile-menu a:hover {
  color: var(--cyan);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* ----- HERO ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding-top: 68px;
  overflow: hidden;
  position: relative;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(37, 99, 235, 0.18) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 30% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero__eyebrow::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero__h1 .accent {
  color: var(--cyan);
}

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  line-height: 1.7;
  text-wrap: pretty;
}

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

.hero__micro {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__micro::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* Hero Dashboard */
.hero__dashboard {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.dashboard-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  padding: 20px 24px;
}

.dashboard-top {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.dash-kpi {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
}

.dash-kpi__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.dash-kpi__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.dash-kpi__badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 5px;
}

.badge-green {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
}

.badge-red {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Chart */
.dashboard-chart {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chart-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.chart-legend {
  display: flex;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chart-svg-wrap {
  height: 120px;
}

.chart-months {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
}

.chart-months span {
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.03em;
}

/* Floating badges on hero */
.hero__float {
  position: absolute;
  z-index: 5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  animation: floatBadge 3s ease-in-out infinite alternate;
}

.hero__float--tl {
  z-index: 1;
  top: -14px;
  left: -14px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan);
  animation-delay: 0s;
}

.hero__float--br {
  bottom: -12px;
  right: -12px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93c5fd;
  animation-delay: 1s;
}

@keyframes floatBadge {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -8px, 0);
  }
}
/* ----- PROBLEM / SOLUTION ----- */
.problem {
  background: var(--white);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 56px;
}

.ps-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ps-block__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

.ps-block__label--problem {
  background: #fee2e2;
  color: #dc2626;
}

.ps-block__label--solution {
  background: #dcfce7;
  color: #16a34a;
}

.ps-block__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ps-block__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.ps-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  align-self: center;
}

.expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  transition: gap 0.2s;
}

.expand-btn:hover {
  gap: 10px;
}

.expand-btn svg {
  transition: transform 0.25s;
}

.expand-btn.active svg {
  transform: rotate(180deg);
}

.expand-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, opacity 0.3s;
  opacity: 0;
}

.expand-content.open {
  opacity: 1;
}

.expand-inner {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expand-inner h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.expand-inner p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ----- FEATURES ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ----- SOLUTIONS ----- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.solution-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue), var(--shadow-md);
}

.solution-card__img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-family: "Courier New", monospace;
  position: relative;
  overflow: hidden;
}

.img-classic {
  background: linear-gradient(135deg, #1e293b 0%, #1d4ed8 100%);
}

.img-confidentiel {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0369a1 100%);
}

.img-inverse {
  background: linear-gradient(135deg, #1e293b 0%, #0f766e 100%);
}

.img-stripe {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.03) 8px, rgba(255, 255, 255, 0.03) 16px);
}

.img-icon {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.img-icon svg {
  opacity: 0.7;
}

.img-label {
  font-size: 0.6rem;
}

.solution-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--blue);
  color: var(--white);
}

.solution-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-card__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.solution-card__body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.solution-card__footer {
  padding: 0 28px 28px;
}

/* ----- BENEFITS ----- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: rgba(34, 211, 238, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.benefit-item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.benefit-item p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.benefit-item .arrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: auto;
}

.benefits__seo {
  margin-top: 48px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  text-align: center;
}

/* ----- REASSURANCE ----- */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.reassurance-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.reassurance-item:hover {
  box-shadow: var(--shadow-md);
}

.reassurance-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.reassurance-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.reassurance-text p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ----- USE CASES ----- */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.usecase-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s;
}

.usecase-card:hover {
  transform: translateY(-3px);
}

.usecase-card__emoji {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usecase-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.usecase-card .usecase-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  width: fit-content;
}

.usecase-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ----- FORM ----- */
.form-wrap {
  max-width: 920px;
  margin: 56px auto 0;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.form-wrap--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), transparent 40%);
  pointer-events: none;
}

.form-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.form-header__copy {
  min-width: 0;
}

.form-header .section-title {
  margin-top: 8px;
}

.form-header .section-sub {
  margin-top: 14px;
}

.form-header__eyebrow {
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-sm);
}

.form-panel + .form-panel {
  margin-top: 18px;
}

.form-panel__header {
  margin-bottom: 20px;
}

.form-panel__eyebrow {
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-panel__header h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--navy);
  margin-top: 6px;
}

.form-panel__header p {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1/-1;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.95rem 1rem;
  border: 1.5px solid rgba(226, 232, 240, 1);
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--navy);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s,
    background 0.18s;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.12),
    0 8px 22px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
  background: var(--white);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
}

.form-group p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.form-check {
  margin-top: 22px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--radius-lg);
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.form-check input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.form-message {
  margin-top: 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
  min-height: 24px;
}

.form-message.success {
  color: #16a34a;
}

.form-message.error {
  color: #ef4444;
}

.field-error {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 500;
}

.form-submit {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

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

.form-submit .btn {
  min-width: 220px;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.form-submit .btn:hover {
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.28);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-success.show {
  display: flex;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}

.form-success h3 {
  font-size: 1.375rem;
  font-weight: 700;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* ----- FAQ ----- */
.faq-list {
  max-width: 760px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  cursor: pointer;
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: background 0.2s, color 0.2s, transform 0.25s;
}

.faq-item.open .faq-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s;
  opacity: 0;
}

.faq-answer.open {
  opacity: 1;
}

.faq-answer__inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

/* ----- CTA FINAL ----- */
.cta-final {
  text-align: center;
  padding: var(--section-py) var(--section-px);
}

.cta-final__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-final .section-title {
  color: var(--white);
}

.cta-final .section-sub {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ----- FOOTER ----- */
.footer {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.5);
  padding: 64px 24px 32px;
}

.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand h3 span {
  color: var(--cyan);
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
  margin-top: 12px;
}

.footer__brand .btn {
  margin-top: 18px;
  width: fit-content;
}

.footer__brand .btn,
.footer__bottom .btn {
  font-size: 0.875rem;
  padding: 0.72rem 1.2rem;
}

.footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.12);
}

.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul a {
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer__col ul a:hover {
  color: var(--white);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__contact-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.footer__contact-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  transition: opacity 0.15s;
}

.footer__contact-link:hover {
  opacity: 0.8;
}

.footer__bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom-note {
  color: rgba(255, 255, 255, 0.65);
}

.footer__bottom a {
  transition: color 0.15s;
}

.footer__bottom a:hover {
  color: var(--white);
}

.footer__bottom .btn {
  white-space: nowrap;
}

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

/* ----- SCROLL TO TOP ----- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-2px);
}

/* ----- SCROLL ANIMATIONS ----- */
.anim-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-delay-1 {
  transition-delay: 0.1s !important;
}

.anim-delay-2 {
  transition-delay: 0.2s !important;
}

.anim-delay-3 {
  transition-delay: 0.3s !important;
}

.anim-delay-4 {
  transition-delay: 0.4s !important;
}

.anim-delay-5 {
  transition-delay: 0.5s !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  :root {
    --section-py: 72px;
  }
  .navbar__links, .navbar__cta {
    display: none;
  }
  .navbar__burger {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__content {
    text-align: center;
    align-items: center;
  }
  .hero__sub {
    text-align: center;
  }
  .ps-grid {
    grid-template-columns: 1fr;
  }
  .ps-divider {
    display: none;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .reassurance-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 640px) {
  :root {
    --section-py: 48px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .usecases-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reassurance-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-header {
    grid-template-columns: 1fr;
  }
  .form-actions {
    grid-template-columns: 1fr;
  }
  .form-submit {
    justify-content: stretch;
  }
  .form-submit .btn {
    width: 100%;
    min-width: 0;
  }
  .form-wrap {
    padding: 22px 18px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar__brand-text,
  .footer__brand-text {
    font-size: 0.98rem;
  }
  .solutions-grid {
    gap: 20px;
  }
  .hero__float {
    display: none;
  }
  .dashboard-top {
    flex-direction: column;
  }
}
@media (max-width: 420px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .usecases-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- LEGAL PAGES ----- */
.legal-page {
  padding-top: 68px;
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.08), transparent 35%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 45%);
  min-height: 100vh;
}

.legal-hero {
  padding: 72px 0 32px;
}

.legal-hero__inner {
  max-width: 860px;
  margin: 0 auto;
}

.legal-title {
  margin-top: 0;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.legal-sections {
  display: grid;
  gap: 20px;
}

.legal-section {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.legal-section h2 {
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.legal-section p + p,
.legal-section li + li {
  margin-top: 10px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
}

.legal-nav .navbar {
  position: static;
}

.legal-footer {
  margin-top: 20px;
}
