:root {
  --bg: #f4f8fb;
  --bg-2: #e8f1f7;
  --surface: #ffffff;
  --surface-2: #eef5fa;
  --line: rgba(16, 52, 82, 0.12);
  --line-strong: rgba(16, 52, 82, 0.22);
  --cyan: #1a8fc4;
  --cyan-2: #0f6f9c;
  --blue: #1a7db8;
  --text: #152533;
  --muted: #5b6d7c;
  --soft: #33475a;
  --ok: #1f9d6c;
  --danger: #c24b5a;
  --shadow: 0 16px 36px rgba(21, 54, 82, 0.08);
  --radius: 18px;
  --max: 1120px;
  --header: 88px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
}

body {
  min-height: 100vh;
  background: #f7fbfd;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cyan-2);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--cyan);
  color: #0d1218;
  padding: 8px 12px;
  z-index: 100;
  border-radius: 8px;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 88px 0;
  scroll-margin-top: calc(var(--header) + 10px);
}

#services {
  background: #e8f4fa;
}

#offres {
  background: #d5ebf5;
}

#methode {
  background: #f4fafd;
}

#maintenance {
  background: #cbe6f2;
}

#a-propos {
  background: #eef7fb;
}

#faq {
  background: #dceff7;
}

#contact {
  background: #e3f1f8;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.12;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  font-weight: 650;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 620;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.lead,
.section-intro {
  color: var(--muted);
  max-width: 62ch;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(238, 246, 251, 0.78);
  backdrop-filter: blur(16px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(238, 246, 251, 0.9);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 82px;
  height: 58px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.4rem;
}

.brand-name span {
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #6bc4e4 0%, #3a8fbc 100%);
  color: #0d1218;
  box-shadow: 0 8px 22px rgba(58, 143, 188, 0.22);
}

.btn-primary:hover {
  color: #0d1218;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(26, 143, 196, 0.08);
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 40px;
  scroll-margin-top: calc(var(--header) + 10px);
  background: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--soft);
  border: 1px solid var(--line);
  background: rgba(26, 143, 196, 0.08);
  border-radius: 999px;
  padding: 6px 10px;
}

.hero p.lead {
  font-size: 1.08rem;
  margin: 18px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 143, 196, 0.22), transparent 70%);
  filter: blur(10px);
}

.hero-visual img {
  position: relative;
  width: min(420px, 100%);
  filter: drop-shadow(0 18px 36px rgba(21, 54, 82, 0.12));
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 56px;
}

.trust article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 16px 18px;
}

.trust strong {
  display: block;
  font-size: 0.98rem;
}

.trust span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Cards */
.grid-4,
.grid-2,
.grid-3 {
  display: grid;
  gap: 16px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 14px;
  background: rgba(26, 143, 196, 0.1);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 14px;
}

.offers .card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 14px 0 4px;
}

.price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.card ul {
  margin: 14px 0 20px;
  padding: 0;
  list-style: none;
  color: var(--soft);
  flex: 1;
}

.card li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.card.featured {
  border-color: rgba(26, 143, 196, 0.4);
  box-shadow: 0 0 0 1px rgba(26, 143, 196, 0.1), var(--shadow);
  background: linear-gradient(180deg, #f4fbfe 0%, #eaf5fb 100%);
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10151b;
  background: var(--cyan);
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 600;
}

.fineprint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 18px;
}

.band {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(26, 143, 196, 0.12), rgba(255, 255, 255, 0.4)),
    var(--surface);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.band-text {
  margin: 8px 0 0;
}

.header-simple .nav {
  position: static;
  display: flex;
  background: none;
  border: 0;
  padding: 0;
  flex-direction: row;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.step {
  position: relative;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.step b {
  display: block;
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 12px;
  margin-bottom: 8px;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.about-panel {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  min-width: 0;
}

.about-brand {
  display: grid;
  place-items: center;
  width: 100%;
  background: #071018;
}

.about-brand-desktop {
  width: 100%;
  height: auto;
  display: block;
}

.about-brand-mobile {
  display: none !important;
  width: 160px;
  max-width: 48%;
  height: auto;
  margin: 0 auto;
}

.about-panel > div:not(.about-brand) {
  padding: 22px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
  margin: 8px 0 4px;
}

/* Form */
.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--soft);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
  border-color: transparent;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.88rem;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.92rem;
}

.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

.contact-aside {
  color: var(--muted);
}

.contact-aside a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-aside a:hover {
  color: var(--cyan);
}

/* Footer / legal */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
  background: #f7fbfd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer a {
  color: var(--soft);
  text-decoration: none;
}

.footer a:hover {
  color: var(--cyan);
}

.footer ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.footer li {
  margin: 6px 0;
}

.legal {
  padding: 48px 0 80px;
}

.legal h1 {
  max-width: none;
  margin-bottom: 12px;
}

.legal h2 {
  margin: 32px 0 10px;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .steps,
  .split,
  .trust,
  .footer-grid,
  .band,
  .plans {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 280px;
    order: -1;
  }

  .hero-visual img {
    width: 260px;
  }
}

@media (max-width: 760px) {
  .wrap,
  .header-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: var(--header) 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .header-simple .nav {
    position: static;
    display: flex;
    background: none;
    border: 0;
    padding: 0;
    flex-direction: row;
    inset: auto;
  }

  .header-simple .nav .btn {
    width: auto;
  }

  .nav a,
  .nav .btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
  }

  .grid-3,
  .grid-4,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .about-brand {
    padding: 28px 24px 4px;
    background: transparent;
  }

  .about-brand-desktop {
    display: none !important;
  }

  .about-brand-mobile {
    display: block !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
