/* ==========================================================================
   METI TOITURE — Pages services & zones d'intervention
   (s'appuie sur les variables de style.css)
   ========================================================================== */

.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-hidden] { margin: 0 0.5rem; }

.page-hero .lead { max-width: 720px; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.prose li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; color: var(--text-secondary); }
.prose li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); }
.prose strong { color: var(--text-primary); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.prose blockquote p { color: var(--text-primary); font-style: italic; margin-bottom: 0.5rem; }
.prose blockquote cite { color: var(--text-muted); font-size: 0.85rem; font-style: normal; }

.aside-card { position: sticky; top: 100px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.aside-card h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.aside-card p { font-size: 0.95rem; margin-bottom: 1.25rem; }
.aside-card .btn { width: 100%; margin-bottom: 0.75rem; }
.aside-card ul { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--border); }
.aside-card li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-secondary); }

.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.photo-strip figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-card); }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-strip figcaption { padding: 0.75rem 1rem; font-size: 0.85rem; color: var(--text-secondary); }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 0.75rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 3rem 1.25rem 1.5rem; font-weight: 600; color: var(--text-primary); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); transition: transform 0.3s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.25rem; margin: 0; }

.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-weight: 600; transition: border-color 0.3s ease, transform 0.3s ease; }
.link-card:hover { border-color: var(--primary); transform: translateY(-3px); color: var(--text-primary); }
.link-card span { color: var(--primary); }

.commune-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.commune-list li { padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; color: var(--text-secondary); }
.commune-list a { color: var(--text-primary); }

.subsection-title { font-size: clamp(1.4rem, 3vw, 2rem); text-align: center; margin-bottom: 2rem; }

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
