
:root {
  --blue: #1E40AF;
  --blue-dark: #1E3A8A;
  --blue-light: #2563EB;
  --orange: #F59E0B;
  --orange-dark: #F97316;
  --green: #059669;
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 999; background: var(--blue); color: white; padding: 8px 16px; border-radius: var(--radius); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 700; font-size: 1.1rem; color: var(--blue); text-decoration: none; white-space: nowrap; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 8px; list-style: none; }
.main-nav a { color: var(--gray-600); text-decoration: none; font-size: 0.9rem; padding: 6px 10px; border-radius: var(--radius); transition: background 0.2s, color 0.2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--gray-100); color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; padding: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; border: none; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: white; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Breadcrumbs */
.breadcrumbs { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 10px 0; font-size: 0.85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li::after { content: "›"; margin-left: 6px; color: var(--gray-400); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--blue-dark), var(--blue), var(--blue-light)); color: white; padding: 60px 0; }
.hero-split .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-centered { text-align: center; max-width: 780px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero .lead { font-size: 1.1rem; opacity: 0.92; margin-bottom: 24px; line-height: 1.6; }

/* Trust badges */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 20px; }
.trust-badges li { background: rgba(255,255,255,0.15); border-radius: 20px; padding: 6px 14px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.2); }

/* Devis box */
.devis-box { background: white; border-radius: 12px; padding: 28px; box-shadow: var(--shadow-lg); color: var(--gray-800); }
.devis-box h2 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.devis-subtitle { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }
.devis-inline { margin: 32px 0; }

/* Stats bar */
.stats-bar { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 24px 0; }
.stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.stat-label { font-size: 0.82rem; color: var(--gray-600); }

/* Content layout */
.content { padding: 52px 0; }
.content-sidebar .container { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.content-main h2 { font-size: 1.4rem; font-weight: 700; color: var(--gray-900); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-100); }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { font-size: 1.1rem; font-weight: 600; color: var(--gray-800); margin: 24px 0 10px; }
.content-main p { margin-bottom: 16px; color: var(--gray-700); line-height: 1.75; }
.content-main ul, .content-main ol { padding-left: 24px; margin-bottom: 16px; }
.content-main li { margin-bottom: 8px; color: var(--gray-700); line-height: 1.65; }

/* Tables */
.pricing-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.pricing-table caption { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 8px; text-align: left; }
.pricing-table thead { background: var(--blue); color: white; }
.pricing-table th { padding: 12px 14px; text-align: left; font-weight: 600; }
.pricing-table td { padding: 11px 14px; border-bottom: 1px solid var(--gray-100); }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:nth-child(even) { background: var(--gray-50); }
.pricing-table a { color: var(--blue); }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 16px 16px 16px 56px; position: relative; margin-bottom: 16px; background: var(--gray-50); border-radius: var(--radius); border-left: 3px solid var(--blue); }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.steps h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-900); }
.steps p { margin: 0; font-size: 0.9rem; }

/* Pros/cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros, .cons { background: var(--gray-50); border-radius: var(--radius); padding: 20px; }
.pros { border-top: 3px solid var(--green); }
.cons { border-top: 3px solid #EF4444; }
.pros h3, .cons h3 { font-size: 1rem; margin-bottom: 12px; }
.pros ul, .cons ul { padding-left: 18px; }
.pros li, .cons li { font-size: 0.9rem; margin-bottom: 6px; }

/* Material cards */
.material-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0; }
.material-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.material-card h3 { font-size: 1rem; color: var(--blue); margin-bottom: 8px; }
.material-price { font-size: 1.2rem; font-weight: 700; color: var(--orange); margin-bottom: 10px; }
.material-card p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }

/* FAQ */
.faq { margin-top: 40px; }
.faq h2 { font-size: 1.4rem; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.faq-item details { }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 0.95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; background: var(--gray-50); }
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--blue); transition: transform 0.2s; }
.faq-item details[open] summary::after { content: "−"; }
.faq-item dd, .faq-item details p { padding: 14px 20px; margin: 0; font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; }
dt { display: block; }

/* Sidebar */
.content-sidebar-widget { display: flex; flex-direction: column; gap: 24px; }
.sidebar-devis { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: white; border-radius: 12px; padding: 24px; }
.sidebar-devis h3 { font-size: 1.1rem; margin-bottom: 8px; }
.sidebar-devis p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 16px; }
.sidebar-devis .btn { width: 100%; text-align: center; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); margin-bottom: 14px; }
.sidebar-trust { list-style: none; padding: 0; }
.sidebar-trust li { font-size: 0.82rem; opacity: 0.9; margin-bottom: 4px; }
.sidebar-links { background: var(--gray-50); border-radius: var(--radius); padding: 20px; border: 1px solid var(--gray-200); }
.sidebar-links h3 { font-size: 1rem; margin-bottom: 12px; color: var(--gray-800); }
.sidebar-links ul { list-style: none; padding: 0; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links a { color: var(--blue); text-decoration: none; font-size: 0.9rem; }
.sidebar-links a:hover { text-decoration: underline; }

/* Related */
.related { background: var(--gray-50); padding: 48px 0; }
.related h2 { font-size: 1.3rem; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.related-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: box-shadow 0.2s, transform 0.2s; }
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.related-icon { font-size: 1.5rem; }
.related-title { font-weight: 600; color: var(--gray-900); font-size: 0.95rem; }
.related-desc { font-size: 0.82rem; color: var(--gray-600); }

/* CTA section */
.cta-section { background: linear-gradient(135deg, var(--blue-dark), var(--blue-light)); color: white; padding: 60px 0; text-align: center; }
.cta-section h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-section p { margin-bottom: 28px; opacity: 0.9; }
.cta-inline { background: var(--gray-50); border-radius: var(--radius); padding: 24px; margin: 32px 0; text-align: center; border: 1px solid var(--gray-200); }
.cta-inline p { margin-bottom: 14px; font-weight: 600; }

/* City grid */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 20px 0; }
.city-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: box-shadow 0.2s; }
.city-card:hover { box-shadow: var(--shadow); }
.city-name { font-weight: 600; color: var(--gray-900); font-size: 0.95rem; }
.city-dept { font-size: 0.8rem; color: var(--gray-600); }
.city-card-text { cursor: default; }

/* Blog */
.blog-container { max-width: 780px; }
.blog-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 2px solid var(--gray-100); }
.blog-category { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.blog-article .container h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.blog-lead { font-size: 1.1rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 12px; }
.blog-meta { font-size: 0.85rem; color: var(--gray-400); }
.blog-article { padding: 52px 0; }
.blog-article h2 { font-size: 1.35rem; font-weight: 700; color: var(--gray-900); margin: 36px 0 14px; }
.blog-article h3 { font-size: 1.1rem; font-weight: 600; margin: 22px 0 10px; }
.blog-article p { margin-bottom: 16px; color: var(--gray-700); line-height: 1.75; }
.blog-article ul, .blog-article ol { padding-left: 24px; margin-bottom: 16px; }
.blog-article li { margin-bottom: 8px; color: var(--gray-700); }

/* Signe cards */
.signe-card { background: var(--gray-50); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; border-left: 4px solid var(--blue); }
.signe-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.signe-card p { margin-bottom: 10px; font-size: 0.9rem; }
.signe-card p:last-child { margin-bottom: 0; font-style: italic; color: var(--gray-600); }

/* Sommaire */
.sommaire { background: var(--gray-50); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; border: 1px solid var(--gray-200); }
.sommaire h2 { font-size: 1rem; margin-bottom: 12px; border: none; padding: 0; }
.sommaire ol { padding-left: 20px; }
.sommaire li { margin-bottom: 6px; }
.sommaire a { color: var(--blue); font-size: 0.9rem; }

/* Legal pages */
.legal-page { padding: 48px 0 72px; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page h2 { font-size: 1.2rem; margin: 32px 0 12px; }
.legal-page h3 { font-size: 1rem; margin: 20px 0 8px; }
.legal-page p { margin-bottom: 14px; color: var(--gray-700); line-height: 1.75; }
.legal-page ul { padding-left: 20px; margin-bottom: 14px; }
.legal-page li { margin-bottom: 6px; color: var(--gray-700); }

/* Contact form */
.contact-form { margin-top: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }

/* Footer */
.site-footer { background: var(--gray-900); color: var(--gray-400); padding: 48px 0 24px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 8px; }
.footer-nav h4 { color: white; font-size: 0.9rem; margin-bottom: 12px; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: var(--gray-400); text-decoration: none; font-size: 0.88rem; }
.footer-nav a:hover { color: white; }
.footer-copy { font-size: 0.82rem; color: var(--gray-600); border-top: 1px solid var(--gray-800); padding-top: 20px; }
.footer-copy a { color: var(--gray-500); text-decoration: none; }

/* Sticky mobile CTA */
.sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--blue); padding: 12px 20px; text-align: center; box-shadow: 0 -2px 12px rgba(0,0,0,0.15); }
.sticky-mobile-cta .btn { width: 100%; max-width: 400px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); font-size: 1rem; padding: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-split .container { grid-template-columns: 1fr; }
  .content-sidebar .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--gray-200); padding: 16px; z-index: 99; }
  .main-nav.open ul { flex-direction: column; }
  .nav-toggle { display: block; }
  .sticky-mobile-cta { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 70px; }
  .hero { padding: 40px 0; }
}
