:root {
  --bg-body: #050816;
  --bg-surface: #06091f;
  --bg-surface-alt: #070b25;
  --bg-hero-gradient: radial-gradient(circle at top left, #1d4ed8, #020617 55%);
  --border-subtle: rgba(148, 163, 184, 0.22);
  --border-strong: rgba(148, 163, 184, 0.4);
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.18);
  --accent-strong: #6366f1;
  --accent-secondary: #22c55e;
  --accent-secondary-soft: rgba(34, 197, 94, 0.16);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --radius-md: 0.9rem;
  --radius-lg: 1.4rem;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.9);
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.85);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset léger */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: var(--bg-hero-gradient);
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Layout global */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 23, 0.96),
    rgba(5, 6, 23, 0.85),
    rgba(5, 6, 23, 0.7)
  );
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at top left, #60a5fa, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 16px 32px rgba(37, 99, 235, 0.6);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #f9fafb;
}

.logo-subtitle {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Navigation */

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #4f46e5, #22c55e);
  transition: width 0.16s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.92);
  cursor: pointer;
  padding: 0 0.4rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #e5e7eb;
  border-radius: 999px;
  transition: transform 0.16s ease-out, opacity 0.16s ease-out;
}

.nav-toggle.nav-toggle-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.nav-toggle-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */

.hero {
  padding: 4.2rem 0 3.8rem;
}

.hero-grid {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
}

.hero-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 600px;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-badges {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  font-size: 0.78rem;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
}

/* Hero panel */

.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.24), #020617);
  border: 1px solid rgba(79, 70, 229, 0.65);
  box-shadow: var(--shadow-card);
}

.hero-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
}

.hero-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.hero-list li {
  margin-bottom: 0.35rem;
}

.hero-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s ease-out,
    border-color 0.18s ease-out,
    transform 0.08s ease-out,
    box-shadow 0.16s ease-out,
    color 0.16s ease-out;
}

.btn-primary {
  background: linear-gradient(to right, #4f46e5, #6366f1);
  color: white;
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow:
    0 12px 30px rgba(79, 70, 229, 0.6),
    0 0 0 1px rgba(15, 23, 42, 0.85);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 36px rgba(79, 70, 229, 0.7),
    0 0 0 1px rgba(15, 23, 42, 1);
}

.btn-secondary {
  background: var(--accent-secondary-soft);
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.7);
}

.btn-secondary:hover {
  background: rgba(34, 197, 94, 0.22);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-muted);
  border-color: rgba(75, 85, 99, 0.95);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
}

/* Sections */

.section {
  padding: 3.4rem 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), var(--bg-body));
}

.section-alt {
  background: radial-gradient(circle at top, #020617, #020617 60%);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.2rem;
  text-align: left;
}

.section-header h2 {
  margin: 0 0 0.7rem;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Features */

.features-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature-card {
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.15rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.85);
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tools */

.tools-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 750px) {
  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tool-card {
  background: linear-gradient(145deg, #020617, #020617);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.15rem 1.1rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tool-label {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: #c7d2fe;
  font-size: 0.72rem;
  border: 1px solid rgba(129, 140, 248, 0.8);
}

.tool-card h3 {
  margin: 0;
  font-size: 1rem;
}

.tool-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.tool-meta span {
  font-size: 0.78rem;
  padding: 0.16rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--text-soft);
}

.tool-link {
  margin-top: auto;
  font-size: 0.86rem;
  color: var(--accent-strong);
  text-decoration: none;
  padding-top: 0.3rem;
}

.tool-link:hover {
  text-decoration: underline;
}

.tools-note {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Steps */

.steps-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step-card {
  position: relative;
  background: linear-gradient(135deg, #020617, #020617);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.15rem 1.1rem 1.1rem 1.1rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.85);
}

.step-number {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: #c7d2fe;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(129, 140, 248, 0.9);
}

.step-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Callout */

.callout {
  margin-top: 1.6rem;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.22),
    rgba(15, 23, 42, 0.98)
  );
  border: 1px solid rgba(129, 140, 248, 0.8);
  box-shadow: var(--shadow-card);
}

.callout h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.callout p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
}

.callout-link {
  display: inline-flex;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: #c7d2fe;
  text-decoration: none;
}

.callout-link:hover {
  text-decoration: underline;
}

/* BYOK */

.byok-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .byok-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.byok-card {
  background: linear-gradient(135deg, #020617, #020617);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.15rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.85);
}

.byok-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.byok-card p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.byok-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.byok-list li {
  margin-bottom: 0.25rem;
}

/* CTA row */

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cta-hint {
  font-size: 0.84rem;
  color: var(--text-soft);
}

/* Cloud */

.cloud-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .cloud-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cloud-card {
  background: linear-gradient(145deg, #020617, #020617);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.15rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.85);
}

.cloud-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.cloud-card p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cloud-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.cloud-list li {
  margin-bottom: 0.25rem;
}

.cloud-note {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* FAQ */

.faq-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq-item {
  background: linear-gradient(135deg, #020617, #020617);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.1rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.85);
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at bottom, #020617, #020617 40%);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem 1.3rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand {
  font-weight: 500;
  color: var(--text-main);
}

.footer-note {
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Responsif */

@media (max-width: 799px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 1.25rem;
    background: rgba(5, 6, 23, 0.98);
    border-radius: 0.9rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 0.8rem;
    gap: 0.4rem;
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition:
      opacity 0.16s ease-out,
      transform 0.16s ease-out;
  }

  .nav-links.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .footer-inner {
    align-items: flex-start;
  }
}
