/*
 * Rénov'Habitat — Styles additionnels
 * Pages SEO géographiques + overrides custom
 * Chargé APRÈS style.css du child theme
 */

/* ══════════════════════════════════════════
   SEO GEO PAGES
   ══════════════════════════════════════════ */
.rh-geo-hero {
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  color: #fff;
  padding: 100px 5% 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rh-geo-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.rh-geo-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: .8rem;
  position: relative;
}
.rh-geo-hero p {
  color: rgba(255,255,255,.78);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-size: 1.05rem;
}
.rh-geo-hero .rh-pill { margin-bottom: 1.2rem; }
.rh-geo-breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
}
.rh-geo-breadcrumb a {
  color: rgba(255,255,255,.65);
  text-decoration: underline;
}

/* Geo content */
.rh-geo-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 5%;
}
.rh-geo-content h2 {
  color: var(--wine);
  margin-top: 2rem;
}
.rh-geo-content p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.rh-geo-content ul {
  list-style: none;
  padding: 0;
}
.rh-geo-content ul li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .5rem 0;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.6;
}
.rh-geo-content ul li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wine);
  flex-shrink: 0;
  margin-top: .5rem;
}

/* CTA inline for geo pages */
.rh-geo-cta {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
  border: 1.5px solid var(--sand);
}
.rh-geo-cta h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.rh-geo-cta p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

/* ══════════════════════════════════════════
   ELEMENTOR SPECIFIC OVERRIDES
   ══════════════════════════════════════════ */

/* Ensure Elementor sections get proper overflow hidden */
.elementor-section.rh-overflow-hidden {
  overflow: hidden !important;
}

/* Fix Elementor container max-width to match our design */
.elementor-section .elementor-container.rh-narrow {
  max-width: 1300px !important;
}

/* Elementor form widget with RH styling */
.elementor-form .elementor-field-group .elementor-field {
  border: 1.5px solid var(--sand) !important;
  border-radius: 12px !important;
  padding: .75rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .9rem !important;
  background: var(--cream) !important;
  transition: all .25s !important;
}
.elementor-form .elementor-field-group .elementor-field:focus {
  border-color: var(--wine) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(122,27,27,.08) !important;
}
.elementor-form .elementor-button {
  background: linear-gradient(135deg, var(--wine), var(--wine-light)) !important;
  border-radius: 14px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  padding: 1rem 2rem !important;
  transition: all .3s !important;
}
.elementor-form .elementor-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(122,27,27,.35) !important;
}

/* Yoast breadcrumbs styling */
.yoast-breadcrumbs {
  font-size: .82rem;
  color: var(--muted);
  padding: 1rem 0;
}
.yoast-breadcrumbs a {
  color: var(--wine);
}
