/* ================================================================
   Site vitrine — Carrelage & Plaquage
   Feuille de style partagée
   ================================================================ */

:root {
  --anthracite: #23272b;
  --anthracite-soft: #33383e;
  --terracotta: #c9613f;
  --terracotta-dark: #a94d2f;
  --sand: #f4efe9;
  --sand-dark: #e7ded3;
  --line: #ddd3c7;
  --text: #2c2c2c;
  --text-soft: #5f5a54;
  --white: #ffffff;
  --shadow: 0 8px 28px rgba(35, 39, 43, 0.10);
  --radius: 10px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  color: var(--anthracite);
  font-weight: 700;
}

a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Top bar (contact rapide) ---------------- */
.topbar {
  background: var(--anthracite);
  color: #e7ded3;
  font-size: .86rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar a { color: #f4efe9; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar .tb-tag { color: #b6ada2; }
.topbar .tb-social a { margin-left: 14px; font-size: 1rem; }

/* ---------------- Header / Navigation ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--anthracite);
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  display: grid; place-items: center;
  color: #fff; font-size: 1.1rem;
  box-shadow: var(--shadow);
}
.brand small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); font-family: "Segoe UI", sans-serif; font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--anthracite);
  font-weight: 600;
  font-size: .96rem;
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--terracotta);
  transition: width .25s ease;
}
.nav-links a:hover { text-decoration: none; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--terracotta-dark); }

.nav-cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--terracotta-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.6rem; color: var(--anthracite);
  cursor: pointer;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); text-decoration: none; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.btn-dark { background: var(--anthracite); color: #fff; }
.btn-dark:hover { background: var(--anthracite-soft); text-decoration: none; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(28,31,34,.72), rgba(28,31,34,.72)),
    repeating-linear-gradient(45deg, #3a3f45 0 40px, #34383e 40px 80px);
  overflow: hidden;
}
.hero-inner {
  padding: 96px 0 104px;
  max-width: 720px;
}
.hero .eyebrow {
  display: inline-block;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  color: var(--sand);
  background: rgba(201,97,63,.25);
  border: 1px solid rgba(201,97,63,.6);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero p { font-size: 1.18rem; color: #eee; margin-bottom: 30px; max-width: 600px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page banner (secondary pages) */
.page-banner {
  background:
    linear-gradient(rgba(28,31,34,.78), rgba(28,31,34,.78)),
    repeating-linear-gradient(45deg, #3a3f45 0 40px, #34383e 40px 80px);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-banner p { color: #e6e1da; margin-top: 10px; font-size: 1.08rem; }
.breadcrumb { margin-top: 14px; font-size: .9rem; color: #cfc8bf; }
.breadcrumb a { color: var(--sand); }

/* ---------------- Sections ---------------- */
.section { padding: 78px 0; }
.section.alt { background: var(--sand); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .eyebrow {
  color: var(--terracotta-dark);
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  font-size: .8rem; font-family: "Segoe UI", sans-serif;
}
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 10px 0 14px; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------------- Service cards ---------------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ico {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--terracotta-dark);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .98rem; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li { position: relative; padding-left: 22px; margin-bottom: 6px; color: var(--text-soft); font-size: .95rem; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--terracotta); font-weight: 700; }

/* ---------------- Features / steps ---------------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; margin-bottom: 26px; }
.step .num {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff; font-weight: 700;
  display: grid; place-items: center;
  font-family: Georgia, serif;
}
.step h4 { margin-bottom: 4px; }
.step p { color: var(--text-soft); font-size: .96rem; }

/* ---------------- Gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  box-shadow: var(--shadow);
}
.tile span { position: relative; z-index: 2; }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.tile.t1 { background: repeating-linear-gradient(45deg,#c9613f 0 30px,#b45733 30px 60px); }
.tile.t2 { background: repeating-linear-gradient(0deg,#5a6572 0 30px,#4a545f 30px 60px); }
.tile.t3 { background: repeating-linear-gradient(90deg,#8a9a5b 0 30px,#78864f 30px 60px); }
.tile.t4 { background: repeating-linear-gradient(45deg,#3a3f45 0 30px,#2c3035 30px 60px); }
.tile.t5 { background: repeating-linear-gradient(135deg,#d9a441 0 30px,#c1913a 30px 60px); }
.tile.t6 { background: repeating-linear-gradient(0deg,#7c5c8a 0 30px,#6b4f77 30px 60px); }

/* ---------------- Stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .n { font-family: Georgia, serif; font-size: 2.6rem; color: var(--terracotta-dark); font-weight: 700; }
.stat .l { color: var(--text-soft); font-size: .95rem; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--terracotta);
  color: #fff;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; font-size: 1.9rem; margin-bottom: 10px; }
.cta-band p { color: #fdeee7; margin-bottom: 24px; font-size: 1.08rem; }

/* ---------------- Testimonials ---------------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 26px;
}
.quote p { font-style: italic; color: var(--text); margin-bottom: 14px; }
.quote .who { font-weight: 700; color: var(--anthracite); }
.quote .stars { color: var(--terracotta); letter-spacing: 2px; margin-bottom: 12px; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.info-item .ico {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--sand); color: var(--terracotta-dark);
  display: grid; place-items: center; font-size: 1.2rem;
}
.info-item h4 { margin-bottom: 2px; }
.info-item p { color: var(--text-soft); font-size: .96rem; }

form.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: .98rem;
  background: #fdfcfa;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(201,97,63,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--text-soft); margin-top: 10px; }

/* ---------------- About split ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split .visual {
  aspect-ratio: 4/3; border-radius: 16px; box-shadow: var(--shadow);
  background: repeating-linear-gradient(45deg,#c9613f 0 34px,#b45733 34px 68px);
  display: grid; place-items: center; color: #fff; font-size: 3rem;
}
.split h2 { font-size: clamp(1.6rem,3.4vw,2.3rem); margin-bottom: 16px; }
.split p { color: var(--text-soft); margin-bottom: 14px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--anthracite); color: #cfc9c1; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; font-family: "Segoe UI", sans-serif; }
.site-footer a { color: #cfc9c1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; font-size: .95rem; }
.footer-brand p { color: #a8a29a; font-size: .95rem; margin-top: 12px; max-width: 320px; }
.footer-bottom { border-top: 1px solid #3a3f45; padding-top: 20px; text-align: center; font-size: .88rem; color: #8f8981; }

/* ---------------- Bandeau de réassurance ---------------- */
.trust-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ti-ico {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: var(--sand); color: var(--terracotta-dark);
  display: grid; place-items: center; font-size: 1.3rem;
}
.trust-item strong { display: block; color: var(--anthracite); font-size: .98rem; }
.trust-item span { color: var(--text-soft); font-size: .84rem; }

/* Badges certifications */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }
.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--anthracite);
  background: var(--white);
  display: inline-flex; align-items: center; gap: 8px;
}
.badge .b-ico { color: var(--terracotta-dark); }

/* ---------------- FAQ (accordéon) ---------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 44px 20px 0; position: relative; cursor: pointer;
  font-family: Georgia, serif; font-size: 1.12rem; font-weight: 700;
  color: var(--anthracite);
}
.faq-q::after {
  content: "+"; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%); font-size: 1.6rem; color: var(--terracotta);
  transition: transform .2s ease;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { color: var(--text-soft); padding: 0 0 20px; }

/* ---------------- Zones d'intervention ---------------- */
.zones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.zone-chip {
  background: var(--sand); border: 1px solid var(--sand-dark);
  border-radius: 999px; padding: 8px 16px; font-size: .92rem;
  color: var(--anthracite); font-weight: 600;
}

/* ---------------- Bouton d'appel flottant (mobile) ---------------- */
.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--terracotta); color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center; font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.28); text-decoration: none;
}
.call-fab:hover { background: var(--terracotta-dark); text-decoration: none; }

/* ---------------- Utilities ---------------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.placeholder { color: var(--terracotta-dark); font-weight: 700; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .topbar .tb-social { display: none; }
  .call-fab { display: grid; }
}
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 4px 24px; }
  .nav-links a { display: block; padding: 10px 0; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 34px 22px; }
}
