:root {
  --bg: #ffffff;
  --panel: rgba(255, 255, 255, 0.8);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: rgba(10, 15, 25, 0.92);
  --muted: rgba(10, 15, 25, 0.7);
  --subtle: rgba(10, 15, 25, 0.55);
  --border: rgba(15, 23, 42, 0.14);
  --accent: #f5c542; /* doré */
  --accent-2: #d4a62a; /* doré plus profond */
  --danger: #ef4444;
  --shadow: 0 18px 60px rgba(2, 6, 23, 0.12);

  --radius: 16px;
  --radius-sm: 12px;
  --container: 1140px;
  --brand-logo-slot: 54px; /* espace réservé dans la barre */
  --brand-logo-size: 160px; /* taille réelle du logo */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 20% -10%, rgba(245, 197, 66, 0.28), transparent 60%),
    radial-gradient(900px 520px at 90% 5%, rgba(212, 166, 42, 0.22), transparent 60%),
    radial-gradient(1200px 800px at 60% 120%, rgba(15, 23, 42, 0.06), transparent 60%),
    var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-color: rgba(15, 23, 42, 0.28);
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-color: rgba(15, 23, 42, 0.55);
}

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 20px;
  margin: 0 auto;
}

/* Header en pleine largeur (collé à gauche) */
.site-header .container {
  max-width: none;
  padding-left: 12px;
  padding-right: 12px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: #0b1220;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo-wrap {
  width: var(--brand-logo-slot);
  height: var(--brand-logo-slot);
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
}

.brand-logo {
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
  object-fit: contain;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.brand-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(212, 166, 42, 0.95);
  font-size: 16px;
  z-index: 1;
}
.brand-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.brand-name {
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  font-size: 12px;
  color: var(--subtle);
  display: none; /* barre plus compacte; on peut le remettre si tu veux */
}

.nav {
  display: none;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}
.nav a {
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: rgba(10, 15, 25, 0.92);
}

/* Dropdown dans la barre du haut (hover) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h, 72px);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.08);
  padding: 18px 0;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  z-index: 90;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 140ms ease, transform 160ms ease;
}

/* Bridge invisible pour éviter que le menu disparaisse entre le lien et le panneau */
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.nav-mega {
  width: 100%;
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.nav-dd-title {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(10, 15, 25, 0.55);
  font-weight: 900;
  margin-bottom: 6px;
}

.nav-dd-item {
  display: block;
  padding: 7px 0;
  border-radius: 0;
  text-decoration: none;
  color: rgba(10, 15, 25, 0.86);
  font-weight: 650;
  margin-top: 0;
  transition: color 160ms ease, transform 120ms ease;
}

.nav-dd-item:hover {
  transform: translateY(-1px);
  color: rgba(10, 15, 25, 1);
  text-decoration: underline;
  text-decoration-color: rgba(212, 166, 42, 0.55);
  text-underline-offset: 5px;
}

.nav-mega-feature {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  padding-left: 18px;
}

.mega-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-top: 10px;
}

.mega-card-img {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  height: 130px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(245, 197, 66, 0.22));
}

.mega-img-1 {
  background:
    radial-gradient(280px 140px at 30% 30%, rgba(245, 197, 66, 0.55), transparent 60%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(245, 197, 66, 0.18));
}

.mega-img-2 {
  background:
    radial-gradient(240px 140px at 70% 30%, rgba(245, 197, 66, 0.48), transparent 60%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(245, 197, 66, 0.16));
}

.mega-card-text {
  display: grid;
  gap: 4px;
}

.mega-card-kicker {
  font-size: 12px;
  color: rgba(10, 15, 25, 0.55);
  font-weight: 800;
}

.mega-card-title {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.mega-card:hover .mega-card-img {
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.08);
  transform: translateY(-1px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

@media (max-width: 980px) {
  .nav-mega-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .nav-mega-feature {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }
  .mega-card-img {
    height: 120px;
  }
}

.header-cta {
  display: none;
  gap: 12px;
  align-items: center;
  justify-self: end;
}

.header-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.header-tools {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-left: 10px;
  border-left: 1px solid rgba(15, 23, 42, 0.1);
}

.mobile-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}

.lang-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  font-weight: 850;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: rgba(10, 15, 25, 0.72);
}

.lang-btn[aria-pressed="true"] {
  background: rgba(245, 197, 66, 0.26);
  color: rgba(10, 15, 25, 0.92);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.08);
}

/* Mode sombre */
:root[data-theme="dark"] {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --subtle: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(1000px 600px at 20% -10%, rgba(245, 197, 66, 0.14), transparent 60%),
    radial-gradient(900px 520px at 90% 5%, rgba(212, 166, 42, 0.12), transparent 60%),
    radial-gradient(1200px 800px at 60% 120%, rgba(59, 130, 246, 0.12), transparent 60%),
    var(--bg);
}

:root[data-theme="dark"] .site-header {
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .brand-logo-wrap {
  background: transparent;
  border: 0;
  box-shadow: none;
}

:root[data-theme="dark"] .nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

:root[data-theme="dark"] .header-tools {
  border-left-color: rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .lang-switch,
:root[data-theme="dark"] .icon-btn,
:root[data-theme="dark"] .btn,
:root[data-theme="dark"] .mobile-tools {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .lang-btn {
  color: rgba(255, 255, 255, 0.75);
}

:root[data-theme="dark"] .lang-btn[aria-pressed="true"] {
  background: rgba(245, 197, 66, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

:root[data-theme="dark"] .btn:hover {
  background: rgba(255, 255, 255, 0.085);
}

:root[data-theme="dark"] .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .card,
:root[data-theme="dark"] .mini-card,
:root[data-theme="dark"] .pricing-card,
:root[data-theme="dark"] .pricing-faq,
:root[data-theme="dark"] .checkout-note,
:root[data-theme="dark"] .acc-item,
:root[data-theme="dark"] .mock,
:root[data-theme="dark"] .row {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .row.head {
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .site-footer {
  background: rgba(0, 0, 0, 0.08);
  border-top-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .nav-dropdown-panel {
  background: rgba(11, 18, 32, 0.96);
  border-top-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

:root[data-theme="dark"] .nav-dd-title {
  color: rgba(255, 255, 255, 0.6);
}

:root[data-theme="dark"] .nav-dd-item {
  color: rgba(255, 255, 255, 0.82);
}

:root[data-theme="dark"] .nav-dd-item:hover {
  text-decoration-color: rgba(245, 197, 66, 0.7);
}

:root[data-theme="dark"] .nav-mega-feature {
  border-left-color: rgba(255, 255, 255, 0.12);
}


.nav-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.7);
  color: #0b1220;
  cursor: pointer;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.9);
}
.nav-toggle-bars {
  width: 18px;
  height: 12px;
  position: relative;
  display: block;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(10, 15, 25, 0.85);
  border-radius: 2px;
}
.nav-toggle-bars::before {
  top: 0;
}
.nav-toggle-bars::after {
  bottom: 0;
}

.mobile-nav {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
}
.mobile-nav-inner {
  display: grid;
  padding: 16px 20px 20px;
  gap: 10px;
}
.mobile-nav a {
  text-decoration: none;
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.7);
}
.mobile-nav a:hover {
  color: rgba(10, 15, 25, 0.95);
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.92);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease,
    transform 120ms ease;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.92);
}
.btn-primary {
  border-color: rgba(212, 166, 42, 0.55);
  background: linear-gradient(135deg, rgba(245, 197, 66, 1), rgba(212, 166, 42, 1));
  color: #0b1220;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  /* Empêche le hover "blanc" de .btn:hover sur le bouton doré */
  background: linear-gradient(135deg, rgba(245, 197, 66, 1), rgba(212, 166, 42, 1));
  filter: brightness(1.06) saturate(1.06);
  box-shadow: 0 18px 46px rgba(212, 166, 42, 0.5);
  transform: translateY(-1px);
}

/* Effet "flash" (shimmer) sur le doré au survol */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 35%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(255, 255, 255, 0.0) 65%,
    transparent 100%
  );
  transform: translateX(-140%);
  opacity: 0;
  pointer-events: none;
}

.btn-primary:hover::before {
  opacity: 1;
  animation: goldShine 900ms ease-in-out infinite;
}

@keyframes goldShine {
  0% {
    transform: translateX(-140%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

/* Glow "flash" additionnel (pulse) */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: -12px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  opacity: 0;
  pointer-events: none;
  filter: blur(2px);
}

.btn-primary:hover::after {
  opacity: 1;
  animation: goldPulse 700ms ease-in-out infinite alternate;
}

@keyframes goldPulse {
  0% {
    transform: scale(0.98);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.03);
    opacity: 0.95;
  }
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
}
.btn-lg {
  padding: 14px 18px;
  border-radius: 16px;
}

/* Hero */
.hero {
  padding: 54px 0 18px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 13px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.22);
}

h1 {
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
}

.lead {
  color: rgba(10, 15, 25, 0.75);
  font-size: 18px;
  max-width: 62ch;
  margin: 0 0 18px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.badge {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.micro {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--subtle);
}
.subtle {
  color: var(--subtle);
}
.muted {
  color: var(--muted);
}

/* Mock */
.hero-media {
  display: grid;
  gap: 12px;
}
.mock {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(800px 250px at 40% -20%, rgba(245, 197, 66, 0.22), transparent 60%),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.mock-dots {
  display: inline-flex;
  gap: 6px;
}
.mock-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
}
.mock-title {
  font-size: 13px;
  color: var(--muted);
}
.mock-body {
  padding: 16px;
}
.mock-body-screenshot {
  padding: 0;
}
.mock-screenshot {
  display: block;
  width: 100%;
  height: auto;
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.kpi {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}
.kpi-label {
  font-size: 12px;
  color: var(--subtle);
}
.kpi-value {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.mock-table {
  display: grid;
  gap: 8px;
}
.row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.8fr 0.7fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  color: rgba(10, 15, 25, 0.82);
}
.row.head {
  background: rgba(15, 23, 42, 0.04);
  color: var(--muted);
  font-size: 12px;
}
.tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
}
.tag-paid {
  background: rgba(245, 197, 66, 0.22);
  border-color: rgba(212, 166, 42, 0.45);
}
.tag-sent {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.18);
}
.tag-draft {
  background: rgba(15, 23, 42, 0.06);
}

/* Sections */
.section {
  padding: 60px 0;
}
.section-muted {
  background: rgba(15, 23, 42, 0.02);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.section-head {
  max-width: 78ch;
  margin-bottom: 22px;
}
h2 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.sublead {
  margin: 0;
  color: rgba(10, 15, 25, 0.72);
}

.grid3 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.grid-features {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.grid4 {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
}
.card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0 0 12px;
  color: rgba(10, 15, 25, 0.72);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  color: rgba(10, 15, 25, 0.82);
  font-size: 14px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  aspect-ratio: 1 / 1;
  border-radius: 999px; /* perfectly round */
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0 18%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 50% 50%, #ffe7a6 0%, #f5c542 56%, #d4a62a 100%);
  border: 1px solid rgba(245, 197, 66, 0.95);
  box-shadow:
    0 0 0 4px rgba(245, 197, 66, 0.18),
    0 10px 22px rgba(212, 166, 42, 0.16),
    0 0 18px rgba(245, 197, 66, 0.55);
  transition: transform 120ms ease, box-shadow 160ms ease;
}

.checklist li:hover::before {
  transform: scale(1.06);
  box-shadow:
    0 0 0 4px rgba(245, 197, 66, 0.22),
    0 12px 26px rgba(212, 166, 42, 0.18),
    0 0 22px rgba(245, 197, 66, 0.65);
}

/* Checklist in dark mode: keep contrast */
:root[data-theme="dark"] .checklist li {
  color: rgba(255, 255, 255, 0.84);
}

:root[data-theme="dark"] .checklist li::before {
  border-color: rgba(245, 197, 66, 0.92);
  box-shadow:
    0 0 0 4px rgba(245, 197, 66, 0.14),
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(245, 197, 66, 0.58);
}
.checklist-strong li {
  font-weight: 600;
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.mini-card {
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
}
.mini-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
}
.mini-card p {
  margin: 0;
  color: rgba(10, 15, 25, 0.72);
  font-size: 14px;
}

.callout {
  border-radius: 22px;
  border: 1px solid rgba(212, 166, 42, 0.45);
  background:
    radial-gradient(600px 240px at 30% -20%, rgba(245, 197, 66, 0.35), transparent 60%),
    rgba(255, 255, 255, 0.78);
  padding: 18px;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.12);
}
.callout h3 {
  margin: 0 0 10px;
}
.callout-price {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.callout-price small {
  font-size: 13px;
  font-weight: 650;
  color: rgba(10, 15, 25, 0.62);
}

/* Chips */
.chip {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(10, 15, 25, 0.8);
  font-size: 13px;
}

/* Modules */
.module-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

/* Dropdown modules (au survol) */
.module-picker {
  position: relative;
  display: inline-block;
  width: min(560px, 100%);
}

.dropdown-trigger {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 120ms ease, background 160ms ease;
}

.dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.08);
  transform: translateY(-1px);
}

.caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(10, 15, 25, 0.7);
  border-bottom: 2px solid rgba(10, 15, 25, 0.7);
  transform: rotate(45deg);
  margin-left: 6px;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.18);
  padding: 14px;
  display: none;
}

/* Desktop: ouvre au survol */
.module-picker:hover .dropdown-panel {
  display: grid;
}

/* Mobile/JS: ouvre via data-open="true" */
.module-picker[data-open="true"] .dropdown-panel {
  display: grid;
}

.dropdown-panel {
  grid-template-columns: 1fr;
  gap: 12px;
}

.dropdown-group {
  padding: 10px 10px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.dropdown-title {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(10, 15, 25, 0.55);
  font-weight: 900;
  margin-bottom: 10px;
}

.dropdown-item {
  display: block;
  padding: 10px 10px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(10, 15, 25, 0.86);
  font-weight: 750;
  margin-top: 8px;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dropdown-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.08);
}

/* Page module */
.module-page {
  display: grid;
  gap: 16px;
}

.module-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-pill-dev {
  border-color: rgba(212, 166, 42, 0.55);
  background:
    radial-gradient(140px 40px at 30% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(245, 197, 66, 0.86), rgba(212, 166, 42, 0.82));
}

.module-dev-sub {
  margin: -6px 0 12px;
  filter: blur(1.4px);
  opacity: 0.55;
}

.module-content {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.screenshot {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
}

.screenshot-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.s-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
}

.s-label {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(10, 15, 25, 0.55);
  font-weight: 800;
}

.screenshot-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.module-shot {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.7);
  display: none;
}

.module-shot {
  cursor: zoom-in;
}

.module-shot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 6px rgba(245, 197, 66, 0.16);
}

/* Lightbox (module image zoom) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  width: min(1100px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.lightbox-img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 36px);
  object-fit: contain;
  display: block;
  background: rgba(0, 0, 0, 0.06);
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lightbox-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(245, 197, 66, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .lightbox {
    transition: none;
  }
  .lightbox-close {
    transition: none;
  }
}

/* Modules showcase (index) */
.modules-showcase {
  margin-top: 18px;
}

.modules-showcase-head {
  display: grid;
  gap: 6px;
  margin: 10px 0 14px;
}

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

.module-card {
  position: relative;
  display: grid;
  grid-template-rows: 116px 1fr;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
  overflow: hidden;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: moduleCardIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 18ms);
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 180px at 20% 0%, rgba(245, 197, 66, 0.18), transparent 60%),
    radial-gradient(420px 220px at 90% 0%, rgba(212, 166, 42, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.module-card:hover,
.module-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(212, 166, 42, 0.34);
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.12), 0 0 0 6px rgba(245, 197, 66, 0.12);
}

.module-card:hover::before,
.module-card:focus-visible::before {
  opacity: 1;
}

.module-card-disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.module-card-disabled:hover,
.module-card-disabled:focus-visible {
  transform: none;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
}

.module-card-disabled:hover::before,
.module-card-disabled:focus-visible::before {
  opacity: 0;
}

.module-card-disabled .module-card-media::after {
  display: none;
}

.module-card-disabled .module-card-cta {
  color: rgba(10, 15, 25, 0.62);
}

.module-card-media {
  position: relative;
  background:
    radial-gradient(520px 220px at 20% 0%, rgba(245, 197, 66, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.03), rgba(255, 255, 255, 0.0));
}

.module-card-media::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(110deg, transparent 40%, rgba(245, 197, 66, 0.22), transparent 60%);
  transform: translateX(-40%);
  opacity: 0;
  pointer-events: none;
}

.module-card:hover .module-card-media::after {
  opacity: 1;
  animation: moduleShimmer 900ms ease forwards;
}

.module-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1);
  transition: transform 260ms ease;
}

.module-card:hover .module-card-img {
  transform: scale(1.03);
}

.module-card-ph {
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(10, 15, 25, 0.82);
}

.module-card-cat {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(10, 15, 25, 0.86);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(10px);
}

.module-card-status {
  position: absolute;
  right: 12px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(10, 15, 25, 0.92);
  background:
    radial-gradient(140px 36px at 30% 0%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(245, 197, 66, 0.96), rgba(212, 166, 42, 0.92));
  border: 1px solid rgba(212, 166, 42, 0.65);
  box-shadow: 0 10px 22px rgba(212, 166, 42, 0.18), 0 0 0 5px rgba(245, 197, 66, 0.14);
  backdrop-filter: blur(10px);
}

.module-card-dev .module-card-desc {
  filter: blur(1.6px);
  opacity: 0.55;
}

:root[data-theme="dark"] .module-card-status {
  color: rgba(10, 15, 25, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38), 0 0 0 5px rgba(245, 197, 66, 0.12);
}

.module-card-body {
  padding: 14px 14px 12px;
  display: grid;
  gap: 8px;
}

.module-card-title {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.module-card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.module-card-bullets {
  margin: 6px 0 0;
  padding-left: 18px;
  color: rgba(10, 15, 25, 0.78);
  font-size: 12.5px;
  display: grid;
  gap: 4px;
}

.module-card-cta {
  margin-top: 6px;
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(212, 166, 42, 0.96);
  text-transform: uppercase;
  transition: transform 180ms ease, color 180ms ease;
}

.module-card:hover .module-card-cta {
  transform: translateX(3px);
  color: rgba(245, 197, 66, 1);
}

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

@keyframes moduleShimmer {
  0% {
    transform: translateX(-40%);
  }
  100% {
    transform: translateX(40%);
  }
}

@media (max-width: 980px) {
  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .module-card {
    grid-template-rows: 104px 1fr;
  }
}

@media (max-width: 640px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
  .module-card {
    grid-template-rows: 96px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .module-card,
  .module-card * {
    animation: none !important;
    transition: none !important;
  }
}

.skeleton {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.07), rgba(245, 197, 66, 0.18), rgba(15, 23, 42, 0.07));
  background-size: 180% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 166, 42, 0.45);
  background: rgba(245, 197, 66, 0.22);
  color: rgba(10, 15, 25, 0.82);
  font-size: 13px;
  font-weight: 750;
}

.modal-close {
  white-space: nowrap;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
.pricing-card {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
  box-shadow: var(--shadow);
}
.pricing-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}
.ribbon {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 166, 42, 0.5);
  background: rgba(245, 197, 66, 0.22);
  color: rgba(10, 15, 25, 0.85);
  font-size: 12px;
  white-space: nowrap;
}
.pricing-price {
  margin: 14px 0 14px;
}
.big {
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.big span {
  font-size: 14px;
  font-weight: 700;
  color: rgba(10, 15, 25, 0.6);
}
.pricing-faq {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
}
.qa {
  padding: 12px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.qa:first-of-type {
  border-top: 0;
  padding-top: 6px;
}
.q {
  font-weight: 750;
  margin-bottom: 6px;
}
.a {
  color: rgba(10, 15, 25, 0.72);
}
.checkout-note {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(15, 23, 42, 0.2);
  background: rgba(255, 255, 255, 0.62);
}
.checkout-note h3 {
  margin: 0 0 8px;
}

/* Accordion */
.accordion {
  display: grid;
  gap: 10px;
}
.acc-item {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.74);
  padding: 0;
  overflow: hidden;
}
.acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 750;
}
.acc-item summary::-webkit-details-marker {
  display: none;
}
.acc-body {
  padding: 0 16px 14px;
  color: rgba(10, 15, 25, 0.72);
}

/* Contact */
.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.form label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}
.form input,
.form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
}
.form input:focus,
.form textarea:focus {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}
.form button {
  width: 100%;
  margin-top: 14px;
}

/* Footer */
.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  gap: 14px;
  color: var(--muted);
}
.brand-footer .brand-sub {
  margin-top: 4px;
}

/* Responsive */
@media (min-width: 860px) {
  :root {
    --brand-logo-slot: 48px;
    --brand-logo-size: 180px;
  }
  .brand-sub {
    display: inline;
    font-size: 13px;
    white-space: nowrap;
  }
  .brand-sub::before {
    content: "—";
    margin-right: 10px;
    color: rgba(10, 15, 25, 0.35);
  }
  .nav {
    display: flex;
    justify-self: center;
  }
  .header-cta {
    display: inline-flex;
    justify-self: end;
  }
  .nav-toggle {
    display: none;
  }
  .hero {
    padding: 68px 0 28px;
  }
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
  }
  .badge {
    padding: 8px 10px;
    font-size: 12px;
  }
  .grid3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .grid4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .dropdown-panel {
    grid-template-columns: 1fr 1fr;
  }
  .module-content {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
  }
  .split {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 22px;
  }
  .two-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
  }
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

