/* Page SEO (listing) — styles dédiés */
header#headerPage.has-arrow{
  height: 120px !important;
}
.seo-page {
  background: #ffffff;
  color: #1d3253;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  margin: 0;
}

.seo-page * {
  font-family: inherit;
}

.seo-page *,
.seo-page *::before,
.seo-page *::after {
  box-sizing: border-box;
}

.seo-main {
  display: block;
  /* Le padding-top est déjà géré globalement par #AllSite (styleHeader.css) */
  padding-top: 0;
}

.seo-container {
  margin: 0 auto;
  /* Maquette Figma: frame 1440 avec padding 100 => contenu 1240 */
  max-width: 1440px;
  padding: 0 100px;
}

.seo-hero {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), linear-gradient(45deg, #F907FC 0%, #0779FF 100%);  color: #ecf1f8;
  padding: 64px 0;
}

.seo-breadcrumb {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.seo-breadcrumb__link {
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.seo-breadcrumb__link:hover {
  text-decoration: underline;
}

.seo-breadcrumb__sep {
  color: #f5f5f5;
  opacity: 0.9;
}

.seo-breadcrumb__current {
  color: #fafafa;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.seo-title {
  font-family: "Quicksand", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 8px;
  color: #FFF;
}

.seo-subtitle {
  color: #FFF;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 0 0 16px;
  max-width: 610px;
  font-family: "Roboto";
}

.seo-kpis {
  display: flex;
  gap: 32px;
}

.seo-kpis__item {
  align-items: baseline;
  display: inline-flex;
  gap: 8px;
}

.seo-kpis__value {
  color: #ecf1f8;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.seo-kpis__label {
  color: #FFF;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.seo-section {
  background: #ffffff;
  padding: 64px 0;
}

.seo-section--gray {
  background: #f5f5f5;
}

.seo-section--border {
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
}

.seo-h2 {
  color: #1d3253;
  font-family: "Quicksand", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 24px;
}

.seo-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 295px);
}

.seo-card {
  border: 2px solid #f5f5f5;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 180px;
  justify-content: center;
  padding: 16px;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.seo-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.seo-card__icon {
  height: 36px;
  margin: 0 auto 16px;
  width: 36px;
}

.seo-card__text {
  text-align: center;
}

.seo-card__title {
  color: #1d3253;
  font-family: "Quicksand", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-transform: lowercase;
}

.seo-card__title::first-letter {
  text-transform: uppercase;
}

.seo-card__count {
  color: #1d3253;
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  opacity: 0.9;
}

.seo-card__count-value {
  background-image: linear-gradient(45deg, #F907FC 0%, #0779FF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 16px;
  line-height: 24px;
  opacity: 1;
}

.seo-card__count-label {
  opacity: 1;
}

.seo-neighbors {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 400px);
}

.neighbor-card {
  background: #ffffff;
  border: 1px solid #e3eaf2;
  border-radius: 32px;
  box-shadow: 0 8px 7.5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 324px;
  justify-content: center;
  min-width: 300px;
  padding: 32px;
}

.neighbor-card__avatar {
  align-items: center;
  border: 4px solid #fafafa;
  border-radius: 60px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  height: 120px;
  justify-content: center;
  margin: 0 auto;
  width: 120px;
}

.neighbor-card__avatar img {
  border-radius: 999px;
  height: 112px;
  object-fit: cover;
  width: 112px;
}

.neighbor-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  text-align: center;
  width: 100%;
}

.neighbor-card__name-row {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.neighbor-card__name {
  color: #1d3253;
  font-family: "Quicksand", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.neighbor-card__verified {
  height: 24px;
  width: 24px;
}

.neighbor-card__meta {
  color: #6f7e95;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.neighbor-card__stats {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.neighbor-card__rating {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.neighbor-card__star {
  height: 24px;
  width: 24px;
}

.neighbor-card__rating span {
  color: #fdc700;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}

.neighbor-card__reliability {
  align-items: flex-end;
  display: inline-flex;
  gap: 4px;
}

.neighbor-card__reliability-icon {
  display: block;
  height: 24px;
  width: 16px;
  object-fit: contain;
}

.neighbor-card__reliability-value {
  color: #6f7e95;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.neighbor-card__cta {
  align-items: center;
  background: #1d3253;
  border: 1px solid #1d3253;
  border-radius: 9999px;
  color: #ecf1f8;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 20px;
  padding: 8px 16px;
  text-decoration: none;
  width: 100%;
  max-width: 320px;
  margin: 16px auto 0;
  cursor: pointer;
  height: 36px;
  box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

.neighbor-card__cta:hover {
  background: #203455;
  border-color: #203455;
  filter: none;
}

.neighbor-card__cta:focus,
.neighbor-card__cta:focus-visible {
  outline: 2px solid rgba(7, 121, 255, 0.6);
  outline-offset: 2px;
}

.seo-steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-step {
  border-radius: 16px;
  padding: 16px 0;
  text-align: left;
}

.seo-step__icon {
  height: 40px;
  margin-bottom: 8px;
  width: 40px;
}

.seo-step__icon img {
  display: block;
  height: 40px;
  width: 40px;
}

.seo-step__title {
  color: #1d3253;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 4px;
}

.seo-step__desc {
  color: #1d3253;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  opacity: 0.9;
}

.seo-suggest {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-suggest__item {
  border-radius: 16px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  text-decoration: none;
  align-items: flex-start;
}

.seo-suggest__icon {
  display: block;
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.seo-suggest__title {
  color: #1d3253;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.seo-suggest__desc {
  color: #1d3253;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  opacity: 0.9;
}

.seo-reasons {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-reason {
  border-radius: 16px;
  padding: 16px 0;
}

.seo-reason__icon {
  display: block;
  height: 40px;
  margin-bottom: 8px;
  width: 40px;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
}

.seo-reason__title {
  color: #1d3253;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.seo-reason__desc {
  color: #1d3253;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  opacity: 0.9;
}

.seo-faq {
  display: grid;
  gap: 16px;
}

.seo-faq__item {
  background: #f5f5f5;
  border: 1px solid #d4d4d4;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

.seo-faq__q {
  color: #1d3253;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 4px;
}

.seo-faq__a {
  color: #6f7e95;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

@media (max-width: 1200px) {
  .seo-container {
    padding: 0 32px;
  }

  .seo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seo-suggest,
  .seo-reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-neighbors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .seo-container {
    padding: 0 16px;
  }

  .seo-kpis {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    justify-content: flex-start;
  }

  .seo-kpis__item {
    white-space: nowrap;
  }

  /* Le header mobile est plus haut sur cette page (search bar + éléments) */
  #AllSite {
    padding-top: 170px;
  }

  .seo-page header#headerPage #headerHolder,
  .seo-page header#headerPage #headerHolder.has-arrow {
    padding-bottom: 32px;
    gap: 14px;
  }

  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-steps {
    grid-template-columns: 1fr;
  }

  .seo-suggest,
  .seo-reasons,
  .seo-neighbors {
    grid-template-columns: 1fr;
  }
}

