/* ===========================================
   ADELANTEE - Blocs Lovable scopés
   =========================================== */

/* --- Module Comparatif Agences --- */
.adt-comparatif .adt-comparatif-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.adt-comparatif {
  font-family: 'Poppins', Arial, sans-serif;
}
.adt-comparatif .section-title {
  text-align: center;
  margin: 0 0 10px;
}
.adt-comparatif .section-sub {
  text-align: center;
  color: #666;
  margin: 0 0 25px;
  font-size: 14px;
}
.adt-comparatif .featured-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #fff8ec 0%, #ffffff 60%);
  border: 1px solid #ffe0b2;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(255,159,0,.18);
  position: relative;
  overflow: hidden;
}
.adt-comparatif .featured-card .badge {
  position: absolute;
  top: 12px; left: -6px;
  background: #ff9f00;
  color: #fff; font-weight: 700;
  font-size: 12px; letter-spacing: .3px;
  padding: 6px 12px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 6px 16px rgba(255,159,0,.35);
}
.adt-comparatif .featured-card img {
  width: 78px; height: 78px; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(255,159,0,.25));
}
.adt-comparatif .featured-title {
  margin: 0 0 6px; font-size: 22px; color: #222; font-weight: 700;
}
.adt-comparatif .featured-meta {
  margin: 0; font-size: 14px; color: #444; line-height: 1.55;
}
.adt-comparatif .kpis {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px;
}
.adt-comparatif .kpi {
  background: #fff; border: 1px dashed #ffd199; color: #333;
  padding: 6px 10px; border-radius: 10px; font-size: 12px;
}
.adt-comparatif .featured-cta {
  display: flex; flex-direction: column; align-items: end; gap: 10px;
}
.adt-comparatif .featured-cta a.primary {
  background: #ff9f00; color: #fff; text-decoration: none;
  padding: 10px 16px; border-radius: 12px; font-weight: 700;
  transition: .2s; box-shadow: 0 6px 18px rgba(255,159,0,.35);
}
.adt-comparatif .featured-cta a.primary:hover { transform: translateY(-2px); }
.adt-comparatif .featured-cta a.secondary {
  font-size: 13px; color: #ff9f00; text-decoration: none; font-weight: 600;
}
.adt-comparatif .featured-cta a.secondary:hover { text-decoration: underline; }
.adt-comparatif .agences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; margin-top: 24px;
}
.adt-comparatif .agence-card {
  background: #fff; border-radius: 16px; padding: 22px 18px; text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.05); border: 1px solid #eee; transition: .25s;
}
.adt-comparatif .agence-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.adt-comparatif .agence-card h3 { font-size: 18px; color: #333; margin: 0 0 8px; font-weight: 700; }
.adt-comparatif .agence-card p { font-size: 14px; color: #555; margin: 5px 0; line-height: 1.45; }
@media (max-width: 780px) {
  .adt-comparatif .featured-card { grid-template-columns: 64px 1fr; }
  .adt-comparatif .featured-cta { grid-column: 1 / -1; align-items: flex-start; }
}

/* --- Module Pôles Régionaux --- */
.adt-poles {
  --adelantee-blue: #2312A7;
  --adelantee-orange: #FFA105;
  font-family: 'Poppins', sans-serif;
  color: #111827;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}
.adt-poles h2 {
  color: var(--adelantee-blue);
  font-size: 1.8rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.adt-poles h2::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 6px;
  border-radius: 6px;
  background-color: var(--adelantee-orange);
}
.adt-poles .adt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}
.adt-poles .adt-card {
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 350px;
  margin: 0 auto;
}
.adt-poles .adt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(35, 18, 167, 0.15);
}
.adt-poles .adt-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--adelantee-blue), var(--adelantee-orange));
}
.adt-poles .adt-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #e5e7eb;
}
.adt-poles .adt-card-content {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.adt-poles .adt-city-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111827;
}
.adt-poles .adt-city-subtext {
  font-size: 0.85rem;
  color: #6b7280;
}
.adt-poles .adt-arrow {
  background: var(--adelantee-blue);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  transition: background 0.3s;
}
.adt-poles .adt-card:hover .adt-arrow { background: var(--adelantee-orange); }
.adt-poles .adt-cta {
  margin-top: 40px;
  padding: 30px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--adelantee-blue), var(--adelantee-orange));
  color: white;
  text-align: center;
}
.adt-poles .adt-cta a {
  display: inline-block;
  margin-top: 15px;
  background: white;
  border: none;
  color: #111827;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.adt-poles .adt-cta a:hover { opacity: 0.9; }
@media (min-width: 992px) {
  .adt-poles .adt-grid.adt-center-last-two {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
}

/* --- Module SEO Local --- */
.seo-module-local {
  background-color: #fff;
}
.seo-module-local .module-container {
  max-width: 1200px;
  margin: 0 auto;
}
.seo-module-local .module-header {
  background-color: #2d2dcf;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  border-radius: 8px 8px 0 0;
}
.seo-module-local .module-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  color: #fff;
  display: block;
}
.seo-module-local .module-header h2::before {
  display: none;
}
.seo-module-local .module-header p {
  margin: 6px 0 12px;
  color: #fff;
}
.seo-module-local .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 30px 20px;
}
.seo-module-local .features-grid > div {
  background: #f8f9fd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.seo-module-local .features-grid h3 {
  margin: 10px 0 6px;
}
.seo-module-local .features-grid p {
  margin: 0;
}
