/* =========================================================
   seo-local-commune — pages communes du referencement local
   ---------------------------------------------------------
   Le chrome commun (charte, boutons, header, mega-menus,
   menu mobile, footer) vit dans assets/site.css ; les patrons
   partages (hero-points, steps, feat-list, contact-info,
   cta-band, faq) dans assets/layout.css.

   Partage par les 14 pages communes (gabarit
   partials/seo-local/page-commune.php). Repris de
   seo-local-agence.css, avec les familles en liens courts.
   ========================================================= */

/* ============ PLACEHOLDERS IMAGE ============ */
.ph{position:relative;overflow:hidden;border-radius:var(--radius);background:repeating-linear-gradient(135deg, rgba(248,182,138,.18) 0 14px, rgba(248,182,138,.06) 14px 28px),linear-gradient(160deg,#e9dcc9,#d8c6ad);display:flex;align-items:flex-end;min-height:200px;color:var(--navy);border:1px solid var(--line)}
.ph img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}

/* ============ SECTIONS GÉNÉRIQUES ============ */
.section{padding:80px 0}
.section-head{max-width:64ch;margin-bottom:40px}
.section-head h2{font-size:clamp(1.9rem,3.4vw,2.5rem);margin:12px 0}
.audience-tag{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .9rem;border-radius:100px;font-family:var(--font-title);font-weight:700;font-size:.82rem;background:var(--blue-light);color:var(--navy)}

/* Nom composé : sans cela, le titre se coupe au trait d'union
   (« Pennes- / Mirabeau »). */
.nowrap{white-space:nowrap}

/* ============ HERO ============ */
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding:72px 24px 80px;position:relative;z-index:1}
.hero h1{color:#fff;font-size:clamp(2.1rem,4.4vw,3.2rem);margin:14px 0 18px;max-width:17ch}
.hero p.lead{font-size:clamp(1.02rem,1.6vw,1.16rem);color:rgba(255,255,255,.86);max-width:50ch;margin-bottom:28px}

/* ============ FAMILLES DE PRODUITS ============
   Liens courts, sans description : les descriptions vivent sur
   les pages produits. Les recopier sur chaque page commune
   ferait de ces pages des quasi-doublons. */
.fam-links{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.fam-link{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:16px 18px;font-family:var(--font-title);font-weight:700;color:var(--navy);transition:border-color .15s ease,transform .15s ease}
.fam-link:hover{border-color:var(--accent);transform:translateY(-2px)}
.fam-link .ico{flex:none;width:42px;height:42px;border-radius:10px;background:var(--navy);color:#fff;display:grid;place-items:center}

/* ============ CE QUI COMPTE LOCALEMENT ============ */
.local{background:var(--cream-2)}
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.value{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.value .ico{width:52px;height:52px;border-radius:14px;background:var(--cream-2);color:var(--accent);display:grid;place-items:center;margin-bottom:16px}
.value h3{font-size:1.16rem;margin-bottom:8px}
.value p{color:var(--muted);font-size:.95rem}

/* ============ PROFESSIONNELS ============
   Version courte : texte à gauche, liens métiers à droite. */
.pro-band{display:flex;flex-wrap:wrap;gap:24px 48px;align-items:center;justify-content:space-between}
.pro-band > div:first-child{flex:1 1 520px}
.pro-band h2{font-size:clamp(1.7rem,3vw,2.2rem);margin:12px 0}
.pro-intro{color:var(--muted);font-size:1.05rem;max-width:62ch}
.pro-intro a{color:var(--accent);font-weight:600}
.pro-intro a:hover{text-decoration:underline}
.pro-links{display:flex;flex-wrap:wrap;gap:12px}

/* ============ VENIR AU SHOWROOM ============
   Reprend le bloc coordonnées de la page contact (classes
   contact-info / info-item / map de layout.css). */
.infos-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:stretch}
.showroom-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.infos-grid .map iframe{height:100%;min-height:320px}

/* ============ COMMUNES VOISINES ============ */
.communes{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.communes li{background:#fff;border:1px solid var(--line);border-radius:100px;padding:.5rem 1rem;font-weight:500;color:var(--navy)}
.communes a{color:var(--accent);font-weight:600}
.communes li:has(a){border-color:var(--accent)}
.communes a:hover{text-decoration:underline}

/* ============ BANDEAU CTA ============
   Le texte est plus long que sur les pages produits : sans
   flex:1, il réclame toute la largeur et renvoie le bouton à
   la ligne sur grand écran. */
.cta-band .inner > div{flex:1;min-width:280px}

/* ============ RESPONSIVE ============ */
@media (max-width:980px){
  .hero-grid,.infos-grid{grid-template-columns:1fr;gap:34px}
  .values,.fam-links{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .section{padding:56px 0}
  .hero-grid{padding:44px 24px 52px}
  .values,.fam-links{grid-template-columns:1fr}
  .infos-grid .map iframe{min-height:240px}
}
