/* ==========================================================================
   Climatisation Express — area.css
   REUSABLE template stylesheet for commune / service-area pages
   (e.g. /climatisation-saint-genis-pouilly/, /climatisation-gex/ …).
   Deliberately different from the service pages: location hero with a map
   motif, breadcrumb, and a two-column article + sticky conversion sidebar.
   Reuses shared tokens/buttons/contact-form from global.css + home.css.
   ========================================================================== */
@import url("home.css");

/* ---------- Breadcrumb --------------------------------------------------- */
.breadcrumb { background: var(--mist); border-bottom: 1px solid var(--line); }
.breadcrumb-inner {
  max-width: var(--wrap); margin-inline: auto; padding: 12px 22px;
  font-size: .84rem; color: var(--muted);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--frost-deep); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--line); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Area hero (location + map) ---------------------------------- */
.area-hero {
  position: relative; overflow: hidden; padding: 56px 0 66px;
  background: radial-gradient(900px 520px at 92% -12%, var(--frost-soft) 0%, transparent 55%), var(--paper);
}
.area-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
  background-size: 26px 26px; opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
          mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.area-hero .wrap { position: relative; }
.area-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.area-loc {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--frost-soft); color: var(--frost-deep);
  font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px;
}
.area-loc svg { width: 15px; height: 15px; }
.area-hero h1 { font-size: clamp(1.9rem, 4vw, 2.95rem); margin: 18px 0 0; }
.area-hero h1 .loc { color: var(--frost-deep); }
.area-hero-lead { margin-top: 18px; font-size: 1.08rem; max-width: 56ch; }
.area-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.area-stats { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.area-stat b { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 700; line-height: 1.1; }
.area-stat small { font-size: .82rem; color: var(--muted); }

/* map card */
.area-map { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 14px; }
.area-map svg { width: 100%; height: auto; border-radius: 16px; display: block; }
.area-map-foot { display: flex; align-items: center; gap: 12px; padding: 14px 10px 4px; }
.area-map-foot .pin { width: 44px; height: 44px; border-radius: 12px; background: var(--ember-soft); color: var(--ember-deep); display: grid; place-items: center; flex-shrink: 0; }
.area-map-foot .pin svg { width: 22px; height: 22px; }
.area-map-foot b { display: block; color: var(--ink); font-size: .98rem; }
.area-map-foot small { color: var(--muted); font-size: .82rem; }

/* ---------- Two-column body --------------------------------------------- */
.area-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 50px; align-items: start; }

/* main article */
.area-intro p { font-size: 1.06rem; }
.area-intro p + p { margin-top: 14px; }
.area-section { padding-top: 38px; margin-top: 38px; border-top: 1px solid var(--line); }
.area-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 6px; }
.area-head .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--frost-soft); color: var(--frost-deep); display: grid; place-items: center; flex-shrink: 0; }
.area-head .ico svg { width: 23px; height: 23px; }
.area-head.warm .ico { background: var(--ember-soft); color: var(--ember-deep); }
.area-section h2 { font-size: clamp(1.3rem, 2.4vw, 1.68rem); line-height: 1.25; align-self: center; }
.area-section p { margin-top: 12px; }

/* distinct list treatment (pills + circular ticks) */
.adv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0 4px; }
.adv-list li { display: flex; gap: 11px; align-items: flex-start; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; font-size: .95rem; }
.adv-list .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--frost); color: #fff; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.adv-list .dot svg { width: 13px; height: 13px; }
.prob-list .dot { background: var(--ember); }

/* ---------- Sticky conversion sidebar ----------------------------------- */
.area-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px; }
.area-card.solid { background: var(--ink); color: #cfe0ee; border-color: transparent; }
.area-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.area-card.solid h3 { color: #fff; }
.area-card .ac-sub { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.area-card.solid .ac-sub { color: #9fb8cd; }
.area-card .btn { margin-bottom: 10px; }
.ac-svc { margin-top: 4px; display: grid; gap: 10px; }
.ac-svc li { display: flex; gap: 10px; align-items: center; font-size: .93rem; color: var(--ink-soft); }
.area-card.solid .ac-svc li { color: #cfe0ee; }
.ac-svc .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--frost-soft); color: var(--frost-deep); display: grid; place-items: center; flex-shrink: 0; }
.ac-svc .dot svg { width: 12px; height: 12px; }
.ac-trust { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); display: flex; gap: 8px 16px; flex-wrap: wrap; }
.area-card.solid .ac-trust { border-color: rgba(255,255,255,.12); color: #9fb8cd; }
.ac-trust span { display: inline-flex; align-items: center; gap: 6px; }
.ac-trust svg { width: 14px; height: 14px; color: var(--green); }

/* ---------- Nearby communes --------------------------------------------- */
.nearby-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nearby-grid a { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; color: var(--ink); font-size: .95rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.nearby-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--frost); color: var(--frost-deep); }
.nearby-grid .pin { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--frost), var(--frost-deep)); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.nearby-grid .pin svg { width: 16px; height: 16px; }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1024px) {
  .area-layout { grid-template-columns: 1fr; gap: 36px; }
  .area-aside { position: static; grid-template-columns: 1fr 1fr; }
  .nearby-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .area-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .area-map { max-width: 440px; }
  .area-hero-actions, .area-stats { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .area-aside { grid-template-columns: 1fr; }
  .adv-list { grid-template-columns: 1fr; }
  .nearby-grid { grid-template-columns: 1fr; }
  .area-hero { padding: 40px 0 48px; }
  .area-section h2 { align-self: flex-start; }
}

/* Added-section titles kept out of the H2 hierarchy (doc keeps 9 H2s) */
.sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.sec-title.on-dark { color: #fff; }
