:root {
  --bg: #050816;
  --bg-alt: #090f23;
  --bg-soft: #0f172a;
  --primary: #4f46e5;
  --primary-soft: rgba(79, 70, 229, 0.12);
  --primary-strong: #6366f1;
  --accent: #22c55e;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --danger: #ef4444;
  --warning: #f97316;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.54);
  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #000 100%);
  color: var(--text-main);
}

/* Liens globaux */

a {
  color: #60a5fa;            /* Bleu clair bien visible sur fond sombre */
  text-decoration: none;
}

a:hover {
  color: #93c5fd;            /* Plus lumineux au survol */
}

/* Containers & layout */

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

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #0f172a 0, #020617 45%);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 30%;
  background: radial-gradient(circle at 20% 20%, #a855f7, #4f46e5 45%, #22c55e 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  border: 1px solid rgba(129, 140, 248, 0.6);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  margin: 4px 0;
}

/* Hero */

.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3.1vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.8rem;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.4rem;
}

.hero-highlight {
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.32), #020617 55%);
  min-width: 150px;
}

.hero-highlight-number {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.hero-note {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  background: rgba(15, 23, 42, 0.95);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 20% 0, rgba(129, 140, 248, 0.4), transparent 55%);
  opacity: 0.75;
  pointer-events: none;
}

.hero-visual-caption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Banner */

.banner-full {
  padding: 4rem 1rem 5rem;
  text-align: center;
  background: linear-gradient(to bottom, #020617, #0b1120);
}

.banner-inner h1 {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
}

.banner-inner p {
  color: #94a3b8;
  margin-bottom: 2rem;
}

.banner-img-wrapper img {
  max-width: 900px;
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* App card mockup */

.app-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, #111827, #020617 55%);
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.app-card-header {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.85rem;
  gap: 0.55rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
  font-size: 0.8rem;
  color: var(--text-muted);
}

.app-card-header .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.app-card-header .red {
  background: #f97373;
}
.app-card-header .orange {
  background: #fb923c;
}
.app-card-header .green {
  background: #4ade80;
}

.app-card-title {
  margin-left: auto;
}

.app-card-body {
  padding: 1.1rem 1.1rem 1.2rem;
}

.app-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.kpi {
  border-radius: 14px;
  padding: 0.6rem 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.kpi-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.kpi-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.kpi-tag {
  display: inline-flex;
  margin-top: 0.3rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

.kpi-tag-success {
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.kpi-tag-warning {
  background: rgba(249, 115, 22, 0.1);
  color: #fed7aa;
}

.kpi-tag-info {
  background: rgba(59, 130, 246, 0.18);
  color: #bfdbfe;
}

/* Chart placeholder */

.app-chart-placeholder {
  margin: 0.5rem 0 1.1rem;
  padding: 0.8rem 0.7rem;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.chart-line {
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(129, 140, 248, 0.7), rgba(45, 212, 191, 0.65));
  margin-bottom: 0.35rem;
}

.chart-line-alt {
  width: 65%;
  opacity: 0.8;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.chart-bars span {
  flex: 1;
  height: 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.chart-bars span:nth-child(2) {
  height: 30px;
}
.chart-bars span:nth-child(3) {
  height: 18px;
}
.chart-bars span:nth-child(4) {
  height: 34px;
}
.chart-bars span:nth-child(5) {
  height: 24px;
}

/* App list */

.app-list {
  margin-top: 0.3rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.8rem;
}

.app-list-header,
.app-list-row {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 0.8fr;
  padding: 0.5rem 0.7rem;
  column-gap: 0.6rem;
}

.app-list-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-muted);
}

.app-list-row:nth-child(even) {
  background: rgba(15, 23, 42, 0.75);
}

.status-pill {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.7rem;
}

.status-green {
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}
.status-orange {
  background: rgba(249, 115, 22, 0.12);
  color: #fed7aa;
}
.status-red {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}

/* Grids */

.grid {
  display: grid;
  gap: 1.6rem;
}

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

/* Cards */

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.95);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.feature-card {
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(79, 70, 229, 0.2);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.feature-card:hover::before {
  opacity: 1;
  transform: translateY(-2px);
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.5rem;
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.22), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.9);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.step h3 {
  margin: 0 0 0.35rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* Screenshots */

.screenshots-grid {
  margin-top: 2rem;
}

.screenshot-card {
  text-align: center;
}

.screenshot-image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
}

.screenshot-image img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-placeholder {
  border-radius: 20px;
  padding: 2.5rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px dashed rgba(148, 163, 184, 0.8);
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.2), rgba(15, 23, 42, 0.96));
  font-weight: 500;
  color: var(--text-muted);
}

.screenshots-note {
  margin-top: 1.5rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}

/* Pricing */

.pricing-grid {
  margin-top: 2rem;
}

.pricing-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.98);
  padding: 1.7rem 1.55rem 1.8rem;
  box-shadow: var(--shadow-soft);
}

.pricing-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.pricing-price {
  margin: 0 0 0.3rem;
}

.pricing-subtext {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features li {
  margin-bottom: 0.4rem;
}

.pricing-card-featured {
  border: 1px solid rgba(129, 140, 248, 0.9);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.35), rgba(15, 23, 42, 0.98));
  transform: translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 1.6rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FAQ */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.98);
  padding: 0.75rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

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

.faq-item p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  color: var(--text-muted);
}

.contact-info li {
  margin-bottom: 0.4rem;
}

.contact-info a {
  color: var(--primary-strong);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.98);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 1px solid var(--primary-strong);
  border-color: var(--primary-strong);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, #4f46e5, #7c3aed);
  color: white;
  box-shadow: 0 12px 30px rgba(55, 48, 163, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(55, 48, 163, 0.85);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-strong);
  background: rgba(30, 64, 175, 0.65);
}

.full-width {
  width: 100%;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 0;
  background: #020617;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.footer-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.8rem;
  color: #60a5fa;          /* liens de footer bien visibles */
  text-decoration: none;
}

.footer-link:hover {
  color: #93c5fd;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    order: -1;
  }

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

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    position: absolute;
    inset: 64px 0 auto 0;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.75rem 1.5rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .section {
    padding: 3.5rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-highlights {
    flex-direction: column;
  }
}
