/* MatServices — styles communs aux 4 templates */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --blue:#1d4ed8;--blue-light:#eff6ff;--blue-dark:#1e3a8a;
  --green:#16a34a;--green-light:#f0fdf4;
  --orange:#ea580c;--orange-light:#fff7ed;
  --gray:#64748b;--gray-light:#f8fafc;--border:#e2e8f0;
  --radius:10px;--shadow:0 2px 16px rgba(0,0,0,.08);
}
body{font-family:'Segoe UI',system-ui,sans-serif;font-size:16px;line-height:1.6;color:#1e293b;background:#fff}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%}

/* ── Header ── */
.site-header{background:var(--blue-dark);color:#fff;padding:1rem 0}
.site-header .inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{font-size:1.3rem;font-weight:800;color:#fff;letter-spacing:-.02em}
.logo span{color:#60a5fa}
.header-tel{font-size:1.05rem;font-weight:700;color:#fbbf24;white-space:nowrap}
.header-tel i{margin-right:.3rem}

/* ── Hero ── */
.hero{padding:3rem 0 2.5rem;background:linear-gradient(135deg,var(--blue-dark) 0%,var(--blue) 100%);color:#fff}
.hero h1{font-size:2rem;font-weight:800;line-height:1.2;margin-bottom:.75rem}
.hero .sub{font-size:1.1rem;opacity:.85;margin-bottom:1.5rem}
.hero-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.75rem}
.badge{display:inline-flex;align-items:center;gap:.35rem;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);border-radius:20px;padding:.3rem .8rem;font-size:.82rem;font-weight:600}
.btn{display:inline-block;padding:.75rem 1.75rem;border-radius:8px;font-weight:700;font-size:1rem;cursor:pointer;border:none;transition:.15s}
.btn-cta{background:#fbbf24;color:#1e293b}
.btn-cta:hover{background:#f59e0b;text-decoration:none;color:#1e293b}
.btn-outline{background:transparent;border:2px solid #fff;color:#fff}
.btn-outline:hover{background:#fff;color:var(--blue);text-decoration:none}

/* ── Layout ── */
.inner{max-width:1080px;margin:0 auto;padding:0 1.25rem}
.section{padding:2.5rem 0}
.section-alt{background:var(--gray-light)}
.section-title{font-size:1.5rem;font-weight:800;margin-bottom:.5rem;color:#1e293b}
.section-lead{color:var(--gray);margin-bottom:2rem}

/* ── Cards ── */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;margin-top:1.5rem}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow)}
.card-icon{font-size:2rem;margin-bottom:.75rem}
.card h3{font-size:1rem;font-weight:700;margin-bottom:.4rem}
.card p{font-size:.9rem;color:var(--gray)}

/* ── Entreprise (template A) ── */
.ent-header{display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap;margin-bottom:2rem}
.ent-logo{width:90px;height:90px;border-radius:12px;background:var(--blue-light);display:flex;align-items:center;justify-content:center;font-size:2rem;flex-shrink:0}
.ent-info h2{font-size:1.4rem;font-weight:800;margin-bottom:.25rem}
.ent-info .zone{color:var(--gray);font-size:.9rem;margin-bottom:.5rem}
.stars{color:#fbbf24;font-size:1.1rem;letter-spacing:.05em}
.tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.5rem}
.tag{background:var(--blue-light);color:var(--blue);border-radius:20px;padding:.2rem .7rem;font-size:.78rem;font-weight:600}

/* ── Prix tableau ── */
.prix-table{width:100%;border-collapse:collapse;margin-top:1rem}
.prix-table th{background:var(--blue);color:#fff;padding:.6rem .9rem;text-align:left;font-size:.85rem}
.prix-table td{padding:.6rem .9rem;border-bottom:1px solid var(--border);font-size:.9rem}
.prix-table tr:nth-child(even) td{background:var(--gray-light)}

/* ── Steps ── */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.25rem;counter-reset:step;margin-top:1.5rem}
.step{position:relative;padding:1.25rem 1rem 1rem;border:1px solid var(--border);border-radius:var(--radius);counter-increment:step}
.step::before{content:counter(step);position:absolute;top:-14px;left:1rem;background:var(--blue);color:#fff;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.85rem}
.step h4{font-size:.95rem;font-weight:700;margin-bottom:.3rem}
.step p{font-size:.85rem;color:var(--gray)}

/* ── FAQ ── */
.faq{margin-top:1.5rem}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.75rem;overflow:hidden}
.faq-q{padding:.9rem 1.1rem;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:.95rem}
.faq-q:hover{background:var(--gray-light)}
.faq-a{padding:0 1.1rem 1rem;font-size:.9rem;color:#475569;display:none}
.faq-item.open .faq-a{display:block}
.faq-item.open .faq-q{background:var(--blue-light);color:var(--blue)}

/* ── Formulaire devis ── */
.devis-box{background:linear-gradient(135deg,var(--blue-dark),var(--blue));color:#fff;border-radius:16px;padding:2rem;max-width:520px}
.devis-box h3{font-size:1.3rem;font-weight:800;margin-bottom.5rem}
.devis-box .form-group{margin-bottom:1rem}
.devis-box label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.3rem;opacity:.85}
.devis-box input,.devis-box select,.devis-box textarea{width:100%;padding:.6rem .9rem;border-radius:6px;border:none;font-size:.9rem}
.devis-box textarea{height:80px;resize:vertical}
.devis-box .btn-cta{width:100%;text-align:center;font-size:1rem;padding:.85rem}

/* ── Testimonials ── */
.testimonials{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem;margin-top:1.5rem}
.testi{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;box-shadow:var(--shadow)}
.testi .stars{font-size:.95rem;margin-bottom:.5rem}
.testi p{font-size:.88rem;color:#475569;font-style:italic;margin-bottom:.5rem}
.testi .author{font-size:.82rem;font-weight:700;color:#1e293b}

/* ── Footer ── */
.site-footer{background:#0f172a;color:#94a3b8;padding:2rem 0;margin-top:3rem}
.footer-inner{display:flex;flex-wrap:wrap;gap:2rem;justify-content:space-between;align-items:flex-start}
.footer-brand{color:#f8fafc;font-weight:700;font-size:1.1rem;margin-bottom:.5rem}
.footer-links{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem}
.footer-links a{color:#94a3b8;font-size:.85rem}
.footer-links a:hover{color:#f8fafc}
.footer-copy{text-align:center;margin-top:1.5rem;font-size:.8rem;border-top:1px solid #1e293b;padding-top:1rem}

/* ── Responsive ── */
@media(max-width:640px){
  .hero h1{font-size:1.5rem}
  .ent-header{flex-direction:column}
  .hero .inner{flex-direction:column}
}
