
:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  --bg: #0b0d12;
  --surface: #11141c;
  --surface-hover: #191e29;
  --text: #f4f6fa;
  --muted: #9ca5b5;
  --border: #272d39;
  --accent: #8397ff;
  --accent-strong: #b0bdff;
  --button-bg: #f3f5fa;
  --button-text: #10131b;
  --header-bg: rgba(11, 13, 18, .88);

  margin: 0;
  color: var(--text);
  background: var(--bg);
  transition: background .2s, color .2s;
}

body[data-theme="light"] {
  --bg: #fff;
  --surface: #f6f7fa;
  --surface-hover: #eceef4;
  --text: #171a23;
  --muted: #646c7b;
  --border: #e1e4eb;
  --accent: #435de3;
  --accent-strong: #435de3;
  --button-bg: #171b28;
  --button-text: #fff;
  --header-bg: rgba(255, 255, 255, .9);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

/* Navigation */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.7px;
}

.brand strong {
  font-weight: 400;
  color: var(--muted);
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  font-weight: 650;
}

/* En-tête des pages internes */

.page-hero {
  padding-top: 90px;
}

.page-hero h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  margin: 18px 0 16px;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 17px;
}

.menu-toggle {
  display: none;
}

/* Hero */

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 55px;
  padding-top: 85px;
  padding-bottom: 105px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63cba1;
  box-shadow: 0 0 12px #63cba180;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(40px, 5vw, 66px);
  letter-spacing: -3.2px;
  line-height: 1.09;
  margin: 24px 0;
  font-weight: 750;
}

.gradient-text {
  background: linear-gradient(
    115deg,
    var(--accent-strong),
    #85b7ff,
    #9f8bff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description,
.section-description {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 550px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.hero-pills span {
  font-size: 11px;
  padding: 9px 12px;
  color: var(--accent-strong);
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 33px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  transition: transform .2s, background .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--button-bg);
  color: var(--button-text);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
}

.btn-secondary:hover {
  background: var(--surface-hover);
}

.hero-note {
  color: var(--muted);
  font-size: 12px;
  margin: 22px 0 0;
}

/* Aperçu du bureau */

.hero-visual {
  position: relative;
}

.visual-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(
    ellipse,
    #526cff2a,
    transparent 70%
  );
  filter: blur(35px);
  pointer-events: none;
}

.desktop-preview {
  position: relative;
  height: 365px;
  border: 1px solid #384257;
  border-radius: 17px;
  background: linear-gradient(
    135deg,
    #1c2540,
    #101727 55%,
    #222045
  );
  overflow: hidden;
  box-shadow: 0 30px 90px #0005;
}

.preview-topbar {
  height: 38px;
  background: #101522b8;
  color: #e4e9f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  font-size: 11px;
}

.preview-window {
  width: 80%;
  margin: 43px auto 0;
  border-radius: 11px;
  background: #151b2a;
  border: 1px solid #46516b;
  box-shadow: 0 20px 50px #0007;
  overflow: hidden;
}

.window-toolbar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 13px;
  color: #aeb8d0;
  font-size: 10px;
  background: #20283a;
}

.window-controls {
  display: flex;
  gap: 5px;
}

.window-controls i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65718b;
}

.window-body {
  padding: 28px 16px;
  text-align: center;
  color: #f1f3ff;
}

.window-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  border: 1px solid #7389ff66;
  border-radius: 14px;
  background: #657dff22;
  color: #b3c0ff;
  font-size: 28px;
  font-weight: 800;
}

.window-body h3 {
  font-size: 14px;
  margin-bottom: 9px;
}

.window-body p {
  color: #9ba8c4;
  font-size: 11px;
}

.window-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.window-tags span {
  font-size: 9px;
  padding: 7px 9px;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 6px;
}

.preview-dock {
  position: absolute;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  padding: 9px 18px;
  background: #151b2bcc;
  border: 1px solid #ffffff22;
  border-radius: 12px;
  color: #d7e0ff;
}

.visual-caption {
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  margin-top: 16px;
}

/* Sections */

.section {
  padding: 105px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

h2 {
  font-size: clamp(29px, 3.5vw, 43px);
  letter-spacing: -1.6px;
  line-height: 1.2;
  margin: 16px 0;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.8;
}

/* Gratuité */

.free-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.free-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.free-highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.free-amount {
  font-size: 55px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--accent-strong);
}

.free-highlight > span:last-child {
  font-size: 13px;
  color: var(--muted);
}

.free-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 22px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #6b9bff1c;
  color: var(--accent-strong);
  font-weight: 700;
}

.benefit h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.benefit p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Fonctionnalités */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--surface-hover);
  color: var(--accent-strong);
  font-size: 23px;
  margin-bottom: 23px;
}

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 11px;
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* Développement */

.development-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.text-link {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 650;
  display: inline-block;
  margin-top: 15px;
}

.roadmap {
  border-left: 1px solid var(--border);
  padding-left: 28px;
}

.roadmap-item {
  position: relative;
  padding-bottom: 31px;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-indicator {
  position: absolute;
  left: -35px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
}

.roadmap-indicator.complete {
  background: #67c6a2;
  border-color: #67c6a2;
}

.roadmap-indicator.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px #788bff18;
}

.roadmap-item h3 {
  font-size: 15px;
  margin-bottom: 7px;
}

.roadmap-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 7px;
}

.roadmap-item small {
  color: var(--accent-strong);
  font-size: 11px;
}

/* Téléchargements */

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 35px 0;
}

.download-panel p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 610px;
}

.download-free {
  color: var(--accent-strong) !important;
  font-size: 12px;
  margin-top: 20px;
}

.download-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.availability {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  border-radius: 30px;
  padding: 13px 20px;
  white-space: nowrap;
  font-size: 12px;
}

.download-action small {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* Conclusion */

.closing-section {
  padding: 110px 0;
  text-align: center;
}

.closing-section h2 {
  font-size: clamp(34px, 4.5vw, 55px);
}

.closing-section p {
  color: var(--muted);
  margin: 20px 0 30px;
}

.closing-section .btn {
  margin: auto;
}

/* Pied de page */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand p,
.copyright {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* Tablettes */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 65px;
    gap: 50px;
  }

  .hero-content {
    max-width: 650px;
  }

  .hero-visual {
    max-width: 600px;
    width: 100%;
    margin: auto;
  }

  .free-layout,
  .development-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobiles */

@media (max-width: 650px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
  }

  .menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 4px;
  }

  .theme-toggle {
    margin-top: 10px;
  }

  .hero {
    min-height: unset;
    padding-top: 70px;
    padding-bottom: 80px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .desktop-preview {
    height: 300px;
  }

  .preview-window {
    margin-top: 30px;
    width: 86%;
  }

  .window-body {
    padding: 17px;
  }

  .section {
    padding: 75px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .download-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-action {
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .closing-section {
    padding: 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
