/* MiddleSync landing page — Dohmsoft
   Palette inspirée du logo : marine, violet et or.
   Les dimensions et couleurs sont centralisées ici pour faciliter l'adaptation. */
:root {
  --navy: #0b0a2c;
  --navy-2: #111044;
  --ink: #17172b;
  --muted: #656579;
  --paper: #ffffff;
  --soft: #f6f6fa;
  --purple: #6541b9;
  --gold: #f4c72e;
  --gold-dark: #d99b0b;
  --line: #e8e7ef;
  --container: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 76px; background: #fff; border-bottom: 1px solid #efeff4; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 "Manrope", sans-serif; letter-spacing: -1px; }
.wordmark > span:last-child > span { color: var(--gold-dark); }
.wordmark-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #fff; background: linear-gradient(145deg, #8c5be0, #40218b); font-size: 17px; }
nav { display: flex; align-items: center; gap: 34px; color: #55556a; font-size: 14px; font-weight: 600; }
nav a:hover, .text-link:hover { color: var(--gold-dark); }
.nav-cta { color: var(--navy); }
.nav-cta span { color: var(--gold-dark); margin-left: 5px; }
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 78% 48%, #25206b 0, #151044 34%, var(--navy) 72%); }
.hero-glow { position: absolute; width: 580px; height: 580px; right: 4%; top: -28%; border-radius: 50%; background: #5b35bd; opacity: .15; filter: blur(90px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 40px; min-height: 610px; padding-block: 70px; }
.eyebrow { margin: 0 0 20px; color: #e8c54c; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-dot, .status-pulse { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--gold); vertical-align: 1px; box-shadow: 0 0 0 4px #f4c72e20; }
.hero h1, h2 { margin: 0; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.045em; line-height: 1.12; }
.hero h1 { max-width: 680px; font-size: clamp(38px, 4.4vw, 57px); }
.hero h1 span, h2 span { color: var(--gold); }
.hero-lead { max-width: 600px; margin: 25px 0 29px; color: #d1d0e3; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 15px; padding: 0 22px; border-radius: 6px; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #17132e; background: linear-gradient(110deg, #ffe66c, #eab31c); box-shadow: 0 8px 26px #eab31c22; }
.button-primary:hover { background: #ffdf51; }
.text-link { color: #e6e4f2; font-size: 13px; font-weight: 600; }
.text-link span { margin-left: 5px; color: var(--gold); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 37px; color: #b8b6d0; font-size: 12px; }
.hero-points i { margin-right: 6px; color: var(--gold); font-style: normal; font-weight: 700; }
.hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-visual img { display: block; width: min(100%, 490px); height: auto; mix-blend-mode: screen; }
.visual-caption { margin-top: -3px; padding: 10px 16px; border: 1px solid #ffffff20; border-radius: 99px; color: #d4d2e6; background: #ffffff09; font-size: 11px; }
.status-pulse { width: 6px; height: 6px; background: #7ce0a2; box-shadow: 0 0 0 4px #7ce0a21c; }
.hero-bottom-line { height: 3px; background: linear-gradient(90deg, transparent, #7447c5 25%, #f3c52b 70%, transparent); opacity: .8; }
.section { padding-block: 104px; }
.problem-grid, .value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.eyebrow-dark { color: #7851bc; }
h2 { font-size: clamp(32px, 3.4vw, 44px); }
.problem h2 span, .section-heading h2 span, .value h2 span { color: #7851bc; }
.problem-copy { color: var(--muted); font-size: 15px; }
.problem-copy p:first-child { margin-top: 0; }
.problem-copy .strong-line { color: var(--ink); font-weight: 700; }
.how { background: var(--soft); }
.section-heading { max-width: 700px; margin: 0 auto 55px; text-align: center; }
.section-heading > p:last-child { max-width: 590px; margin: 18px auto 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; gap: 20px; align-items: center; }
.step { min-height: 280px; padding: 29px 27px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 8px 30px #17172b08; }
.step-number { color: #9b8ac5; font: 800 12px "Manrope", sans-serif; letter-spacing: .12em; }
.step-icon { display: grid; place-items: center; width: 51px; height: 51px; margin: 20px 0 18px; border-radius: 13px; color: #6f4ab8; background: #f0ebfa; }
.step-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step h3, .security-item h3, .software-card h3 { margin: 0 0 9px; font: 700 17px "Manrope", sans-serif; letter-spacing: -.025em; }
.step p, .security-item p, .software-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.step-connector { color: #b5a1db; font-size: 23px; text-align: center; }
.security { color: #fff; background: linear-gradient(115deg, #11103d, #0b0a2c); }
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.security h2 { font-size: clamp(32px, 3.3vw, 43px); }
.security-copy > p:last-child { max-width: 490px; margin: 22px 0 0; color: #c4c2d9; font-size: 15px; }
.security-list { display: grid; gap: 27px; }
.security-item { display: grid; grid-template-columns: 46px 1fr; gap: 17px; }
.security-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d5b94c55; border-radius: 10px; color: var(--gold); background: #f4c72e12; font-size: 23px; }
.security-item h3 { color: #fff; font-size: 16px; }
.security-item p { color: #b9b7d0; }
.compatibility { background: #fff; }
.software-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.software-card { min-height: 190px; padding: 27px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.software-kicker { display: block; margin-bottom: 17px; color: #7954b9; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.software-card h3 { font-size: 16px; line-height: 1.55; }
.software-card h3 span { color: #b9a4dd; }
.compatibility-note { margin: 18px 0 0; color: #89899a; font-size: 11px; text-align: center; }
.value { background: var(--soft); }
.value-grid { gap: 90px; }
.value-copy { color: var(--muted); font-size: 15px; }
.value-copy p { margin-top: 0; }
.value-copy ul { display: grid; gap: 10px; margin: 23px 0 0; padding: 0; list-style: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.value-copy li { position: relative; padding-left: 27px; }
.value-copy li::before { position: absolute; left: 0; color: #8058bd; content: "✓"; font-weight: 800; }
.cta { padding-block: 83px; color: #fff; text-align: center; background: radial-gradient(ellipse at 50% 0%, #29206e, #11103d 58%, #0b0a2c); }
.cta-inner { max-width: 760px; }
.cta h2 { font-size: clamp(33px, 4vw, 49px); }
.cta-inner > p:not(.eyebrow) { margin: 19px 0 27px; color: #cfcee1; }
.button-light { color: #19152f; background: #fff; }
.button-light:hover { background: #f7edc7; }
.cta-footnote { display: block; margin-top: 28px; color: #a7a4c4; font-size: 11px; }
.site-footer { height: 86px; color: #77778b; background: #08071f; font-size: 11px; }
.footer-wordmark { color: #fff; font-size: 16px; }
.footer-wordmark .wordmark-mark { width: 25px; height: 25px; font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-inner > a:last-child { color: #c9c6dc; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr .75fr; gap: 15px; }
  .hero-visual img { width: 120%; max-width: none; }
  .problem-grid, .security-grid, .value-grid { gap: 48px; }
  .steps { gap: 10px; }
  .step { padding: 23px 18px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 36px, var(--container)); }
  .site-header { height: auto; min-height: 68px; }
  .header-inner { min-height: 68px; }
  nav { gap: 0; }
  nav a:not(.nav-cta) { display: none; }
  nav .nav-cta { font-size: 12px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding-block: 65px 48px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-lead { font-size: 16px; }
  .hero-visual { margin-top: 8px; }
  .hero-visual img { width: min(100%, 420px); }
  .visual-caption { margin-top: -10px; }
  .hero-points { gap: 8px 15px; margin-top: 28px; }
  .section { padding-block: 72px; }
  .problem-grid, .security-grid, .value-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-heading { margin-bottom: 35px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: 0; }
  .step-connector { transform: rotate(90deg); }
  .software-grid { grid-template-columns: 1fr; }
  .software-card { min-height: 0; }
  .cta { padding-block: 70px; }
  .site-footer { height: auto; padding-block: 24px; }
  .footer-inner { flex-wrap: wrap; gap: 15px; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
