body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  color: #1f2933;
  line-height: 1.6;
  background: #f5f7fb;
}
header {
  background: #0b4f9c;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
nav .logo {
  font-weight: 700;
  font-size: 1.1rem;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
nav a {
  color: white;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-primary {
  background: #1d72e8;
  color: white;
}
.btn-primary:hover {
  background: #1450a8;
}
.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.8);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}
#hero {
  background: linear-gradient(135deg, #0b4f9c, #1d72e8);
  color: white;
  padding: 3rem 0 3.5rem;
}
#hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}
#hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
#hero h2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
#hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.badge {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
}

/* Emplacement image avec placeholder flou */
.image-slot {
  position: relative;
  margin-top: 1.4rem;
  border-radius: 1rem;
  overflow: hidden;
  height: 220px;
}
.image-placeholder {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, #93c5fd 0, transparent 50%),
    radial-gradient(circle at 80% 0%, #1d4ed8 0, transparent 55%),
    radial-gradient(circle at 0% 100%, #38bdf8 0, transparent 50%),
    radial-gradient(circle at 80% 100%, #0ea5e9 0, transparent 55%);
  filter: blur(10px);
  transform: scale(1.2);
}
.image-overlay-text {
  position: relative;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 2px 6px rgba(15,23,42,0.6);
}
.image-slot img.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


#hero .card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  color: #1f2933;
  box-shadow: 0 12px 30px rgba(15,23,42,0.25);
}
#hero .card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
#hero .card label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
/* Champs des formulaires (haut + bas de page) */
#hero .card input,
#hero .card select,
#devis form input,
#devis form select,
#devis form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd2e1;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}

section {
  padding: 3rem 0;
}
section:nth-of-type(odd) {
  background: #f9fafc;
}
h2.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  text-align: left;
}
.section-intro {
  margin-bottom: 2rem;
  color: #52606d;
  max-width: 700px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.card {
  background: white;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 4px 12px rgba(15,23,42,0.06);
}
.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.muted {
  color: #738297;
  font-size: 0.9rem;
}
ul {
  padding-left: 1.1rem;
}
ul li {
  margin-bottom: 0.3rem;
}
.label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #52606d;
  margin-bottom: 0.15rem;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.pill {
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  background: #e3edff;
  font-size: 0.75rem;
  color: #1d72e8;
}
.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b4f9c;
  margin-bottom: 0.15rem;
}
.price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #738297;
}
.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.city-list a {
  background: white;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  border: 1px solid #d0d7e6;
  text-decoration: none;
  color: #1f2933;
}
.city-list a:hover {
  background: #e3edff;
}
.testimonial {
  font-style: italic;
  margin-bottom: 0.3rem;
}
.testimonial-author {
  font-size: 0.85rem;
  color: #52606d;
}
.faq-item {
  margin-bottom: 1.2rem;
}
.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Listes de liens (blog, ressources, etc.) */
.link-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}
.link-list li {
  margin-bottom: 0.35rem;
}
.link-list a {
  text-decoration: none;
  color: #1f2933;
}
.link-list a:hover {
  text-decoration: underline;
  color: #1d72e8;
}

footer {
  background: #0b4f9c;
  color: white;
  padding: 2rem 0;
  font-size: 0.85rem;
  margin-top: 2rem;
}
footer a {
  color: #dbeafe;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.4rem;
}

/* Multi-step forms */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
.form-step-indicator {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}
.form-step-bullet {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d1d5db;
}
.form-step-bullet.active {
  background: #1d72e8;
}

/* Popup remerciement */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.8rem 1.6rem;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15,23,42,0.25);
}
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
}
.modal-content p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 1.2rem;
}

@media (max-width: 900px) {
  #hero .grid,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  nav ul {
    display: none;
  }
  #hero {
    padding-top: 2rem;
  }
  .image-slot {
    height: 180px;
  }
}
