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

body {
  font-family: 'Roboto', sans-serif;
  background: #f4f6f9;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== ANIMATION BASE ===== */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cascade */
.summary-card:nth-child(1) { transition-delay: 0.1s; }
.summary-card:nth-child(2) { transition-delay: 0.2s; }
.summary-card:nth-child(3) { transition-delay: 0.3s; }

/* ===== SUMMARY SECTION ===== */
.home-summary {
  background: #f7f9fc;
  padding: 70px 20px;
}

.summary-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #1c2b4a;
  max-width: 900px;
  margin: 0 auto 60px auto;
  line-height: 1.4;
  position: relative;
}

/* Ligne décorative sous le titre */
.summary-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #007bff;
  margin: 20px auto 0 auto;
  border-radius: 2px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.summary-card {
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 6px;
  padding: 30px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.summary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.summary-card h3 {
  color: #0a2a66;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.summary-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.summary-card ul li {
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
  color: #333;
}

.summary-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0a2a66;
}

.summary-card a {
  color: #0a2a66;
  font-weight: 500;
  text-decoration: none;
}

/* Highlight */
.summary-card.highlight {
  background: #fff2cc;
  border-color: #ffe2a0;
}

/* Pourquoi */
.why-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.why-item span {
  background: #f0b400;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-right: 10px;
}



/* ===== CTA ===== */
.home-cta {
  background: #f7f9fc;
  padding: 50px 20px;
  text-align: center;
}

.btn-blue,
.btn-yellow {
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  margin: 10px;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-blue {
  background: #0a2a66;
  color: #fff;
}

.btn-yellow {
  background: #f0b400;
  color: #000;
}

.btn-blue:hover,
.btn-yellow:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .summary-card {
    text-align: center;
  }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    transform: none !important;
  }
}

/* ===== DEVIS INTRO ===== */
.devis-intro {
  background: linear-gradient(135deg, #0a2a66, #123c8c);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.devis-box {
  max-width: 800px;
  margin: auto;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease;
}

.devis-box.visible {
  transform: translateY(0);
  opacity: 1;
}

.devis-box h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.devis-box p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e6ecf5;
}

.devis-highlight {
  font-weight: 600;
  font-size: 1.1rem;
  color: #f0b400;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .devis-box {
    padding: 35px 25px;
  }

  .devis-box h2 {
    font-size: 1.6rem;
  }
}
