:root {
  --bg: #070b14;
  --surface: #0f1626;
  --surface-2: #121d33;
  --text: #f3f7ff;
  --muted: #a8b4cc;
  --primary: #4a7bff;
  --primary-strong: #325fd6;
  --line: #22314d;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #05070d;
  color: var(--text);
  line-height: 1.55;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #05070d;
  border-bottom: 1px solid #111826;
  backdrop-filter: blur(9px);
}

.topbar {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  line-height: 1;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.82rem;
  font-weight: 500;
}

.menu a {
  color: #d5deef;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 0 0 44px;
}

.hero-panel {
  position: relative;
  min-height: 560px;
  border-top: 1px solid #121a28;
  border-bottom: 1px solid #121a28;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url("https://images.unsplash.com/photo-1515879218367-8466d910aaa4?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center 34%;
  transform: scale(1.06);
  filter: blur(1.4px) brightness(0.62) contrast(1.08) saturate(1.08);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.44) 72%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: min(900px, 96%);
  margin-top: -24px;
}

.hero h1 {
  margin: 0 auto 16px;
  max-width: 760px;
  font-weight: 850;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 auto 28px;
  color: #cfd8ea;
  font-size: clamp(1rem, 1.8vw, 1.9rem);
  max-width: 700px;
}

.cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-main {
  background: linear-gradient(90deg, #4c78ff 0%, #8d42ff 45%, #ff006a 100%);
  color: #fff;
  min-width: 202px;
  box-shadow: 0 10px 26px rgba(109, 64, 255, 0.34);
}

.btn-main:hover {
  filter: brightness(1.05);
}

.btn-light {
  background: #ffffff;
  border-color: #ffffff;
  color: #141823;
}

section { padding: 52px 0; }

h2.title {
  margin: 0 0 14px;
  text-align: center;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  color: var(--muted);
  font-size: 1.03rem;
}

.mock-wrapper {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-head {
  height: 52px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #152340 0%, #0e1a31 100%);
  font-size: 0.93rem;
  font-weight: 700;
}

.mock-main {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.hello {
  background: #182848;
  border: 1px solid #2c4370;
  border-radius: 12px;
  width: fit-content;
  padding: 10px 12px;
}

.faq-title { font-weight: 700; }

.faq-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.faq {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.faq b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.faq span {
  color: var(--muted);
  font-size: 0.87rem;
}

#service {
  background: #02050b;
  border-top: 1px solid #111826;
  border-bottom: 1px solid #111826;
}

.steps-grid {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 22px 10px 4px;
  border: 1px solid #111b30;
  border-radius: 22px;
  scrollbar-width: thin;
  scrollbar-color: #283a61 transparent;
}

.step {
  position: relative;
  flex: 0 0 190px;
  min-height: 286px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 16px 56px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.36);
  color: #fff;
  overflow: hidden;
}

.step .num {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step h3 {
  font-size: 1.52rem;
  margin: 10px 0 8px;
  line-height: 1.15;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  line-height: 1.38;
}

.step .plus {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  color: #0b1020;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  user-select: none;
}

.step.s1 { background: linear-gradient(150deg, #4f8bff 0%, #5e6ce5 60%, #7c79ff 100%); }
.step.s2 { background: linear-gradient(150deg, #6f6bff 0%, #6f26b8 60%, #7f34ca 100%); }
.step.s3 { background: linear-gradient(150deg, #8a2bc2 0%, #7b2db5 55%, #6d2d97 100%); }
.step.s4 { background: linear-gradient(150deg, #9b2ac6 0%, #8d24b0 58%, #ca2b97 100%); }
.step.s5 { background: linear-gradient(150deg, #b1198e 0%, #ce1f88 55%, #ef357e 100%); }
.step.s6 { background: linear-gradient(150deg, #b51d8d 0%, #d62d73 55%, #ef4f71 100%); }

#service .title {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
}

#service .lead {
  max-width: 980px;
  color: #d4deef;
}

#contact {
  background: #05070d;
  border-top: 1px solid #111826;
  border-bottom: 1px solid #111826;
}

#contact .title,
#contact .lead {
  display: none;
}

.contact-grid {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
}

.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* ─── Alertes succès / erreur ─── */
.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.alert-success {
  background: rgba(0, 200, 100, 0.12);
  border: 1px solid rgba(0, 200, 100, 0.35);
  color: #6ce29a;
}

.alert-error {
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.35);
  color: #ff8080;
}

label {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #f4f7ff;
}

input, textarea {
  width: 100%;
  padding: 18px 16px;
  margin-bottom: 22px;
  font-size: 1.02rem;
  border: 1px solid #1f2b44;
  background: #171f2f;
  color: #f2f7ff;
  border-radius: 14px;
  font-family: inherit;
}

.hidden-trap {
  display: none !important;
  visibility: hidden;
}

input::placeholder,
textarea::placeholder {
  color: #98a9ca;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

#contact .btn-main {
  width: 100%;
  padding: 14px 24px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(140, 88, 255, 0.2), 0 10px 24px rgba(106, 71, 255, 0.5);
}

footer {
  margin-top: 44px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #0a1222;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 14px;
  font-size: 0.9rem;
}

.foot-grid h4 {
  margin: 0 0 8px;
  font-size: 0.96rem;
}

.foot-grid a {
  display: block;
  text-decoration: none;
  color: #cedbff;
  margin-bottom: 5px;
}

@media (max-width: 940px) {
  .steps-grid { border-radius: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-panel { min-height: 500px; }
}

@media (max-width: 720px) {
  .menu { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .step { flex-basis: 220px; min-height: 270px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 430px; }
}
