:root {
  --brand: #0033ff;
  --brand-mid: #0066ff;
  --brand-soft: #eef4ff;
  --brand-border: #bad0ff;
  --bg: #e8ecf4;
  --bg-deep: #d4dae8;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --text: #0c1222;
  --text-soft: #5c6578;
  --border: rgba(15, 30, 60, 0.12);
  --shadow-window: 0 32px 80px rgba(12, 18, 40, 0.18), 0 8px 24px rgba(12, 18, 40, 0.08);
  --radius-window: 14px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(0, 51, 255, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(0, 102, 255, 0.1), transparent 50%),
    linear-gradient(180deg, #e4e9f2 0%, #eef1f8 40%, #e2e6f0 100%);
  pointer-events: none;
}

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

code {
  font-size: 0.85em;
  background: rgba(0, 51, 255, 0.08);
  padding: 0.12em 0.35em;
  border-radius: 6px;
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 51, 255, 0.2);
}

.brand-text {
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--brand);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 51, 255, 0.35);
}

.btn-primary:hover {
  background: var(--brand-mid);
}

.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand-border);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

.btn-compact {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
  margin-top: auto;
}

.btn-on-dark {
  background: #fff;
  color: var(--brand);
  border: 0;
}

.btn-on-dark:hover {
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* —— Hero —— */
.hero-desktop {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  align-items: start;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-text {
  margin-top: 1.1rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 52ch;
}

.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  max-width: 52ch;
  line-height: 1.5;
}

/* —— Fenêtre type macOS —— */
.hero-visual {
  position: relative;
}

.mac-window {
  background: var(--surface);
  border-radius: var(--radius-window);
  box-shadow: var(--shadow-window);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-width: 640px;
  margin-left: auto;
}

.mac-titlebar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #f5f6f8 0%, #ebecef 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic .t {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.t-red {
  background: #ff5f57;
}
.t-yellow {
  background: #febc2e;
}
.t-green {
  background: #28c840;
}

.mac-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.02em;
}

.mac-spacer {
  width: 52px;
}

.mac-toolbar {
  display: flex;
  gap: 0.25rem;
  padding: 0.4rem 0.75rem 0.5rem;
  background: #fafbfc;
  border-bottom: 1px solid var(--border);
}

.tb-item {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 7px;
}

.tb-item.is-active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mac-body {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 280px;
}

.mac-sidebar {
  background: linear-gradient(180deg, #f8f9fc 0%, #f0f2f7 100%);
  border-right: 1px solid var(--border);
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sb-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.sb-brand-name {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.sb-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 51, 255, 0.22);
}

.sb-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.sb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
}

.sb-list li {
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  margin-bottom: 2px;
}

.sb-list li.is-on {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sb-foot {
  margin-top: auto;
  font-size: 0.72rem;
}

.muted {
  color: var(--text-soft);
}

.mac-content {
  padding: 1rem 1.1rem 1.15rem;
  background: #fff;
}

.mc-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mc-head p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
}

.mc-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.45rem 0.55rem 0.45rem 0.65rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #f9fafb;
}

.mc-search-ico {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #c5cad6;
  flex-shrink: 0;
}

.mc-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 0.82rem;
  color: var(--text-soft);
  min-width: 0;
  font-family: inherit;
}

.mc-search-btn {
  border: 0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  font-size: 0.78rem;
  background: #fff;
  color: var(--brand);
  cursor: default;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.mc-grid {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr 1fr;
}

.tile {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.65rem 0.75rem;
  background: #fafbff;
}

.tile h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.tile p {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.tile-wide {
  grid-column: 1 / -1;
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 70ch;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 1rem;
}

.section-download .section-title {
  text-align: center;
}

.section-download .section-lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.download-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 16px 40px rgba(12, 18, 40, 0.06);
}

.download-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.download-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}

.dl-meta {
  font-size: 0.82rem !important;
  font-weight: 600;
  color: var(--brand) !important;
}

.dl-icon {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.dl-icon-win {
  color: var(--brand);
}

.steps {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.steps-wide article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.15rem;
}

.steps span {
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
}

.steps h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.chips {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips span {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.reviews {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.reviews-artisans article {
  position: relative;
  padding-top: 2.35rem;
}

.pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--brand-border);
}

.reviews article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.05rem;
}

.reviews h3 {
  margin: 0;
  font-size: 1rem;
}

.reviews p {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0.65rem 0 0.75rem;
  font-size: 0.92rem;
}

.reviews small {
  color: #4b5563;
  font-weight: 600;
  font-size: 0.82rem;
}

.faq {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.6rem;
  max-width: 800px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.cta {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-box {
  background: linear-gradient(135deg, #0028cc 0%, #0033ff 45%, #0a1a4a 100%);
  color: #fff;
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 24px 60px rgba(0, 51, 255, 0.25);
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  letter-spacing: -0.02em;
}

.cta-box > p {
  margin: 0.75rem 0 0;
  max-width: 58ch;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.cta-form {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  min-width: 240px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 0.82rem 1rem;
  font-size: 0.97rem;
  font-family: inherit;
}

.form-feedback {
  min-height: 1.25rem;
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-inner div {
  display: flex;
  gap: 1.25rem;
}

.footer-inner a:hover {
  color: var(--brand);
}

.footer-inner div {
  flex-wrap: wrap;
}

.legal-page .site-header {
  position: relative;
}

.legal-wrap {
  width: min(760px, 92%);
  margin: 0 auto;
  padding: 36px 0 88px;
}

.legal-wrap h1 {
  font-size: 2rem;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.legal-meta {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0 0 22px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.legal-nav a {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.92rem;
}

.legal-wrap h2 {
  font-size: 1.12rem;
  margin: 1.85rem 0 0.55rem;
  letter-spacing: -0.02em;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.98rem;
}

.legal-wrap ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 0.8rem;
}

.legal-wrap a {
  color: var(--brand);
  font-weight: 600;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .mac-window {
    margin-left: 0;
    max-width: none;
  }

  .nav-links {
    display: none;
  }

  .steps,
  .reviews,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .mac-body {
    grid-template-columns: 1fr;
  }

  .mac-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
  }

  .sb-foot {
    margin-top: 0;
    width: 100%;
  }
}

@media (min-width: 1400px) {
  .container {
    width: min(1320px, 90%);
  }
}
