:root {
  --navy: #0B0D17;
  --navy-soft: #121524;
  --blue: #3355FF;
  --blue-soft: rgba(51, 85, 255, 0.12);
  --mint: #4FD8A0;
  --mint-soft: rgba(79, 216, 160, 0.14);
  --gray: #6B7280;
  --gray-light: #9AA0A6;
  --border: #E7E9EF;
  --white: #FFFFFF;
  --bg: #F7F8FB;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(51, 85, 255, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(51, 85, 255, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--gray);
  font-size: 16px;
  max-width: 620px;
  margin-bottom: 48px;
}

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

section { padding: 96px 0; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.nav-brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:not(.btn):hover { color: var(--blue); }

.nav-toggle-input { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 18px;
  }
  .nav-toggle-input:checked ~ .nav-links { display: flex; }
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 22px;
  }
  .nav-toggle-label span { height: 2px; background: var(--navy); border-radius: 2px; }
}

/* ---------- Hero ---------- */

.hero-scroll { position: relative; height: 300vh; }

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #1a1f38 0%, var(--navy) 65%);
}

.hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: var(--nav-height, 70px);
  box-sizing: border-box;
}

.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  width: 320px;
  height: 220px;
}

.hero-media .layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .img-chaos { z-index: 2; }
.hero-media .img-calme { z-index: 1; }

.hero-title-block {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--gray-light);
  max-width: 480px;
  line-height: 1.5;
}

.hero-title-row {
  display: flex;
  gap: 0.35em;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--white);
}

.hero-title-row span { display: inline-block; will-change: transform, opacity; }
.hero-title-row .accent { color: var(--blue); }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 13px;
  color: var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-hint .arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--gray-light);
  border-bottom: 2px solid var(--gray-light);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(4px, 4px); }
}

.notif-cards { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

.notif-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 21, 36, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 13px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 260px;
  opacity: 0;
}

.notif-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-icon.blue { background: rgba(51, 85, 255, 0.18); color: var(--blue); }
.notif-icon.mint { background: rgba(79, 216, 160, 0.18); color: var(--mint); }

.notif-text .title { font-size: 14px; font-weight: 600; color: var(--white); }
.notif-text .sub { font-size: 12.5px; color: #b7bcc6; margin-top: 3px; }

.card-1 { top: 12%; right: 4%; }
.card-2 { top: 30%; right: 12%; }
.card-3 { top: 50%; right: 2%; }
.card-4 { top: 68%; right: 14%; }

@media (max-width: 767px) {
  .notif-cards { display: none; }
}

@media (max-width: 480px) {
  .hero-title-row {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ---------- Automatisations grid ---------- */

.automations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.automation-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.automation-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.automation-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.automation-card p { font-size: 14.5px; color: var(--gray); }

/* ---------- Comment ca marche ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step { position: relative; padding-left: 4px; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--gray); }

/* ---------- Offre de lancement ---------- */

.offer {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1f45 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}

.offer .eyebrow { color: var(--mint); }

.offer h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  margin-bottom: 14px;
}

.offer p {
  color: var(--gray-light);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 15.5px;
}

.offer-deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 216, 160, 0.14);
  color: var(--mint);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ---------- A propos ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}

.about-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.about-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  padding: 28px;
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--mint-soft) 100%);
  box-shadow: 0 20px 50px rgba(51, 85, 255, 0.15);
}

.about-text p { margin-bottom: 16px; color: #3a3f4a; font-size: 15.5px; }
.about-text p:last-child { margin-bottom: 0; }

.about-signature {
  margin-top: 24px;
  font-weight: 700;
  color: var(--navy);
}

.about-signature span {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: 13.5px;
  margin-top: 2px;
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.contact-card h3 { font-size: 18px; margin-bottom: 10px; }
.contact-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 20px; }

.contact-email {
  display: block;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--navy);
  font-weight: 600;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-honeypot { position: absolute; left: -9999px; opacity: 0; }

.form-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}

.form-alert.success { background: var(--mint-soft); color: #1a6b4c; }
.form-alert.error { background: #fdecea; color: #9c2b1f; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

footer {
  background: var(--navy);
  color: var(--gray-light);
  padding: 40px 0;
  text-align: center;
  font-size: 13.5px;
}

footer .nav-brand { justify-content: center; color: var(--white); margin-bottom: 10px; }
