/* ===== TYPE DE BIEN PAGES — Shared Styles ===== */
/* certificat-peb-appartement-bruxelles.html, certificat-peb-maison-bruxelles.html, etc. */

/* ===== HERO ===== */
.type-hero {
  background: linear-gradient(135deg, #022b26 0%, #0a4a3f 60%, #113c4c 100%);
  color: white;
  padding: 50px 20px 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.type-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--hero-bg, none) center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.type-hero > * { position: relative; z-index: 1; }

.hero-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 14px;
  transition: color 0.2s;
}
.hero-phone-link:hover { color: #35c46b; }
.hero-phone-link i { font-size: 0.8rem; }

.type-hero .breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
}

.type-hero .breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
  display: inline;
  padding: 0 4px;
  margin: 0;
  min-width: 0;
  min-height: 0;
}

.type-hero .breadcrumb a:hover { color: #35c46b; }

.type-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.type-hero .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 0 auto 22px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.93rem;
  font-weight: 600;
}

.hero-badge.price {
  background: linear-gradient(135deg, #2fa000, #45b800);
  color: white;
  font-size: 1.1rem;
  padding: 11px 24px;
  box-shadow: 0 8px 25px rgba(47,160,0,0.35);
}

.hero-badge.trust {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta.primary {
  background: linear-gradient(135deg, #2fa000, #45b800);
  color: white;
  box-shadow: 0 8px 25px rgba(47,160,0,0.3);
}

.hero-cta.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(47,160,0,0.4);
}

.hero-cta.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.35);
}

.hero-cta.secondary:hover {
  border-color: #35c46b;
  background: rgba(53,196,107,0.1);
}

/* ===== SECTION LAYOUT ===== */
.type-section {
  padding: 50px 20px;
  position: relative;
}

.type-section .type-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.type-section.alt-bg {
  background: #f8fdfa;
}

.type-section h2 {
  font-size: 1.85rem;
  color: #0f3a48;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

/* Green underline under section titles */
.type-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: #32a000;
  border-radius: 2px;
}

.type-section p {
  font-size: 1.02rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}

.type-section h3 {
  font-size: 1.2rem;
  color: #2fa000;
  margin: 22px 0 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== PRICE BANNER (featured snippet) ===== */
.price-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #022b26, #0a4a3f);
  border-radius: 14px;
  padding: 20px 26px;
  margin-bottom: 24px;
  color: white;
  overflow: hidden;
  position: relative;
}

.price-banner::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(47,160,0,0.2) 0%, transparent 70%);
}

.price-banner-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

.price-banner-be {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.price-banner-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
}

.price-banner-logo {
  display: block;
  height: 34px;
  width: 34px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  aspect-ratio: 1 / 1;
}

.price-banner-content { position: relative; z-index: 1; }

.price-banner-range {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.price-banner-range span {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 2px;
}

.price-banner-detail {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
}

.price-banner-detail:last-child { margin-bottom: 0; }

.price-banner-link {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  font-weight: inherit;
  font-size: inherit;
  transition: color 0.2s;
}

.price-banner-link:hover { color: #fff; }

/* ===== HERO SIMULATOR ===== */
.hero-simulator {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  padding: 26px 32px 22px;
  max-width: 480px;
  margin: 24px auto 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.sim-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Type selector (commune pages) */
.sim-type-selector {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}

.sim-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.sim-type-btn:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}

.sim-type-btn.active {
  background: #35c46b;
  color: #fff;
  border-color: #35c46b;
  box-shadow: 0 4px 12px rgba(53,196,107,0.35);
}

.sim-type-btn i { font-size: 0.75rem; }

.sim-slider-wrap {
  position: relative;
  padding-top: 38px;
  margin: 0 4px;
}

.sim-bubble {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  background: #35c46b;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.3px;
}

.sim-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #35c46b;
}

.sim-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #35c46b var(--fill, 40%), rgba(255,255,255,0.12) var(--fill, 40%));
  outline: none;
  cursor: pointer;
}

.sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #35c46b;
  box-shadow: 0 2px 12px rgba(53,196,107,0.5);
  cursor: grab;
  transition: transform 0.15s;
}

.sim-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.sim-range::-webkit-slider-thumb:active { cursor: grabbing; }

.sim-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #35c46b;
  box-shadow: 0 2px 12px rgba(53,196,107,0.5);
  cursor: grab;
}

.sim-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 2px;
}

.sim-ticks span { font-size: 0.72rem; color: rgba(255,255,255,0.35); }

/* Prix fixe: slider faded quand le prix ne varie pas */
.sim-fixed .sim-slider-wrap {
  opacity: 0.2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sim-fixed .sim-ticks {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sim-fixed-label {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  display: none;
}

.sim-fixed .sim-fixed-label {
  display: block;
}

.sim-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sim-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.sim-price-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-align: left;
  white-space: nowrap;
}

.sim-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: #35c46b;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(53,196,107,0.3);
  margin-left: auto;
}

.sim-cta:hover {
  transform: translateY(-2px);
  background: #2fa000;
  box-shadow: 0 6px 20px rgba(47,160,0,0.4);
}

/* ===== PRICE CARDS ===== */
.price-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
  margin: 25px 0;
}

.apt-price-card {
  background: white;
  border: 1px solid #e8f0ed;
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.apt-price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4edda, #2fa000);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.apt-price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(47,160,0,0.12);
  border-color: transparent;
}

.apt-price-card:hover::before { opacity: 1; }

.apt-price-card.popular {
  border-color: #2fa000;
  background: linear-gradient(180deg, #f5fff8 0%, white 40%);
  box-shadow: 0 8px 30px rgba(47,160,0,0.1);
}

.apt-price-card.popular::before {
  height: 4px;
  background: linear-gradient(90deg, #2fa000, #45b800);
  opacity: 1;
  border-radius: 0;
}

.apt-price-card.popular::after {
  content: "Le + demandé";
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #2fa000, #45b800);
  color: white;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(47,160,0,0.3);
}

.apt-price-card .card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f0fff4, #e0f5e5);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.apt-price-card .card-icon i { font-size: 1.5rem; color: #2fa000; }

.apt-price-card .card-info { text-align: center; }

.apt-price-card h3 {
  font-size: 1.15rem;
  color: #0f3a48;
  margin: 0 0 4px;
  font-weight: 700;
  display: block;
}

.apt-price-card .card-surface { font-size: 0.85rem; color: #767676; margin-bottom: 14px; }

.apt-price-card .card-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: #2fa000;
  line-height: 1;
  margin-bottom: 3px;
}

.apt-price-card .card-price-note { font-size: 0.8rem; color: #767676; margin-bottom: 18px; }

.apt-price-card .card-features {
  text-align: left;
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px solid #f0f0f0;
}

.apt-price-card .card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.88rem;
  color: #555;
}

.apt-price-card .card-features li i { color: #2fa000; font-size: 0.75rem; width: 14px; }

.apt-price-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #2fa000, #45b800);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47,160,0,0.2);
}

.apt-price-card .card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47,160,0,0.35);
}

/* ===== INLINE PRICE CARD (horizontal, full-width) ===== */
.price-card-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: white;
  border: 1px solid #e8f0ed;
  border-radius: 14px;
  margin: 12px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.price-card-inline:hover {
  border-color: #2fa000;
  box-shadow: 0 8px 25px rgba(47,160,0,0.08);
}

.price-card-inline .card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #f0fff4, #e0f5e5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-card-inline .card-icon i { font-size: 1.3rem; color: #2fa000; }

.price-card-inline .card-info {
  flex: 1;
  min-width: 0;
}

.price-card-inline .card-info h3 {
  font-size: 1.05rem;
  color: #0f3a48;
  margin: 0 0 2px;
  font-weight: 700;
  display: block;
}

.price-card-inline .card-info span {
  font-size: 0.85rem;
  color: #999;
}

.price-card-inline .card-pricing {
  text-align: center;
  flex-shrink: 0;
}

.price-card-inline .card-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2fa000;
  line-height: 1;
  margin: 0;
}

.price-card-inline .card-price-note {
  font-size: 0.78rem;
  color: #767676;
  margin-top: 3px;
}

.price-card-inline .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #2fa000, #45b800);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47,160,0,0.2);
  flex-shrink: 0;
}

.price-card-inline .card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47,160,0,0.35);
}

/* ===== INFO BOX ===== */
.info-box {
  background: linear-gradient(135deg, #f0fff4, #e8f5e8);
  border-left: 5px solid #2fa000;
  padding: 20px 25px;
  border-radius: 0 14px 14px 0;
  margin: 22px 0;
}

.info-box h4 {
  color: #0f3a48;
  font-size: 1.05rem;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box p { margin: 0; color: #444; line-height: 1.6; font-size: 0.96rem; }

/* ===== BON À SAVOIR (know grid) ===== */
.know-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.know-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: white;
  border: 1px solid #e8f5e9;
  border-radius: 12px;
  transition: border-color 0.2s;
}

.know-item:hover { border-color: #2fa000; }

.know-item.know-alert {
  border-left: 4px solid #f05454;
  background: linear-gradient(135deg, #fff8f8, #fff5f5);
}

.know-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(47,160,0,0.1), rgba(47,160,0,0.04));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.know-icon i { font-size: 1.15rem; color: #2fa000; }

.know-alert .know-icon {
  background: linear-gradient(135deg, rgba(240,84,84,0.1), rgba(240,84,84,0.04));
}
.know-alert .know-icon i { color: #f05454; }

.know-item strong {
  display: block;
  color: #0f3a48;
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.know-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.55;
}

.know-item p a,
.faq-item-block .faq-answer a,
.info-box p a,
.price-banner-detail a,
.type-section p a {
  display: inline;
  padding: 0;
  margin: 0;
  min-width: 0;
  min-height: 0;
  font-weight: inherit;
  border: none;
}

/* ===== AVANTAGES ROW (non-card style) ===== */
.advantages-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 12px;
  transition: background 0.2s;
}

.advantage-item:hover { background: rgba(47,160,0,0.04); }

.advantage-item .adv-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(47,160,0,0.1), rgba(47,160,0,0.04));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item .adv-icon i { font-size: 1.2rem; color: #2fa000; }

.advantage-item strong {
  display: block;
  color: #0f3a48;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.advantage-item span { font-size: 0.86rem; color: #777; line-height: 1.4; }

/* ===== SIMULATOR FOOTNOTE ===== */
.sim-footnote {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin: 10px 0 0;
  text-align: center;
}

/* ===== CROSSLINKS (autre type de bien) ===== */
.type-crosslinks {
  background: linear-gradient(135deg, #f0fff4, #e8f5e8);
  border: 1px solid #d4edda;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: center;
}

.type-crosslinks > p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f3a48;
  margin: 0 0 12px;
}

.crosslinks-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.crosslink-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 1px solid #d4edda;
  border-radius: 50px;
  text-decoration: none;
  color: #0f3a48;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.crosslink-btn:hover {
  border-color: #2fa000;
  color: #2fa000;
  background: #f0fff4;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(47,160,0,0.12);
}

.crosslink-btn i { color: #2fa000; font-size: 0.85rem; }

/* ===== COMMUNES ===== */
.communes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.commune-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  background: white;
  border: 1px solid #e8f5e9;
  border-radius: 10px;
  text-decoration: none;
  color: #0f3a48;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.commune-link:hover {
  border-color: #2fa000;
  background: #f0fff4;
  transform: translateX(3px);
  color: #2fa000;
}

.commune-link i { color: #2fa000; font-size: 0.78rem; }

/* ===== FAQ ===== */
.faq-item-block {
  background: white;
  border: 1px solid #e8f5e9;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item-block:hover { border-color: #2fa000; }

.faq-item-block h3 {
  margin: 0;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 1.02rem;
  color: #0f3a48;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
  font-weight: 600;
}

.faq-item-block h3:hover { background: #f8fdfa; }
.faq-item-block h3 .faq-icon { color: #2fa000; font-size: 0.9rem; flex-shrink: 0; }

.faq-item-block .faq-answer {
  padding: 0 20px 16px;
  color: #555;
  line-height: 1.7;
  font-size: 0.96rem;
}

/* ===== REVIEWS COMPACT (avis Google) ===== */
.reviews-compact {
  margin: 22px 0;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid #e8f5e9;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 18px;
}

.reviews-google-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-google-badge i {
  font-size: 1.6rem;
  color: #4285f4;
}

.reviews-google-badge .reviews-rating {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f3a48;
}

.reviews-google-badge .reviews-stars {
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 1px;
}

.reviews-google-badge .reviews-count {
  font-size: 0.88rem;
  color: #777;
  margin-left: 2px;
}

.reviews-header .reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2fa000;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0;
  margin: 0;
  min-width: 0;
  min-height: 0;
  border: none;
}

.reviews-header .reviews-link:hover { color: #0f3a48; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  background: white;
  border: 1px solid #e8f5e9;
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}

.review-card:hover { border-color: #2fa000; }

.review-card blockquote {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: #555;
  line-height: 1.65;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author-info strong {
  display: block;
  font-size: 0.9rem;
  color: #0f3a48;
}

.review-author-info span {
  font-size: 0.78rem;
  color: #fbbc04;
  letter-spacing: 1px;
}

/* ===== CTA FINAL ===== */
.final-cta {
  background: linear-gradient(135deg, #022b26, #0a4a3f);
  color: white;
  padding: 50px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(47,160,0,0.1) 0%, transparent 60%);
}

.final-cta > * { position: relative; z-index: 1; }

.final-cta h2 { font-size: 1.85rem; margin-bottom: 10px; color: white; }

.final-cta p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .cta-phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: #35c46b;
  margin-bottom: 20px;
  display: block;
}

.final-cta .cta-phone a { color: #35c46b; text-decoration: none; }
.final-cta .cta-phone a:hover { text-decoration: underline; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%);
  width: min(1100px, calc(100% - 3rem));
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(2,43,38,.97), rgba(7,61,51,.97));
  color: #f7f7f7;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem; line-height: 1.6;
  display: flex; opacity: 0; pointer-events: none;
  align-items: center; gap: 1.8rem;
  z-index: 9999; border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
  box-sizing: border-box;
}

#cookie-banner.is-visible { opacity: 1; pointer-events: auto; }
#cookie-banner p { margin: 0; flex: 1; }
.cookie-buttons { display: flex; gap: .9rem; flex-shrink: 0; }
#cookie-banner button {
  border: none; cursor: pointer; border-radius: 999px;
  padding: .75rem 1.8rem; font-size: .95rem; font-weight: 600;
  transition: .15s ease all;
}

#accept-cookies {
  background: #35c46b; color: #fff;
  box-shadow: 0 10px 25px rgba(30,109,60,.4);
}

#accept-cookies:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,110,61,.55); }

#reject-cookies {
  background: transparent; color: #f7f7f7;
  border: 1px solid rgba(255,255,255,.45);
}

#reject-cookies:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ===== TEAM PAGE ===== */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.team-card {
  display: flex;
  gap: 28px;
  background: white;
  border: 1px solid #e8f5e9;
  border-radius: 18px;
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  border-color: #2fa000;
  box-shadow: 0 8px 30px rgba(47,160,0,0.08);
}

.team-photo-wrapper {
  flex-shrink: 0;
  width: 160px;
}

.team-photo {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.team-info h3 {
  font-size: 1.35rem;
  color: #0f3a48;
  margin: 0 0 6px;
  font-weight: 700;
  display: block;
}

.team-role {
  display: inline-block;
  background: linear-gradient(135deg, #2fa000, #45b800);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-cert {
  display: block;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 12px;
}

.team-cert i { color: #2fa000; margin-right: 4px; }

.team-info p {
  font-size: 0.94rem;
  color: #555;
  line-height: 1.65;
  margin: 0 0 14px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.team-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f0fff4;
  border: 1px solid #e0f0e4;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #2fa000;
  font-weight: 500;
}

.team-tags span i { font-size: 0.72rem; }

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #0077b5;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.team-linkedin:hover {
  background: #005f8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,119,181,0.3);
}

.team-linkedin i { font-size: 1rem; }

/* ===== RESPONSIVE TABLETTE ===== */
@media (max-width: 1024px) {
  /* Timeline 2x2 grid sur tablette — override prestations.css */
  .type-section .timeline-etapes {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .type-section .timeline-fleche { display: none; }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
  /* --- HERO compact --- */
  .type-hero { padding: 28px 15px 28px; }
  .type-hero h1 { font-size: 1.65rem; margin-bottom: 8px; }
  .type-hero .hero-subtitle { font-size: 0.93rem; margin-bottom: 14px; }
  .type-hero .breadcrumb { font-size: 0.78rem; margin-bottom: 8px; }

  .hero-badges { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
  .hero-badge { padding: 6px 12px; font-size: 0.8rem; }
  .hero-badge.price { padding: 8px 18px; font-size: 0.95rem; }

  .hero-cta-group { flex-direction: column; align-items: stretch; gap: 10px; max-width: 300px; margin: 0 auto; }
  .hero-cta { padding: 13px 24px; font-size: 0.95rem; justify-content: center; }

  /* --- Sections --- */
  .type-section { padding: 28px 15px; text-align: center; }
  .type-section h2 { font-size: 1.3rem; margin-bottom: 20px; }
  .type-section h2::after { width: 50px; height: 3px; bottom: -8px; left: 50%; transform: translateX(-50%); }
  .type-section .type-inner > p { text-align: left; }
  .type-section .know-grid,
  .type-section .advantages-row,
  .type-section .faq-item-block,
  .type-section .price-cards-grid,
  .type-section .info-box,
  .type-section .communes-grid { text-align: left; }

  /* --- Price banner compact --- */
  .price-banner { padding: 14px 16px; gap: 10px; }
  .price-banner-logos { gap: 10px; }
  .price-banner-logo { height: 26px; width: 26px; }
  .price-banner-be { height: 26px; }
  .price-banner-sep { height: 22px; }
  .price-banner-range { font-size: 1.2rem; }
  .price-banner-detail { font-size: 0.78rem; }

  /* --- Prix : lignes compactes au lieu du scroll --- */
  .price-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
  }

  .apt-price-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: left;
  }

  .apt-price-card .card-icon {
    width: 42px; height: 42px; min-width: 42px; margin: 0;
  }
  .apt-price-card .card-icon i { font-size: 1.1rem; }

  .apt-price-card .card-info {
    flex: 1;
    min-width: 0;
    text-align: left;
  }
  .apt-price-card h3 { font-size: 0.95rem; margin: 0 0 1px; display: block; }
  .apt-price-card .card-surface { font-size: 0.78rem; margin-bottom: 0; color: #767676; }
  .apt-price-card .card-price { font-size: 1.35rem; margin: 0; white-space: nowrap; flex-shrink: 0; }
  .apt-price-card .card-price-note { display: none; }
  .apt-price-card .card-features { display: none; }
  .apt-price-card .card-cta {
    padding: 8px 14px;
    margin: 0;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
  .apt-price-card .card-cta i { display: none; }

  /* Inline price card mobile */
  .price-card-inline { padding: 12px 14px; gap: 10px; }
  .price-card-inline .card-icon { width: 40px; height: 40px; min-width: 40px; }
  .price-card-inline .card-icon i { font-size: 1.1rem; }
  .price-card-inline .card-info h3 { font-size: 0.95rem; }
  .price-card-inline .card-info span { font-size: 0.78rem; }
  .price-card-inline .card-price { font-size: 1.35rem; }
  .price-card-inline .card-pricing .card-price-note { display: none; }
  .price-card-inline .card-cta { padding: 8px 14px; font-size: 0.82rem; }
  .price-card-inline .card-cta i { display: none; }

  /* Badge "Le + demandé" compact sur mobile */
  .apt-price-card.popular::after {
    font-size: 0.6rem;
    padding: 3px 10px;
    top: -1px;
    right: auto;
    left: 12px;
  }

  /* --- Simulator mobile --- */
  .hero-simulator {
    width: 100%;
    padding: 20px 14px 18px;
    border-radius: 14px;
  }
  .sim-title { font-size: 0.78rem; margin-bottom: 12px; }
  .sim-type-selector { gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
  .sim-type-btn { padding: 6px 10px; font-size: 0.72rem; }
  .sim-type-btn i { font-size: 0.65rem; }
  .sim-slider-wrap { margin: 0; padding-top: 36px; }
  .sim-bubble { font-size: 0.85rem; padding: 4px 12px; }
  .sim-range { height: 10px; border-radius: 5px; }
  .sim-range::-webkit-slider-thumb { width: 30px; height: 30px; border-width: 4px; }
  .sim-range::-moz-range-thumb { width: 30px; height: 30px; border-width: 4px; }
  .sim-ticks { margin-top: 6px; }
  .sim-ticks span { font-size: 0.72rem; }
  .sim-result {
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
    padding-top: 14px;
  }
  .sim-price { font-size: 2rem; }
  .sim-price-note { font-size: 0.75rem; }
  .sim-cta { margin-left: 0; padding: 10px 20px; font-size: 0.85rem; }

  /* --- Team page mobile --- */
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px;
    gap: 18px;
  }
  .team-photo-wrapper { width: 120px; }
  .team-photo { width: 120px; height: 150px; }
  .team-info h3 { font-size: 1.15rem; }
  .team-info p { font-size: 0.88rem; text-align: left; }
  .team-tags { justify-content: center; }
  .team-tags span { font-size: 0.75rem; padding: 4px 10px; }

  /* --- Know grid mobile --- */
  .know-item { padding: 14px 14px; gap: 12px; }
  .know-icon { width: 38px; height: 38px; min-width: 38px; }
  .know-icon i { font-size: 1rem; }
  .know-item strong { font-size: 0.9rem; }
  .know-item p { font-size: 0.84rem; }

  .info-box { padding: 14px 16px; }
  .info-box h4 { font-size: 0.93rem; }
  .info-box p { font-size: 0.88rem; }

  /* --- Timeline : grille 2x2 compacte, pas de barres verticales --- */
  .type-section .timeline-container { padding: 10px 0; }
  .type-section .timeline-fleche { display: none; }
  .type-section .timeline-etapes {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* Supprimer les barres verticales de prestations.css */
  .type-section .timeline-etape:not(:last-child)::after { display: none; }
  .type-section .etape-circle {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border: 2px solid #fff;
  }
  .type-section .etape-num { font-size: 1.1rem; }
  .type-section .etape-card {
    padding: 12px 10px;
    max-width: 100%;
    border-radius: 10px;
  }
  .type-section .etape-card h3 { font-size: 0.9rem; margin-bottom: 6px; }
  .type-section .etape-card p { font-size: 0.8rem; line-height: 1.4; margin-bottom: 8px; }
  .type-section .etape-mini-details { gap: 4px; }
  .type-section .etape-mini-details span { font-size: 0.72rem; padding: 3px 8px; }

  /* --- Texte "Pourquoi PEB" plus lisible --- */
  .type-section h3 { font-size: 1.05rem; margin: 20px 0 8px; }
  .type-section h3 i { font-size: 0.95rem; }
  .type-section p { font-size: 0.95rem; color: #444; line-height: 1.65; }

  /* --- Avantages (ok selon user) --- */
  .advantages-row { grid-template-columns: 1fr; gap: 4px; }
  .advantage-item { padding: 14px 12px; }
  .advantage-item .adv-icon { width: 38px; height: 38px; min-width: 38px; }
  .advantage-item .adv-icon i { font-size: 1rem; }
  .advantage-item strong { font-size: 0.93rem; }
  .advantage-item span { font-size: 0.83rem; }

  /* --- FAQ (ok selon user) --- */
  .faq-item-block h3 { padding: 14px 16px; font-size: 0.93rem; }
  .faq-item-block .faq-answer { padding: 0 16px 14px; font-size: 0.89rem; }

  /* --- Crosslinks --- */
  .type-crosslinks { padding: 14px 16px; margin-bottom: 18px; }
  .type-crosslinks > p { font-size: 0.88rem; margin-bottom: 10px; }
  .crosslink-btn { padding: 8px 14px; font-size: 0.82rem; }
  .sim-footnote { font-size: 0.7rem; }

  /* --- Communes --- */
  .communes-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .commune-link { padding: 10px 12px; font-size: 0.85rem; }

  /* --- Reviews compact mobile --- */
  .reviews-header { flex-direction: column; gap: 8px; text-align: center; padding: 12px 14px; }
  .reviews-google-badge { justify-content: center; }
  .reviews-grid { grid-template-columns: 1fr; gap: 10px; }
  .review-card { padding: 16px; }
  .review-card blockquote { font-size: 0.88rem; }
  .review-author-info strong { font-size: 0.85rem; }

  /* --- CTA final --- */
  .final-cta { padding: 28px 16px; }
  .final-cta h2 { font-size: 1.3rem; }
  .final-cta p { font-size: 0.92rem; }
  .final-cta .cta-phone { font-size: 1.15rem; margin-bottom: 14px; }

  /* --- Cookie banner --- */
  #cookie-banner {
    flex-direction: column; gap: 1rem;
    width: calc(100% - 1.5rem); bottom: 1rem;
    padding: 1rem 1.2rem; font-size: .9rem;
  }
  .cookie-buttons { width: 100%; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
  #cookie-banner button { padding: .6rem 1.4rem; font-size: .85rem; }
}

/* ===== RESPONSIVE PETIT MOBILE ===== */
@media (max-width: 480px) {
  .type-hero { padding: 22px 12px 22px; }
  .type-hero h1 { font-size: 1.4rem; }
  .type-hero .hero-subtitle { font-size: 0.86rem; line-height: 1.5; }

  .hero-badges { gap: 6px; }
  .hero-badge { padding: 5px 10px; font-size: 0.75rem; }
  .hero-badge.price { font-size: 0.88rem; padding: 7px 15px; }

  .hero-cta-group { max-width: 100%; }

  .type-section { padding: 22px 12px; }
  .type-section h2 { font-size: 1.15rem; }

  /* Timeline 1 colonne sur petit écran */
  .type-section .timeline-etapes { grid-template-columns: 1fr; gap: 10px; }
  .type-section .timeline-etape { flex-direction: row; align-items: center; gap: 12px; text-align: left; }
  .type-section .etape-circle { width: 40px; height: 40px; margin-bottom: 0; flex-shrink: 0; }
  .type-section .etape-num { font-size: 1rem; }
  .type-section .etape-card { padding: 10px 12px; }
  .type-section .etape-card p { display: none; }
  .type-section .etape-mini-details { flex-direction: row; flex-wrap: wrap; }

  /* Prix cards encore plus compactes */
  .apt-price-card { padding: 12px; gap: 10px; }
  .apt-price-card.popular::after { font-size: 0.55rem; padding: 2px 8px; top: -1px; right: auto; left: 10px; }
  .apt-price-card .card-icon { width: 36px; height: 36px; min-width: 36px; }
  .apt-price-card h3 { font-size: 0.88rem; }
  .apt-price-card .card-price { font-size: 1.2rem; }
  .apt-price-card .card-cta { padding: 7px 12px; font-size: 0.78rem; }

  /* Inline price card small mobile */
  .price-card-inline { padding: 10px 12px; gap: 8px; }
  .price-card-inline .card-icon { width: 34px; height: 34px; min-width: 34px; }
  .price-card-inline .card-info h3 { font-size: 0.88rem; }
  .price-card-inline .card-price { font-size: 1.2rem; }
  .price-card-inline .card-cta { padding: 7px 12px; font-size: 0.78rem; }

  /* Know grid compact */
  .know-item { padding: 12px; gap: 10px; }
  .know-icon { width: 34px; height: 34px; min-width: 34px; }
  .know-item strong { font-size: 0.86rem; }
  .know-item p { font-size: 0.82rem; line-height: 1.45; }

  .communes-grid { grid-template-columns: 1fr; }

  /* Simulator small mobile */
  .hero-simulator { padding: 16px 10px 14px; }
  .sim-type-selector { gap: 3px; margin-bottom: 12px; }
  .sim-type-btn { padding: 5px 8px; font-size: 0.68rem; gap: 4px; }
  .sim-type-btn i { display: none; }
  .sim-slider-wrap { padding-top: 32px; }
  .sim-bubble { font-size: 0.8rem; padding: 3px 10px; }
  .sim-range::-webkit-slider-thumb { width: 28px; height: 28px; }
  .sim-range::-moz-range-thumb { width: 28px; height: 28px; }
  .sim-price { font-size: 1.8rem; }
  .sim-cta { width: 100%; justify-content: center; }

  /* Team page small mobile */
  .team-card { padding: 16px 14px; gap: 14px; }
  .team-photo-wrapper { width: 100px; }
  .team-photo { width: 100px; height: 125px; }
  .team-info h3 { font-size: 1.05rem; }
  .team-role { font-size: 0.76rem; padding: 3px 12px; }
  .team-cert { font-size: 0.78rem; }
  .team-info p { font-size: 0.84rem; }
  .team-tags span { font-size: 0.72rem; }
  .team-linkedin { font-size: 0.82rem; padding: 7px 16px; }
}
