:root {
  --primary: #3a617d;
  --primary-dark: #26435b;
  --bg: #141418;
  --bg-light: #22232a;
  --bg-card: #18181c;
  --text: #f6f7fa;
  --text-soft: #bfc2c7;
  --shadow: 0 4px 32px rgba(0,0,0,0.09);
  --radius: 16px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/** NAVIGATION **/
.navbar {
  background: rgba(20,20,24,0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,.03);
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 999;
  border-bottom: 1px solid #23232b;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 21px;
  color: #fff;
  gap: 8px;
  text-decoration: none;
  letter-spacing: -1px;
}

.logo img {
  height: 32px;
  width: auto;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  text-decoration: none;
  color: var(--text-soft);
  transition: color .17s;
  font-weight: 500;
  position: relative;
  padding: 6px 4px;
}

.nav-links a:hover,
.nav-links a.btn-secondary:hover {
  color: #fff;
}

.nav-links .btn-secondary {
  border: 1.5px solid #3a617d;
  border-radius: 8px;
  padding: 7px 20px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  transition: background .19s, color .19s, border .19s;
}

.nav-links .btn-secondary:hover {
  background: #3a617d;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width:900px) {
  .container { padding: 0 12px;}
  .nav-links { gap: 12px;}
  .navbar .container {flex-wrap: wrap;}
}


/******** HERO ********/
.hero {
  min-height: 90vh;
  padding-top: 128px;
  padding-bottom: 32px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #17171b 30%, #1f2330 100%);
}
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1 1 410px;
  min-width: 320px;
}
.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.14;
  color: #fff;
  letter-spacing: -.6px;
}
.hero-content .highlight {
  color: var(--primary);
  font-weight: 700;
}
.hero-content p {
  color: var(--text-soft);
  font-size: 1.18rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}

.btn {
  font-family: inherit;
  font-size: 16px;
  border-radius: 7px;
  padding: 13px 30px;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  border: none;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background .15s, color .15s, border .15s, box-shadow .18s;
}

.btn-primary {
  background: #fff;
  color: var(--primary-dark);
  border: 1.5px solid #fff;
}
.btn-primary:hover {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover {
  color: #fff;
  background: var(--primary);
  border: 1.5px solid var(--primary);
}

.hero-visual {
  flex: 1 1 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height:320px;
  padding-left: 18px;
}
.hero-svg {
  max-width: 410px;
  width: 98vw;
  height: auto;
  display: block;
}

/******** SECTION ********/
.section {
  padding: 96px 0 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 54px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto;
}

/********* ETAPES **********/
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 38px;
  justify-content: center;
  align-items: stretch;
}
.step-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 32px;
  text-align: center;
  border: 1.5px solid #22242c;
  transition: box-shadow .18s, border .18s;
}
.step-card:hover {
  border: 1.5px solid var(--primary);
  box-shadow: 0 6px 32px rgba(58, 97, 125, 0.13);
}
.step-icon {
  font-size: 42px;
  margin-bottom: 19px;
}
.step-title {
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 13px;
}
.step-description {
  color: var(--text-soft);
  font-size: 1.07rem;
  line-height: 1.62;
}

/******** AVANTAGES *******/
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 28px;
  margin-top: 14px;
}
.benefit-item {
  padding: 26px 22px 30px 22px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1.3px solid #23232b;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-align: center;
  transition: box-shadow .16s, border .16s;
}
.benefit-item:hover {
  box-shadow: 0 6px 24px rgba(58, 97, 125, 0.13);
  border: 1.5px solid var(--primary);
}
.benefit-icon {
  font-size: 32px;
  margin-bottom: 13px;
}
.benefit-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 9px;
}
.benefit-description {
  color: var(--text-soft);
  font-size: .99rem;
  line-height: 1.5;
}
.benefit-description a {
  color: var(--primary);
  text-decoration: underline;
}


/******** PRICING ********/
.pricing-card {
  margin: 0 auto;
  max-width: 370px;
  background: var(--bg-card);
  border: 1.8px solid #21212b;
  border-radius: 19px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align:center;
}
.pricing-header {
  padding: 32px 0 16px 0;
  border-bottom: 1.1px solid #23232b;
}
.pricing-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.pricing-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.pricing-period {
  font-size: 1.1rem;
  color: var(--text-soft)
}
.pricing-features {
  list-style:none;
  margin:0;
  padding: 14px 30px 0 30px;
  text-align:left;
}
.pricing-features li {
  border-bottom: 1px solid #23232b;
  font-size: 1.05rem;
  color: var(--text-soft);
  padding: 13px 0;
}
.pricing-features li:last-child { border-bottom:none; }
.pricing-footer {
  padding: 26px 0 22px 0;
}
.pricing-footer p {
  color: var(--text-soft);
  font-size: 1.04rem;
  margin-bottom: 1.3rem;
}

/********* FORMULAIRE *********/
.form-container {
  margin: 0 auto;
  max-width: 430px;
}
.service-form {
  background: var(--bg-card);
  border-radius: 13px;
  padding: 34px 28px 26px 28px;
  border: 1.1px solid #24242b;
  box-shadow:var(--shadow);
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 1.04rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 7px;
}
.form-input,
.form-select {
  width: 100%;
  padding: 13px 15px;
  background: #18181c;
  color: #fff;
  font-size: 1.06rem;
  border-radius: 7px;
  border: 1.3px solid #292931;
  box-shadow: 0 1px 2px #17171b13;
  outline: none;
  transition: border .19s, box-shadow .19s;
}
.form-input:focus, .form-select:focus {
  border:1.3px solid var(--primary);
  box-shadow: 0 1px 8px #3a617d22;
}
.form-input::placeholder { color: #bfc2c7b7; }
.form-submit {
  margin-top: 16px;
}

.confirmation {
  background: var(--bg-card);
  border: 1.3px solid var(--primary);
  border-radius: 11px;
  padding: 36px 26px;
  margin-top: 30px;
  text-align: center;
}
.confirmation-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.confirmation-text {
  color: var(--text-soft);
  margin-bottom:10px;
}
.confirmation-email {
  display: inline-block;
  background: #3a617d1a;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 12px;
}

.form-container .hidden {
  display: none;
}

/***** CONTACT *******/
#contact .form-container {
  box-shadow: none;
  background: none;
  border: none;
  max-width:400px;
}
#contact .btn {
  min-width: 220px;
}
#contact .form-container a {
  color: var(--primary);
  font-weight: 600;
}
#contact .form-container a:hover {
  color: #fff;
  background: var(--primary);
  text-decoration: none;
}
#contact .form-container p {margin-bottom:0;font-size:.97rem;}

/******** FOOTER *********/
.footer {
  background: #15151a;
  padding: 38px 0 28px 0;
  font-size: 1.05rem;
  border-top: 1.4px solid #21212b;
  margin-top: 100px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align:center;
}
.footer-logo img {
  height: 30px;
  width: auto;
  margin-bottom: 7px;
}
.footer-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 2px;
  flex-wrap:wrap;
}
.footer-links a {
  color: var(--text-soft);
  font-size:.97rem;
  text-decoration: none;
  transition: color .18s;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  color: #8b8e99;
  font-size: .92rem;
}
.footer-legal a {
  color: var(--primary);
  text-decoration: underline;
  margin: 0 4px;
}

/********* RESPONSIVE *********/
/* Tablette */
@media (max-width: 900px) {
  .hero-flex {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }
  .hero-content, .hero-visual { min-width: 0; }
  .hero-svg { max-width: 330px;}
}

@media (max-width: 600px) {
  .navbar .container {
    flex-direction: column;
    gap:11px;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }
  .section { padding: 63px 0 20px 0; }
  .section-header { margin-bottom: 36px;}
  .section-title { font-size: 1.29rem;}
  .steps-grid, .benefits-grid { gap: 13px;}
  .form-container, .service-form { padding: 18px 7px;}
  .hero-content h1 { font-size:1.58rem; }
}

/* Hide confirmation if class="hidden" (compatibilité JS) */
.hidden { display:none; }
