/* Polices auto-hébergées (Fraunces + Inter) */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/fraunces-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/fraunces-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/fraunces-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/fraunces-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ===================================================================
   L'Artisan Couvreur du Nord 59 — Feuille de style premium
   Palette : anthracite + orange terre cuite
=================================================================== */

:root {
  --anthracite: #1c1f24;
  --anthracite-2: #262a31;
  --anthracite-3: #32373f;
  --ink: #14161a;
  --terre: #e2622e;       /* orange terre cuite (charte logo) */
  --terre-dark: #c44e1f;
  --terre-soft: #fbeee7;
  --paper: #ffffff;
  --paper-soft: #f6f4f1;
  --paper-warm: #faf8f5;
  --line: #e7e3dd;
  --text: #20242a;
  --text-soft: #5c636d;
  --text-light: #b8bdc6;
  --gold: #f5b301;
  --shadow-sm: 0 1px 3px rgba(20, 22, 26, .08);
  --shadow: 0 10px 30px rgba(20, 22, 26, .10);
  --shadow-lg: 0 30px 70px rgba(20, 22, 26, .18);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 600;
}

a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--terre); outline-offset: 3px; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .98rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terre);
  color: #fff;
  box-shadow: 0 8px 24px rgba(226, 98, 46, .35);
}
.btn-primary:hover { background: var(--terre-dark); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(226, 98, 46, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; color: var(--anthracite); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--anthracite); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, padding .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 88px;
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-left: 0; }
.logo-img { height: 70px; width: auto; transition: transform .3s var(--ease); }
.logo:hover .logo-img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 2.2rem; margin-left: auto; margin-right: 1.2rem; }
.nav a {
  text-decoration: none;
  font-weight: 400;
  font-size: .92rem;
  letter-spacing: .02em;
  color: var(--text);
  position: relative;
  transition: color .25s var(--ease);
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 50%; bottom: -7px;
  width: 0; height: 1.5px; background: var(--terre);
  transform: translateX(-50%); transition: width .35s var(--ease);
}
.nav a:not(.nav-cta):hover { color: var(--terre); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--anthracite); color: #fff !important;
  padding: .55rem 1.2rem; border-radius: 999px; font-weight: 600;
  transition: background .25s, transform .2s;
}
.nav-cta:hover { background: var(--terre); transform: translateY(-1px); }

.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: #fff; text-decoration: none;
  font-size: .9rem; flex-shrink: 0; white-space: nowrap;
  background: var(--terre); padding: .5rem .9rem; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(226,98,46,.35); transition: background .25s, transform .2s;
}
.header-phone:hover { background: var(--terre-dark); transform: translateY(-1px); }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #28c76f;
  box-shadow: 0 0 0 0 rgba(40, 199, 111, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 199, 111, .6); }
  70% { box-shadow: 0 0 0 10px rgba(40, 199, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 199, 111, 0); }
}

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: var(--anthracite); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Bandeau urgence ---------- */
.urgency-bar {
  background: var(--anthracite);
  color: #fff;
  text-align: center;
  font-size: .92rem;
  padding: .6rem 1rem;
}
.urgency-bar strong { color: var(--terre); }
.urgency-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("img/hero.webp") center/cover no-repeat;
  transform-origin: center;
  animation: heroKenBurns 28s ease-in-out infinite alternate, heroFade 1.6s ease both;
  will-change: transform;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.10) translate(-2%, -1.5%); }
}
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(16,18,21,.88) 0%, rgba(16,18,21,.72) 45%, rgba(20,22,26,.40) 100%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem;
  align-items: center;
  padding: 5rem 1.5rem 5.5rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(226, 98, 46, .18);
  border: 1px solid rgba(226, 98, 46, .5);
  color: #ffd9c4;
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 1.4rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.3rem;
}
.hero h1 .accent { color: var(--terre); }
.hero-tagline {
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  margin: -0.4rem 0 1rem;
  letter-spacing: .01em;
}
.hero-tagline .accent { color: var(--terre); }
.hero-sub {
  font-size: 1.08rem;
  color: #dfe2e7;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-sub strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: .95rem; color: #cfd3da; font-weight: 500;
}
.hero-trust li { display: flex; align-items: center; }

/* Formulaire devis dans le hero */
.hero-form-wrap {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--terre);
}
.devis-form h2 { font-size: 1.5rem; margin-bottom: .25rem; }
.form-lead { color: var(--text-soft); font-size: .9rem; margin-bottom: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem;
  padding: .7rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-warm);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terre); background: #fff;
  box-shadow: 0 0 0 3px rgba(226, 98, 46, .15);
}
.form-status { font-size: .9rem; min-height: 1.1em; margin-top: .6rem; font-weight: 500; }
.form-status.success { color: #15893f; }
.form-status.error { color: #d12f2f; }
.form-fineprint { font-size: .85rem; color: var(--text-light); text-align: center; margin-top: .7rem; }

/* ---------- Bandeau réassurance ---------- */
.trust-bar { background: var(--paper-soft); border-bottom: 1px solid var(--line); }
.trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.2rem; padding: 1.1rem 1.5rem; }
.trust-bar span { font-weight: 600; font-size: .95rem; color: var(--anthracite); }
.trust-bar span::first-letter { color: var(--terre); }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(180deg, var(--anthracite) 0%, var(--ink) 100%); color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem 1rem;
  text-align: center; padding: 2.8rem 1.5rem;
}
.stat { position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 15%; height: 70%;
  width: 1px; background: rgba(255,255,255,.12);
}
.stat-num { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 700; color: var(--terre); }
.stat-plus { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 700; color: var(--terre); }
.stat p { color: #c4c9d1; font-size: .92rem; margin-top: .2rem; }

/* ---------- Sections génériques ---------- */
.section { padding: 6rem 0; }
section[id] { scroll-margin-top: 100px; }
.section-soft { background: var(--paper-soft); }
.section-head { max-width: 680px; margin: 0 auto 3.2rem; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--terre); font-weight: 700;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: .9rem; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Qui sommes-nous ---------- */
#apropos { padding-top: 3rem; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.about-media { position: relative; }
.about-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; height: auto; }
.about-img-main { width: 100%; height: auto; }
.about-img-sec {
  position: absolute; right: -18px; bottom: -18px; width: 46%;
  border: 5px solid var(--paper-soft); border-radius: var(--radius);
}
.about-text .eyebrow { margin-bottom: .6rem; }
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.about-badge {
  display: inline-block; background: var(--terre-soft); color: var(--terre-dark);
  font-weight: 700; font-size: .85rem; padding: .35rem 1rem; border-radius: 999px;
  margin-bottom: 1.2rem;
}
.about-text p { color: var(--text-soft); margin-bottom: .9rem; line-height: 1.8; }
.about-text p strong { color: var(--anthracite); }
.about-sign { font-family: "Fraunces", serif; font-style: italic; color: var(--terre-dark) !important; font-size: 1.05rem; }
.about-guarantees { margin-top: 1.6rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--terre); border-radius: 12px; padding: 1.2rem 1.4rem; }
.about-guarantees h4 { font-family: "Inter", sans-serif; font-size: .95rem; margin-bottom: .7rem; color: var(--ink); }
.about-guarantees ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.about-guarantees li { color: var(--text-soft); font-size: .92rem; }
.about-guarantees em { color: var(--terre-dark); font-style: normal; font-weight: 600; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
  .about-img-sec { position: static; width: 60%; margin-top: 1rem; border: 0; }
}

/* ---------- Cartes services ---------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.3rem;
}
.cards .card {
  flex: 1 1 calc(25% - 1rem);
  min-width: 230px;
  max-width: 300px;
}
@media (max-width: 900px) {
  .cards .card { flex-basis: calc(50% - .7rem); max-width: none; }
}
@media (max-width: 560px) {
  .cards .card { flex-basis: 100%; }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--terre); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--terre-soft); margin-bottom: 1.1rem;
}
.card-icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--terre);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { font-size: 1.3rem; margin-bottom: .6rem; letter-spacing: -.01em; }
.card p { color: var(--text-soft); font-size: .95rem; line-height: 1.65; }
.card-urgent { background: var(--anthracite); border-color: var(--anthracite); }
.card-urgent h3, .card-urgent p { color: #fff; }
.card-urgent p { color: #cfd3da; }
.card-urgent .card-icon { background: rgba(226, 98, 46, .2); }
.card-link {
  display: inline-block; margin-top: auto; padding-top: 1.2rem; color: var(--terre);
  font-weight: 700; text-decoration: none; font-size: .95rem;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Pourquoi nous (section sombre) ---------- */
.section-dark { background: var(--anthracite); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #c4c9d1; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.why {
  background: var(--anthracite-2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.why-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: .9rem; border-radius: 14px;
  background: rgba(226, 98, 46, .14);
}
.why-ic svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--terre);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.why h4 { color: #fff; font-size: 1.02rem; font-weight: 600; }
.why:hover { transform: translateY(-5px); background: var(--anthracite-3); border-color: rgba(226,98,46,.5); }

/* ---------- Réalisations (avant/après) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); cursor: pointer;
}
.ba-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-before { opacity: 0; transition: opacity .5s var(--ease); }
.ba:hover .ba-before, .ba.show-before .ba-before { opacity: 1; }
.ba-tag {
  position: absolute; top: 12px; z-index: 2; padding: .3rem .8rem;
  border-radius: 999px; font-size: .85rem; font-weight: 700; color: #fff;
}
.ba-tag-after { right: 12px; background: var(--terre); }
.ba-tag-before { left: 12px; background: rgba(20,22,26,.8); opacity: 0; transition: opacity .4s; }
.ba:hover .ba-tag-before, .ba.show-before .ba-tag-before { opacity: 1; }
.ba figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: linear-gradient(transparent, rgba(20,22,26,.85));
  color: #fff; padding: 1.6rem 1rem .9rem; font-size: .92rem; font-weight: 600;
}
.gallery-hint { text-align: center; color: var(--text-soft); margin-top: 1.4rem; font-size: .9rem; }

/* Montages avant/après (images complètes) */
.ba-list { display: flex; flex-direction: column; gap: 1.6rem; }
.ba-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
.ba-full {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--paper-soft);
}
.ba-full img {
  width: 100%; height: auto; display: block;
  transition: transform .6s var(--ease);
}
.ba-full:hover img { transform: scale(1.025); }
@media (max-width: 760px) { .ba-duo { grid-template-columns: 1fr; } }

/* ---------- Réalisations récentes ---------- */
.work-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.work-row.reverse .work-img { order: 2; }
.work-img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.work-img img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s var(--ease); }
.work-img:hover img { transform: scale(1.04); }
.work-tag { display: inline-block; background: var(--terre-soft); color: var(--terre-dark); font-weight: 700; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: .7rem; }
.work-txt h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.work-txt p { color: var(--text-soft); line-height: 1.8; }
.work-full { margin-bottom: 3rem; }
.work-full .work-img { margin-bottom: 1.4rem; }
.work-full .work-txt { max-width: 900px; }
@media (max-width: 860px) {
  .work-row { grid-template-columns: 1fr; gap: 1.3rem; }
  .work-row.reverse .work-img { order: 0; }
}

/* ---------- Témoignages ---------- */
.rating-summary { margin-top: .6rem; font-size: 1.05rem; }
.stars { color: var(--gold); letter-spacing: 1px; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow-sm); position: relative;
}
.testimonial .stars { font-size: 1.05rem; margin-bottom: .8rem; display: block; }
.testimonial p { font-size: 1rem; color: var(--text); font-style: italic; margin-bottom: 1.1rem; }
.testimonial footer { font-weight: 700; color: var(--anthracite); font-size: .95rem; }
.testimonial footer span { color: var(--terre); font-weight: 600; }

/* Maillage interne : services liés / communes voisines */
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.related-services h2, .nearby-cities h2 { font-family: Fraunces, serif; font-size: 1.4rem; color: var(--ink); margin-bottom: 1rem; }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .7rem; }
.related-list li a { display: block; padding: .85rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.related-list li a:hover { border-color: var(--terre); color: var(--terre); transform: translateY(-2px); }
.related-back { margin-top: 1.6rem; }
.related-back a { color: var(--terre); font-weight: 700; text-decoration: none; }
.related-back a:hover { text-decoration: underline; }
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- SEO local / zone ---------- */
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.seo-grid .eyebrow { margin-top: 0; }
.seo-grid h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.2rem; }
.seo-text { color: var(--text-soft); margin-bottom: 1.8rem; font-size: 1.02rem; }
.seo-text strong { color: var(--anthracite); }
.cities {
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
}
.cities h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.city-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .6rem;
}
.city-list li {
  background: #fff; border: 1px solid var(--line);
  padding: .35rem .8rem; border-radius: 999px; font-size: .85rem;
  color: var(--text); transition: .2s;
}
.city-list li:hover { background: var(--terre); color: #fff; border-color: var(--terre); }
.cities-all { margin-top: 1.1rem; color: var(--text-soft); font-size: .92rem; }
.city-pages { margin-top: 1rem; font-size: .9rem; line-height: 2; color: var(--text-soft); }
.city-pages a { color: var(--terre); text-decoration: none; font-weight: 600; }
.city-pages a:hover { text-decoration: underline; }

/* ---------- Pages légales ---------- */
.legal { color: var(--text-soft); line-height: 1.8; }
.legal h3 { font-size: 1.15rem; margin: 1.8rem 0 .5rem; color: var(--ink); }
.legal a { color: var(--terre); }

/* ---------- Avis Google + carte ---------- */
.avis-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.btn-ghost-dark { background: transparent; color: var(--anthracite); border-color: var(--line); }
.btn-ghost-dark:hover { background: var(--anthracite); color: #fff; border-color: var(--anthracite); }
.map-wrap {
  margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Guides ---------- */
.guide-toc { background: var(--paper-warm); border: 1px solid var(--line); border-left: 4px solid var(--terre); border-radius: 12px; padding: 1.2rem 1.5rem; margin: 0 0 2rem; }
.guide-toc h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.guide-toc ol { margin: 0 0 0 1.1rem; color: var(--text); line-height: 1.9; }
.guide-toc a { color: var(--terre-dark); text-decoration: none; }
.guide-toc a:hover { text-decoration: underline; }
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .98rem; }
.price-table th, .price-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--anthracite); color: #fff; }
.price-table tr:nth-child(even) td { background: var(--paper-soft); }
.price-note { font-size: .85rem; color: var(--text-soft); }
.guide-related { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1.2rem 0; }
.guide-related a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s; }
.guide-related a:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.guide-related img { width: 100%; height: 130px; object-fit: cover; }
.guide-related span { display: block; padding: .7rem .9rem; font-weight: 600; font-size: .9rem; }
.guide-links { columns: 2; gap: 1.4rem; margin: 1rem 0; }
.guide-links a { color: var(--terre-dark); }
@media (max-width:700px){ .guide-related{grid-template-columns:1fr 1fr;} .guide-links{columns:1;} }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .cover { aspect-ratio: 16/10; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .cover img { transform: scale(1.05); }
.post-card .pc-body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card .pc-tag { color: var(--terre); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { font-size: 1.18rem; line-height: 1.3; }
.post-card p { color: var(--text-soft); font-size: .92rem; }
.post-card .pc-link { color: var(--terre); font-weight: 600; font-size: .9rem; margin-top: .3rem; }
@media (max-width:900px){ .blog-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px){ .blog-grid{ grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.post-hero { position: relative; color: #fff; }
.post-hero .ph-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.post-hero .ph-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,.55), rgba(20,22,26,.85)); }
.post-hero .container { position: relative; padding: 5rem 1.5rem 3rem; max-width: 820px; }
.post-hero .pc-tag { color: #ffd9c4; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.post-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .6rem 0 .8rem; }
.post-hero .ph-meta { color: #cfd3da; font-size: .9rem; }
.post-body { max-width: 760px; margin: 0 auto; padding: 3.2rem 1.5rem 4rem; }
.post-body p { color: var(--text); line-height: 1.85; margin-bottom: 1.1rem; font-size: 1.05rem; }
.post-body h2 { font-size: 1.7rem; margin: 2.2rem 0 .9rem; }
.post-body h3 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.post-body ul, .post-body ol { margin: 0 0 1.1rem 1.2rem; color: var(--text); line-height: 1.8; }
.post-body li { margin-bottom: .4rem; }
.post-body strong { color: var(--ink); }
.post-cta { background: var(--terre-soft); border-left: 4px solid var(--terre); border-radius: 12px; padding: 1.4rem 1.6rem; margin: 2rem 0; }
.post-cta p { margin-bottom: .8rem; }
.post-back { display: inline-block; margin-top: 1rem; color: var(--terre); font-weight: 600; text-decoration: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 1.2rem; transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--terre); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  font-weight: 600; color: var(--ink); position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--terre); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.1rem; color: var(--text-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--terre) 0%, var(--terre-dark) 100%);
  color: #fff;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 3.5rem 1.5rem; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-inner p { color: rgba(255,255,255,.9); margin-top: .3rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--terre-dark); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: var(--anthracite); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c4c9d1; padding-top: 4rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem;
}
.logo-footer { background: #fff; padding: .7rem 1rem; border-radius: 12px; display: inline-flex; }
.logo-footer .logo-img { height: 56px; }
.footer-brand p { margin: 1.1rem 0; font-size: .95rem; color: #aeb4bd; max-width: 320px; }
.footer-brand .stars { color: var(--gold); }
.footer-brand .stars span { color: #aeb4bd; font-size: .88rem; }
.socials { display: flex; gap: .7rem; margin-top: 1.1rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--terre); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-family: "Inter", sans-serif; font-size: .95rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: .03em; }
.footer-col h4.mt { margin-top: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col li { display: flex; align-items: center; gap: .6rem; }
/* Petites icônes en ligne (boutons, footer) */
.ic {
  width: 17px; height: 17px; flex-shrink: 0;
  fill: none; stroke: var(--terre);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.btn .ic { stroke: currentColor; }
.footer-col a { color: #c4c9d1; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--terre); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; }
.footer-bottom p { font-size: .85rem; color: #8b919b; text-align: center; }
.footer-bottom a { color: #c4c9d1; text-decoration: none; }
.footer-bottom a:hover { color: var(--terre); }

/* ---------- Boutons flottants ---------- */
.floaters {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: transform .2s var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-call { background: var(--terre); animation: pulse-call 2.2s infinite; }
.float-wa { background: #25d366; }
.float-call svg {
  width: 22px; height: 22px;
  fill: none; stroke: #fff; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.float-wa svg { width: 27px; height: 27px; }
@keyframes pulse-call {
  0% { box-shadow: 0 10px 26px rgba(226,98,46,.5), 0 0 0 0 rgba(226,98,46,.5); }
  70% { box-shadow: 0 10px 26px rgba(226,98,46,.5), 0 0 0 16px rgba(226,98,46,0); }
  100% { box-shadow: 0 10px 26px rgba(226,98,46,.5), 0 0 0 0 rgba(226,98,46,0); }
}

/* ---------- Animations reveal ----------
   Sécurité : contenu VISIBLE par défaut. L'état caché + animation ne s'active
   QUE si le JS a chargé (classe .js sur <html>). Si le JS plante, tout reste visible. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.5rem; }
  .cards, .testimonials, .gallery { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; top: 88px; right: 0;
    width: min(80%, 300px); height: calc(100vh - 88px);
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 2rem 1.6rem; gap: 1.4rem; margin: 0;
    transform: translateX(105%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg); border-left: 1px solid var(--line);
  }
  .nav.open { transform: translateX(0); }
  .burger { display: flex; }
  .header-phone { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .stat + .stat::before { display: none; }
  .section { padding: 4rem 0; }
  .float-call { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cards, .testimonials, .gallery, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-form-wrap { padding: 1.5rem; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions .btn { width: 100%; }
  .logo-img { height: 42px; }
}

/* ===== Modal "Être rappelé" ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  background: rgba(16, 18, 21, .72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: modalFade .2s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  position: relative;
  width: 100%; max-width: 420px;
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg);
  border-top: 5px solid var(--terre);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.8rem 1.8rem;
  animation: modalRise .25s ease;
}
@keyframes modalRise { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-card h3 { font-family: 'Fraunces', serif; font-size: 1.4rem; margin: 0 0 .25rem; }
.modal-sub { color: var(--text-soft); font-size: .9rem; margin-bottom: 1.2rem; }
.modal-close {
  position: absolute; top: .6rem; right: .8rem;
  width: 36px; height: 36px; padding: 0;
  border: none; background: transparent;
  font-size: 1.9rem; line-height: 1; color: var(--text-soft);
  cursor: pointer; border-radius: 50%;
}
.modal-close:hover { color: var(--terre); background: rgba(226, 98, 46, .08); }
.cb-error { color: var(--terre); font-size: .85rem; font-weight: 600; margin: 0 0 .8rem; }
.cb-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
.cb-actions .btn { padding: .7rem .5rem; font-size: 1rem; color: #fff; border: none; cursor: pointer; }
.cb-wa { background: #25d366; }
.cb-wa:hover { background: #1fb855; }
.cb-sms { background: var(--terre); }
.cb-sms:hover { background: var(--terre-dark, #c44e1f); }
.cb-mail { background: var(--anthracite, #1c1f24); }
.cb-mail:hover { background: #2a2e35; }
@media (max-width: 420px) {
  .cb-actions { grid-template-columns: 1fr; }
}

/* ===== Page Réalisations ===== */
.realisation { margin-bottom: 3rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.realisation:last-child { border-bottom: none; }
.realisation-img { margin: 0 0 1rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.realisation-img img { display: block; width: 100%; height: auto; }
.realisation-meta { font-size: .85rem; font-weight: 600; color: var(--terre); margin: 0 0 .6rem; letter-spacing: .2px; }
.realisation-text { color: var(--text-soft); line-height: 1.8; margin: 0 0 .8rem; }
.realisation-links { font-size: .9rem; color: var(--text-soft); margin: 0; }

/* Illustration dans une page service */
.service-illu { margin: 1.4rem 0 .4rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.service-illu img { display: block; width: 100%; height: auto; }

/* Envoi direct du devis (WhatsApp / SMS) */
.form-or { text-align: center; color: var(--text-soft); font-size: .85rem; margin: .8rem 0 .5rem; }
.devis-send { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.devis-send .btn { color: #fff; border: none; cursor: pointer; padding: .7rem .5rem; }

/* Page zones d'intervention */
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: .5rem .9rem; }
.zone-list li { padding: .55rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; color: var(--text-soft); }
.zone-list li a { color: var(--ink); text-decoration: none; font-weight: 500; }
.zone-list li a:hover { color: var(--terre); }

/* Blocs enrichis des pages service */
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 1.6rem 0 .4rem; }
.svc-cols .svc-box { background: var(--paper-soft, #f7f3ee); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.svc-cols h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; margin: 0 0 .7rem; }
.svc-cols ul { margin: 0; padding-left: 1.1rem; color: var(--text-soft); line-height: 1.7; }
.svc-cols ul li { margin-bottom: .35rem; }
@media (max-width: 640px){ .svc-cols { grid-template-columns: 1fr; } }

/* ===== Section "Pourquoi me faire confiance" (2 colonnes) ===== */
.confiance-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.6rem; align-items: center; }
.confiance-intro .eyebrow { color: var(--terre); }
.confiance-intro h2 { color: #fff; margin: .3rem 0 .8rem; }
.confiance-intro > p { color: rgba(255,255,255,.82); line-height: 1.8; margin-bottom: 1.3rem; }
.confiance-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.confiance-list li { position: relative; padding: .5rem 0 .5rem 2rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.10); }
.confiance-list li:last-child { border-bottom: none; }
.confiance-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--terre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/13px no-repeat;
}
.confiance-panel {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg); border-top: 5px solid var(--terre);
  box-shadow: var(--shadow-lg); padding: 1.8rem 1.6rem;
}
.cf-fig { text-align: center; padding-bottom: 1.1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cf-stars { display: block; color: var(--terre); letter-spacing: 2px; font-size: 1.05rem; }
.cf-fig strong { display: block; font-family: 'Fraunces', serif; font-size: 2.6rem; line-height: 1.1; }
.cf-label { color: var(--text-soft); font-size: .85rem; }
.cf-row { display: flex; align-items: baseline; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.cf-row strong { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--terre); min-width: 78px; }
.cf-row span { color: var(--text-soft); font-size: .92rem; }
.cf-siret { margin-top: 1rem; font-size: .85rem; color: var(--text-soft); text-align: center; }
@media (max-width: 820px){ .confiance-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* Fil d'Ariane */
.breadcrumb { background: var(--paper-soft); border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumb .container { padding-top: .7rem; padding-bottom: .7rem; color: var(--text-soft); }
.breadcrumb a { color: var(--text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--terre); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }
.breadcrumb .sep { margin: 0 .45rem; color: var(--text-light); }

/* ===== Problèmes fréquents ===== */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; align-items: stretch; }
.problem {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--terre); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.problem h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.problem p { color: var(--text-soft); font-size: .95rem; line-height: 1.6; }
.problem .problem-link { margin-top: auto; padding-top: .9rem; color: var(--terre); font-weight: 700; font-size: .9rem; }
.problem:hover .problem-link { text-decoration: underline; }
@media (max-width: 900px){ .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .problem-grid { grid-template-columns: 1fr; } }

/* ===== Lisibilité & boutons (premium) ===== */
.hero-subtitle { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255,255,255,.9); font-weight: 500; letter-spacing: .01em; margin: .1rem 0 .7rem; }
.about-text p, .seo-text, .post-body p { font-size: 17px; line-height: 1.65; }
.btn { font-size: 16px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

/* ===== Mobile : centrage hero / titres / boutons, paragraphes à gauche ===== */
@media (max-width: 700px) {
  .hero-content { text-align: center; }
  .hero-content .hero-cta, .hero-content .hero-trust { justify-content: center; }
  .hero-sub { text-align: left; }
  .section-head { text-align: center; }
  .about-text p, .seo-text, .confiance-list, .realisation-text, .post-body p { text-align: left; }
}

/* Bloc appel urgence (page urgence-fuite) */
.urgence-call { background: var(--anthracite); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem; text-align: center; margin-bottom: 1.6rem; }
.urgence-call p { font-weight: 600; margin-bottom: .8rem; }
.urgence-call .urgence-num { font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; }
.urgence-call span { display: block; margin-top: .8rem; color: #cfd3da; font-size: .95rem; }

/* ===== Déroulé intervention (6 étapes) ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--terre); color: #fff; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; margin-bottom: .8rem; }
.step h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.step p { color: var(--text-soft); font-size: .95rem; line-height: 1.6; }
@media (max-width: 820px){ .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .steps-grid { grid-template-columns: 1fr; } }

/* ===== Prix indicatifs ===== */
.price-grid { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 1.4rem; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: none; }
.price-label { color: var(--ink); font-weight: 500; }
.price-val { color: var(--terre); font-weight: 700; white-space: nowrap; }
.price-note { color: var(--text-soft); font-size: .9rem; margin-top: 1rem; text-align: center; }
@media (max-width: 480px){ .price-row { flex-direction: column; align-items: flex-start; gap: .2rem; } }

/* Note Google cliquable dans le panneau confiance */
a.cf-fig { display: block; text-decoration: none; color: inherit; transition: color .2s; }
a.cf-fig:hover .cf-label { color: var(--terre); }

/* ===== Carrousel avis ===== */
.reviews-widget:empty { display: none; }
.reviews-carousel { position: relative; max-width: 760px; margin: 0 auto; padding: 0 3rem; }
.rc-viewport { overflow: hidden; }
.rc-track { display: flex; transition: transform .6s var(--ease); }
.rc-slide {
  flex: 0 0 100%; min-width: 100%; margin: 0; padding: 2.2rem 2rem;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--terre);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.rc-slide .stars { color: var(--terre); letter-spacing: 2px; margin-bottom: .8rem; }
.rc-slide p { color: var(--text); line-height: 1.75; font-size: 1.05rem; }
.rc-slide footer { margin-top: 1rem; font-weight: 700; color: var(--ink); }
.rc-slide footer span { font-weight: 400; color: var(--text-soft); }
.rc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--anthracite); color: #fff; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.rc-arrow:hover { background: var(--terre); }
.rc-prev { left: 0; }
.rc-next { right: 0; }
.rc-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.rc-dot { width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; background: var(--line); padding: 0; transition: background .2s, transform .2s; }
.rc-dot.active { background: var(--terre); transform: scale(1.25); }
@media (max-width: 560px){
  .reviews-carousel { padding: 0 .5rem; }
  .rc-arrow { width: 34px; height: 34px; font-size: 1.2rem; }
  .rc-slide { padding: 1.8rem 1.3rem; }
}

/* ===== Conteneur widget avis Trustindex ===== */
.reviews-widget { max-width: 1000px; margin: 2rem auto 0; width: 100%; overflow: hidden; }
.reviews-widget iframe,
.reviews-widget .trustindex-widget { width: 100% !important; max-width: 100% !important; }
@media (max-width: 560px){ .reviews-widget { padding: 0 .25rem; } }

/* ============================================================
   OPTIMISATIONS MOBILE (v2)
   ============================================================ */

/* 1. Anti-scroll horizontal global */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }
img, svg, iframe, video, .trustindex-widget { max-width: 100%; }
.container { overflow-wrap: break-word; }

/* 2. Menu mobile : panneau déroulant depuis le HAUT (sous le header) */
@media (max-width: 720px) {
  .header-inner { height: 64px; }
  .logo-img { height: 46px; }
  .nav {
    position: fixed; top: 64px; left: 0; right: 0; width: 100%;
    height: auto; max-height: calc(100vh - 64px); overflow-y: auto;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; padding: .4rem 1.1rem 1.1rem;
    border-top: 1px solid var(--line); border-left: none;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .32s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: .95rem .3rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav a::after { display: none !important; }
  .nav-cta { background: var(--terre); color: #fff !important; text-align: center; border-radius: 10px; margin-top: .7rem; border-bottom: none; padding: .85rem; }
  .nav-call-mobile { color: var(--terre) !important; font-weight: 700; }
}

/* Lien "Appeler" ajouté au menu (visible mobile uniquement) */
.nav-call-mobile { display: none; }
@media (max-width: 720px) { .nav-call-mobile { display: block; } }

/* 3. Desktop : menus déroulants Services & Zones */
.has-sub { position: relative; }
.has-sub > .submenu {
  position: absolute; top: 100%; left: 0; transform: translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: .5rem; min-width: 220px;
  display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 200;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(2px); }
.submenu a { padding: .55rem .8rem !important; border-radius: 8px; font-size: .9rem; white-space: nowrap; }
.submenu a::after { display: none !important; }
.submenu a:hover { background: var(--paper-soft); color: var(--terre); }
@media (max-width: 720px) {
  .has-sub > .submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 1rem; min-width: 0;
  }
  .submenu a { border-bottom: 1px solid var(--line); }
}

/* 4. Barre d'action fixe en bas (mobile) */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: var(--anthracite); border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: .55rem .3rem; text-decoration: none; color: #fff; font-size: .72rem; font-weight: 600;
    border-right: 1px solid rgba(255,255,255,.10);
  }
  .mobile-bar a:last-child { border-right: none; }
  .mobile-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
  .mobile-bar .mb-wa { color: #43d366; }
  .mobile-bar .mb-devis { color: var(--terre); }
  /* Pastilles flottantes masquées seulement si le JS a injecté la barre du bas.
     Sans JS : la barre n'existe pas → on garde les floaters (Appeler/WhatsApp) visibles. */
  html.js .floaters { display: none !important; }
  html.js body { padding-bottom: 64px; }
}

/* 5. Avis : boutons pleine largeur sur mobile */
@media (max-width: 560px) {
  .avis-cta { flex-direction: column; gap: .6rem; }
  .avis-cta .btn { width: 100%; }
}

/* 6. Zone : une colonne + bouton devis pleine largeur */
@media (max-width: 720px) {
  .seo-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  #zone .btn-primary, .city-pages .btn { width: 100%; text-align: center; }
}

/* 9. Lien retour discret (pages secondaires) */
.back-link { display: block; max-width: var(--container); margin: 0 auto; padding: .9rem 1.5rem 0; }
.back-link a { color: var(--text-soft); text-decoration: none; font-size: .9rem; font-weight: 600; }
.back-link a:hover { color: var(--terre); }

/* ============================================================
   FIX ZONE D'INTERVENTION + SCROLL HORIZONTAL (mobile)
   ============================================================ */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }

@media (max-width: 760px) {
  #zone, #zone .container, .seo-grid, .seo-grid > *,
  .cities, .seo-text, .city-list, .city-pages, .cities-all {
    width: 100%; max-width: 100%; min-width: 0;
    overflow-x: hidden; box-sizing: border-box;
  }
  .seo-grid { display: grid; grid-template-columns: 1fr !important; gap: 1.5rem; }
  .seo-text, .cities-all, .city-pages { overflow-wrap: break-word; word-break: normal; }
  .cities { padding: 1.2rem; }
  .city-list { display: flex; flex-wrap: wrap; gap: .5rem; }
  .city-list li { max-width: 100%; min-width: 0; overflow-wrap: break-word; white-space: normal; }
  .city-list a { display: inline-block; max-width: 100%; overflow-wrap: break-word; white-space: normal; }
  #zone .btn, .city-pages .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ============================================================
   Bouton "Toutes les pages" (desktop) + plan de site déroulant
   ============================================================ */
.allpages { position: relative; flex-shrink: 0; }
.allpages-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
  color: var(--text); font: inherit; font-size: .82rem; font-weight: 600;
  padding: .5rem .8rem; border-radius: 999px; transition: border-color .2s, color .2s;
}
.allpages-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.allpages-btn:hover { border-color: var(--terre); color: var(--terre); }
.allpages-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 300;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; min-width: 360px;
}
.allpages-menu[hidden] { display: none; }
.allpages-menu a {
  display: block; padding: .5rem .7rem; border-radius: 8px;
  text-decoration: none; color: var(--text); font-size: .88rem; white-space: nowrap;
}
.allpages-menu a:hover { background: var(--paper-soft); color: var(--terre); }
/* Masqué sur mobile : le burger regroupe déjà tout */
@media (max-width: 720px) { .allpages { display: none; } }

/* ============================================================
   Bouton "remonter en haut"
   ============================================================ */
.to-top {
  position: fixed; left: 20px; bottom: 24px; z-index: 940;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.15);
  background: var(--anthracite); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: opacity .25s, transform .25s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--terre); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) {
  /* nettement au-dessus de la barre d'action mobile fixe */
  .to-top { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); left: 14px; width: 38px; height: 38px; }
}

/* ============================================================
   Bannière cookies
   ============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--anthracite); color: #fff;
  padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 24px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.cookie-banner p { font-size: .88rem; color: #d7dbe1; max-width: 720px; margin: 0; }
.cookie-banner p a { color: var(--terre); }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-actions button {
  border: none; cursor: pointer; font: inherit; font-weight: 700; font-size: .85rem;
  padding: .6rem 1.1rem; border-radius: 999px;
}
.ck-accept { background: var(--terre); color: #fff; }
.ck-refuse { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4) !important; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; gap: .7rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}

/* ============================================================
   Menu mobile étendu aux tablettes (jusqu'à 980px)
   ============================================================ */
@media (min-width: 721px) and (max-width: 980px) {
  .header-inner { height: 68px; }
  .logo-img { height: 48px; }
  .burger { display: flex; }
  .header-phone, .allpages { display: none; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; width: 100%;
    height: auto; max-height: calc(100vh - 68px); overflow-y: auto;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; padding: .4rem 1.4rem 1.2rem;
    border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .32s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: .95rem .3rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav a::after { display: none !important; }
  .nav .has-sub .submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 1rem; min-width: 0;
  }
  .nav-cta { background: var(--terre); color: #fff !important; text-align: center; border-radius: 10px; margin-top: .7rem; border-bottom: none; }
  .nav-call-mobile { display: block; color: var(--terre) !important; font-weight: 700; }
}

/* Placeholders contenus tiers (avant consentement cookies) */
.consent-ph {
  padding: 1.4rem 1rem; text-align: center; color: var(--text-soft);
  font-size: .92rem; background: var(--paper-soft); border-radius: var(--radius);
}
.consent-accept-inline {
  display: inline-block; margin-top: .4rem; cursor: pointer;
  background: var(--terre); color: #fff; border: none; font: inherit; font-weight: 700;
  font-size: .85rem; padding: .5rem 1rem; border-radius: 999px;
}
.consent-accept-inline:hover { background: var(--terre-dark); }
.map-wrap[data-consent] iframe:not([src]) { display: none; }

.section-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: .9rem; line-height: 1.12; }
