/* ====== DUREV — STYLES PARTAGÉS ====== */

:root {
  --bleu-leman: #0B3D5C;
  --bleu-lac: #2B7BA8;
  --blanc-lin: #FAFAF8;
  --orange-chaud: #F4A742;
  --anthracite: #1A2832;
  --gris-doux: #7C8993;
  --gris-clair: #E8E9EB;
  --max-width: 1200px;
  --gap-section: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--anthracite);
  background: var(--blanc-lin);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', -apple-system, sans-serif;
  color: var(--bleu-leman);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 4vw, 32px); }
h3 { font-size: clamp(20px, 3vw, 24px); font-weight: 500; }

a { color: var(--bleu-lac); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== NAVIGATION ====== */
nav {
  position: sticky;
  top: 0;
  background: var(--blanc-lin);
  border-bottom: 1px solid var(--gris-clair);
  z-index: 100;
  padding: 16px 0;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.wordmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1.5px;
  color: var(--bleu-leman);
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--anthracite);
  font-size: 15px;
  font-weight: 500;
}
.nav-cta {
  background: var(--orange-chaud);
  color: var(--bleu-leman) !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
}
.nav-cta:hover { opacity: 0.9; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--bleu-leman); margin: 5px 0; transition: all 0.3s; }

/* ====== HERO PARTAGÉ ====== */
.hero {
  background: var(--bleu-leman);
  color: var(--blanc-lin);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: var(--blanc-lin); max-width: 720px; margin-bottom: 20px; }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(250, 250, 248, 0.85);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .container { position: relative; z-index: 1; }

/* ====== BOUTONS ====== */
.btn-primary {
  background: var(--orange-chaud);
  color: var(--bleu-leman);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  color: var(--blanc-lin);
  padding: 14px 24px;
  border: 1px solid rgba(250, 250, 248, 0.3);
  border-radius: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ====== BANDEAU RÉASSURANCE ====== */
.reassurance {
  background: var(--blanc-lin);
  border-bottom: 1px solid var(--gris-clair);
  padding: 18px 0;
}
.reassurance-list {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  font-size: 14px;
  color: var(--anthracite);
}
.reassurance-list li::before { content: '✓ '; color: var(--orange-chaud); font-weight: 600; }

/* ====== SECTIONS GÉNÉRIQUES ====== */
section { padding: var(--gap-section) 0; }
section.alt { background: #F5F6F8; }
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-intro p {
  color: var(--gris-doux);
  margin-top: 12px;
}

/* ====== FOOTER ====== */
footer {
  background: var(--bleu-leman);
  color: rgba(250, 250, 248, 0.75);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
footer h4 {
  color: var(--blanc-lin);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a { color: rgba(250, 250, 248, 0.75); }
footer a:hover { color: var(--blanc-lin); }
.footer-wordmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--blanc-lin);
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(250, 250, 248, 0.6);
  max-width: 260px;
}
.footer-bottom {
  border-top: 1px solid rgba(250, 250, 248, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(250, 250, 248, 0.5);
}

/* ====== CARTES SERVICE ====== */
.service-card {
  background: var(--blanc-lin);
  border: 1px solid var(--gris-clair);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  color: var(--anthracite);
  text-decoration: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(11, 61, 92, 0.08);
  opacity: 1;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(43, 123, 168, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--bleu-lac);
}
.service-card h3 { margin-bottom: 8px; }
.service-tagline {
  color: var(--bleu-lac);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.service-link {
  color: var(--bleu-lac);
  font-weight: 500;
  font-size: 14px;
  margin-top: 16px;
  display: inline-block;
}

/* ====== PROCESS STEPS ====== */
.process-steps {
  list-style: none;
  counter-reset: step;
  margin: 24px 0;
}
.process-steps li {
  counter-increment: step;
  padding-left: 44px;
  position: relative;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.6;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--bleu-leman);
  color: var(--blanc-lin);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

/* ====== CTA BLOC ====== */
.cta-section {
  background: var(--bleu-leman);
  color: var(--blanc-lin);
  padding: 56px 32px;
  border-radius: 16px;
  text-align: center;
  margin: 48px 0;
}
.cta-section h2 { color: var(--blanc-lin); margin: 0 0 12px; }
.cta-section p { color: rgba(250,250,248,0.8); margin-bottom: 24px; }

/* ====== HIGHLIGHT BOX ====== */
.highlight-box {
  background: rgba(244, 167, 66, 0.1);
  border-left: 4px solid var(--orange-chaud);
  padding: 20px 24px;
  border-radius: 6px;
  margin: 24px 0;
}
.highlight-box h3 { margin-top: 0; color: var(--bleu-leman); }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  :root { --gap-section: 64px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--blanc-lin);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gris-clair);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; }
}

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