/* ===== Expert Climatisation — pages intérieures (services, villes, conseils) ===== */

/* Pied de page à 4 colonnes sur grand écran (toutes les pages) */
@media (min-width: 900px) { .footer-content { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer .legal-links a { color: #dfe9e3; }
.site-footer .legal-links a:hover { color: var(--glacier); }

.menu a[aria-current="page"] { color: var(--brand); font-weight: 700; }

/* ---------- En-tête de page ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--head) + env(safe-area-inset-top) + 34px) var(--pad) clamp(2.6rem, 6vw, 4.6rem);
  background: radial-gradient(120% 90% at 100% 0%, var(--glacier-2) 0%, rgba(230, 247, 238, 0) 60%), linear-gradient(180deg, #fff, var(--soft));
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { display: grid; gap: 34px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--mute); margin-bottom: 22px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--mist); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; max-width: 18ch; }
.page-hero h1 em { font-style: italic; color: var(--brand); }
.page-hero .lead { margin-top: 18px; }
.page-hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-meta { margin-top: 18px; font-size: .84rem; color: var(--mute); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.page-meta b { color: var(--ink-2); font-weight: 600; }
.page-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); box-shadow: 0 40px 70px -40px rgba(15, 80, 58, .55); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Corps : texte + colonne de contact ---------- */
.page-body { padding: clamp(2.8rem, 6vw, 5rem) var(--pad); }
.page-body > .wrap { display: grid; gap: 44px; }
.prose { max-width: 72ch; min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.1; margin-top: 50px; max-width: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; line-height: 1.35; margin-top: 30px; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.02rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-d); text-underline-offset: 3px; }
.prose a:hover { color: var(--brand); }
.prose ul li, .prose ol li { position: relative; padding: 4px 0 4px 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 2px; border-radius: 2px; background: var(--brand); }
.prose ol { padding: 0; list-style: none; counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 40px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 5px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--glacier-2); color: var(--brand-d); font-weight: 700; font-size: .82rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.prose th { color: var(--ink); background: var(--soft); font-weight: 700; }
.callout { padding: 20px 22px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.callout p { font-size: .98rem; }
.callout.warn { border-left-color: var(--gold); background: #fffaf0; }
.prose .callout b { display: block; color: var(--ink); margin-bottom: 4px; }

/* Colonne de contact */
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: 0 30px 60px -44px rgba(15, 80, 58, .55); }
.aside-card .eyebrow { margin-bottom: 8px; }
.aside-card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.aside-card p { color: var(--ink-2); font-size: .93rem; margin-top: 10px; }
.aside-card .btn { width: 100%; margin-top: 14px; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-list { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.aside-list li { position: relative; padding-left: 22px; }
.aside-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.author { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.author b { display: block; font-size: .95rem; }
.author span { font-size: .82rem; color: var(--mute); }

/* ---------- FAQ ---------- */
.faq { margin-top: 18px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-size: 1.1rem; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px; }
.faq details p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Cartes de liens ---------- */
.links-block { padding: clamp(3rem, 6vw, 5rem) var(--pad); background: var(--soft); border-top: 1px solid var(--line); }
.links-block h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.08; }
.link-grid { display: grid; gap: 14px; margin-top: 28px; }
.link-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.link-card:hover { transform: translateY(-3px); border-color: var(--glacier); box-shadow: 0 24px 44px -30px rgba(15, 80, 58, .55); }
.link-card small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brand); }
.link-card b { font-size: 1.06rem; line-height: 1.35; }
.link-card span { color: var(--ink-2); font-size: .9rem; }
.link-card em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 600; font-size: .88rem; color: var(--brand-d); }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.city-chips a { padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.city-chips a:hover { border-color: var(--brand); color: var(--brand); }
.prose .city-chips a { color: var(--ink-2); }

/* ---------- Bandeau final ---------- */
.cta-band { padding: clamp(3rem, 7vw, 5.4rem) var(--pad); background: var(--ink); color: #fff; }
.cta-band .wrap { display: grid; gap: 24px; align-items: center; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; max-width: 20ch; }
.cta-band p { color: #bdd1c5; margin-top: 10px; max-width: 54ch; }
.cta-band .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-dark { background: var(--brand); }
.cta-band .btn-dark:hover { background: var(--brand-2); }
.cta-band .btn-line { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-band .btn-line:hover { background: #fff; color: var(--ink); }

/* ---------- Accueil : bloc conseils et zones ---------- */
.home-tips .link-grid { margin-top: 40px; }
.zone-links { margin-top: 18px; }
.zone-links a { background: var(--soft); }

@media (min-width: 640px) {
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .page-hero.has-photo .wrap { grid-template-columns: 1.15fr .85fr; gap: 60px; }
  .page-body > .wrap { grid-template-columns: minmax(0, 1fr) 330px; gap: 70px; align-items: start; }
  .page-aside { position: sticky; top: calc(var(--head) + 24px); }
  .link-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-band .wrap { grid-template-columns: 1fr auto; }
}

/* ---------- Accueil : liens vers les pages services ---------- */
.card-link { margin-top: 12px; text-align: center; font-weight: 600; font-size: .9rem; color: var(--brand-d); text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-title-link { text-decoration: none; }
.card-title-link:hover { color: var(--brand); }
.cards-more { margin-top: 26px; color: var(--ink-2); font-size: .98rem; }
.cards-more a { color: var(--brand-d); font-weight: 600; }

/* Corrections */
.crumbs { list-style: none; padding: 0; }
.page-body > .wrap.no-aside { grid-template-columns: minmax(0, 1fr); }
.no-aside .prose { max-width: none; }
.no-aside .prose > p, .no-aside .prose > .callout { max-width: 72ch; }

/* Accueil : mot-clé au-dessus du grand titre */
.hero-kicker { display: block; margin-bottom: 14px; font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); line-height: 1.4; }
