/* BEKTAS ENERGIE — feuille de style du site
   Couleurs reprises du logo : bleu marine (lettres), orange/rouge (flamme), bleu clair (goutte). */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #073a66;
  --navy-deep: #06213b;
  --blue: #0a5a9c;
  --sky: #2b9ad8;
  --orange: #e85d28;
  --amber: #f3962a;
  --red: #d02830;
  --ink: #12263a;
  --muted: #5b6b7c;
  --line: #e2e8f0;
  --soft: #f3f6fa;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(7, 33, 59, 0.08);
  --shadow-strong: 0 18px 40px rgba(7, 33, 59, 0.18);
  --font-title: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-text: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fire: linear-gradient(135deg, var(--amber) 0%, var(--orange) 55%, var(--red) 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.18; margin: 0 0 0.5em; color: var(--navy-deep); }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; border-radius: 999px; padding: 15px 26px; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 21px; height: 21px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-fire { background: var(--fire); color: #fff; box-shadow: 0 10px 24px rgba(232, 93, 40, 0.35); }
.btn-fire:hover { box-shadow: 0 14px 30px rgba(232, 93, 40, 0.45); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: 0.95rem; }
.btn-lg { padding: 18px 30px; font-size: 1.1rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: none; gap: 26px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.main-nav a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: none; text-decoration: none; color: var(--navy-deep); line-height: 1.15; }
.header-phone small { display: block; color: var(--muted); font-size: 0.8rem; }
.header-phone strong { font-family: var(--font-title); font-size: 1.05rem; }
.header-call .label-long { display: none; }

@media (min-width: 1000px) {
  .main-nav { display: flex; }
  .header-phone { display: block; }
  .brand img { height: 52px; }
  .header-call .label-long { display: inline; }
  .header-call .label-short { display: none; }
}

/* ---------- Bandeau d'accueil ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(243, 150, 42, 0.35), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(43, 154, 216, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 28px);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 36px; padding: 48px 0 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-family: var(--font-title); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #ffd2b8; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 14px; border-radius: 999px;
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(90deg, #ffb35c, #ff7a3d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.14rem; color: #d7e4f2; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #e6eef7; font-size: 0.97rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: #ffb35c; flex: none; }

/* Carte « Votre devis en 1 minute » */
.quick-devis {
  align-self: center; background: #fff; color: var(--ink);
  border-radius: 22px; padding: 26px 22px 22px; box-shadow: var(--shadow-strong);
}
.quick-devis h2 { font-size: 1.35rem; margin-bottom: 4px; }
.quick-devis > p { color: var(--muted); font-size: 0.97rem; margin-bottom: 16px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-grid a {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 2px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; line-height: 1.25;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.quick-grid a:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(7, 33, 59, 0.1); }
.qi { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue)); }
.qi.hot { background: var(--fire); }
.qi svg { width: 22px; height: 22px; }
.quick-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.88rem; }
.quick-foot li { display: inline-flex; align-items: center; gap: 6px; }
.quick-foot svg { width: 16px; height: 16px; color: #2bb673; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; padding: 84px 0 92px; gap: 56px; }
  .quick-devis { padding: 30px 28px 24px; }
}

/* ---------- Bande de confiance ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--muted); line-height: 1.3; }
.trust li strong { display: block; color: var(--navy-deep); font-family: var(--font-title); font-weight: 600; font-size: 0.98rem; }
.trust svg { width: 26px; height: 26px; color: var(--orange); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker {
  display: inline-block; font-family: var(--font-title); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.07rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.service-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.service-icon {
  width: 54px; height: 54px; flex: none; border-radius: 15px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue));
}
.service-icon.hot { background: var(--fire); }
.service-icon svg { width: 28px; height: 28px; }
.service-q { font-size: 0.92rem; color: var(--orange); font-weight: 600; margin: 0 0 2px; }
.service h3 { margin: 0; }
.service p { color: var(--muted); margin-bottom: 12px; }
.service ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; }
.service li { display: flex; gap: 8px; font-size: 0.95rem; }
.service li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-top: 0.62em; flex: none; }
.service-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-title); font-weight: 600; font-size: 0.97rem; color: var(--navy); text-decoration: none;
  padding: 9px 16px; border-radius: 99px; background: #eef4fb; transition: background 0.15s, color 0.15s;
}
.service-cta:hover { background: var(--navy); color: #fff; }
.service.urgent { border-color: rgba(232, 93, 40, 0.45); background: linear-gradient(180deg, #fff7f2, #fff); }
.service.urgent .service-cta { background: var(--fire); color: #fff; }
.service .tag {
  position: absolute; top: 20px; right: 20px; font-family: var(--font-title); font-weight: 600; font-size: 0.76rem;
  background: var(--fire); color: #fff; padding: 4px 10px; border-radius: 999px;
}

/* ---------- Réalisations ---------- */
.works { display: grid; gap: 22px; }
@media (min-width: 960px) { .works { grid-template-columns: 1.15fr 1fr; align-items: start; } }

.ba {
  --pos: 50%;
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #dfe6ee;
  box-shadow: var(--shadow); user-select: none;
}
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-label {
  position: absolute; top: 14px; z-index: 2; font-family: var(--font-title); font-weight: 600; font-size: 0.85rem;
  padding: 5px 12px; border-radius: 99px; background: rgba(6, 33, 59, 0.75); color: #fff;
}
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; background: var(--orange); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; z-index: 2; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; letter-spacing: 2px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.ba input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3;
  -webkit-appearance: none; appearance: none;
}
.ba-demo { display: grid; place-items: center; text-align: center; color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; padding: 20px; }
.ba-demo.before { background: repeating-linear-gradient(135deg, #8d99a6 0 14px, #98a4b0 14px 28px); }
.ba-demo.after { background: linear-gradient(135deg, #2b9ad8, #0a5a9c); }
.ba-caption { margin: 12px 4px 0; color: var(--muted); font-size: 0.95rem; }
.ba-caption strong { color: var(--ink); }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font-weight: 600; font-size: 0.88rem; line-height: 1.3;
  background: linear-gradient(transparent, rgba(6, 33, 59, 0.88)); pointer-events: none;
}
.gallery .placeholder {
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 0.9rem;
  border: 2px dashed #c9d4e1; background: #fff; padding: 12px;
}
.gallery .placeholder svg { width: 32px; height: 32px; color: #b4c2d3; margin: 0 auto 6px; }
.gallery-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.gallery-cta p { margin: 0; color: var(--muted); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); }
.lightbox::backdrop { background: rgba(4, 22, 39, 0.88); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 600; }
.lightbox-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--navy-deep); font-size: 1.6rem; line-height: 1;
}

/* ---------- Comment ça se passe ---------- */
.steps { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--line); }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
  font-family: var(--font-title); font-weight: 700; color: #fff; background: var(--navy);
}
.step:first-child .step-num { background: var(--fire); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.steps-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; }
.steps-cta p { margin: 0; color: var(--muted); }

/* ---------- Qui suis-je ---------- */
.about { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1.15fr; gap: 56px; } }
.about-visual {
  position: relative; border-radius: 22px; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #fff, var(--soft) 70%); border: 1px solid var(--line);
}
.about-visual img.photo { width: 100%; height: 100%; object-fit: cover; }
.about-visual .placeholder-logo { width: 55%; height: auto; opacity: 0.9; }
.about-visual .photo-note {
  position: absolute; left: 14px; right: 14px; bottom: 14px; text-align: center; font-size: 0.88rem; color: var(--muted);
  background: rgba(255, 255, 255, 0.9); border: 1px dashed #c9d4e1; border-radius: 10px; padding: 6px 10px;
}
.about p { color: var(--muted); font-size: 1.05rem; }
.about p strong { color: var(--ink); }
.about-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; }
.about-list svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }

/* ---------- Zone ---------- */
.zone-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .zone-grid { grid-template-columns: 1fr 1fr; } }
.zone-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow); }
.zone-card h3 { display: flex; align-items: center; gap: 12px; }
.zone-card .dept {
  font-family: var(--font-title); font-weight: 700; font-size: 1rem; color: #fff; background: var(--navy);
  border-radius: 10px; padding: 4px 10px;
}
.zone-card.belfort .dept { background: var(--orange); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.towns li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 0.92rem; }
.towns li.base { background: #fff3ec; border-color: rgba(232, 93, 40, 0.5); color: #b23f12; font-weight: 600; }
.zone-note {
  margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 24px;
}
.zone-note p { margin: 0; font-size: 1.04rem; }

/* ---------- Questions fréquentes ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--font-title); font-weight: 600; color: var(--navy-deep); font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Contact ---------- */
.contact {
  color: #fff; text-align: center;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(243, 150, 42, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.contact h2 { color: #fff; }
.contact .section-head p { color: #d7e4f2; }
.contact-actions { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .contact-actions { grid-template-columns: repeat(3, 1fr); } }
.contact-actions .btn { padding: 18px 20px; font-size: 1.04rem; }
.contact-more { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: #d7e4f2; }
.contact-more a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.contact-more a:hover { text-decoration: underline; }
.contact-more svg { width: 20px; height: 20px; }
.contact-hours { margin-top: 18px; color: #b9cbe0; font-size: 0.98rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: #041627; color: #9fb3c8; padding: 44px 0 40px; font-size: 0.94rem; }
.footer-inner { display: grid; gap: 22px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } }
.site-footer img { height: 54px; width: auto; margin-bottom: 12px; }
.site-footer h4 { font-family: var(--font-title); color: #fff; margin: 0 0 10px; font-size: 1rem; font-weight: 600; }
.site-footer a { color: #d7e4f2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* ---------- Barre fixe en bas (téléphone) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 8px;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(7, 33, 59, 0.12);
}
.mobile-bar .btn { padding: 13px 8px; font-size: 0.96rem; gap: 7px; }
.mobile-bar .btn svg { width: 19px; height: 19px; }
body:has(.mobile-bar) { padding-bottom: 80px; }
@media (min-width: 1000px) {
  .mobile-bar { display: none; }
  body:has(.mobile-bar) { padding-bottom: 0; }
}

/* ---------- Page mentions légales ---------- */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: #33475b; }
.a-completer { background: #fff3b0; border: 1px dashed #d4a800; padding: 1px 6px; border-radius: 4px; font-weight: 600; color: #6b5200; }

/* ---------- Page « Demander mon devis » ---------- */
.devis-page { background: var(--soft); min-height: 100vh; }
.devis-main { padding: 32px 0 70px; }
.devis-card {
  width: min(760px, 100% - 28px); margin: 0 auto; background: #fff; border-radius: 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px 22px 26px;
}
@media (min-width: 700px) { .devis-card { padding: 40px 44px 36px; } }
.devis-progress { height: 8px; border-radius: 99px; background: #e7edf4; overflow: hidden; }
.devis-progress span { display: block; height: 100%; background: var(--fire); border-radius: 99px; transition: width 0.3s ease; }
.devis-count { margin: 10px 0 22px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.devis-title { font-size: clamp(1.45rem, 3.6vw, 1.95rem); margin-bottom: 0.4em; outline: none; }
.devis-sub { color: var(--muted); margin-bottom: 22px; }
.devis-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 5px 12px; border-radius: 99px;
  background: #eef4fb; color: var(--navy); font-weight: 600; font-size: 0.9rem;
}
.devis-tag svg { width: 18px; height: 18px; }
.tiles { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tiles-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .tiles-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile {
  font: inherit; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px; min-height: 60px;
  display: flex; align-items: center; gap: 12px; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  min-width: 0; overflow-wrap: anywhere; hyphens: auto;
}
.tile:hover { border-color: var(--sky); box-shadow: 0 6px 18px rgba(10, 90, 156, 0.12); transform: translateY(-1px); }
.tile.is-selected { border-color: var(--orange); background: #fff6f1; }
.tile-service { flex-direction: column; justify-content: center; text-align: center; padding: 18px 8px; font-size: 0.95rem; overflow-wrap: normal; min-height: 130px; font-family: var(--font-title); }
.tile-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue)); }
.tile-icon svg { width: 28px; height: 28px; }
.tile-service.is-urgent .tile-icon { background: var(--fire); }
.devis-urgent {
  display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; padding: 14px 16px; border-radius: 14px;
  background: var(--fire); color: #fff; text-decoration: none;
}
.devis-urgent svg { width: 24px; height: 24px; flex: none; }
.devis-back { margin-top: 22px; background: none; border: 0; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; padding: 6px 0; }
.devis-back:hover { color: var(--navy); }
.devis-form .field { margin-bottom: 16px; border: 0; padding: 0; }
.devis-form label, .devis-form legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.devis-form input[type=text], .devis-form input[type=tel], .devis-form input[type=email], .devis-form textarea {
  width: 100%; font: inherit; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.devis-form input:focus, .devis-form textarea:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 4px rgba(43, 154, 216, 0.15); }
.devis-form input[aria-invalid=true] { border-color: var(--red); }
.field-error { display: none; margin: 6px 0 0; color: var(--red); font-size: 0.92rem; font-weight: 600; }
.field-error.is-visible { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border: 2px solid var(--line); border-radius: 99px; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.chip input:checked + span { border-color: var(--orange); background: #fff6f1; }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.devis-next { width: 100%; margin-top: 8px; }
.devis-next + .devis-next { margin-top: 10px; }
.recap { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.recap-row { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.recap-row:last-child { border-bottom: 0; }
@media (min-width: 640px) { .recap-row { grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: baseline; } }
.recap dt { color: var(--muted); font-size: 0.93rem; }
.recap dd { margin: 0; font-weight: 600; }
.recap-edit { margin-left: 8px; background: none; border: 0; color: var(--blue); font: inherit; font-size: 0.88rem; text-decoration: underline; cursor: pointer; padding: 0; }
.devis-legal { font-size: 0.88rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.devis-thanks { text-align: center; padding: 10px 0; }
.thanks-icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2bb673, #1a8f57); }
.thanks-icon svg { width: 40px; height: 40px; }
.devis-reassure { width: min(760px, 100% - 28px); margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 0.93rem; }
.devis-reassure span { display: inline-flex; align-items: center; gap: 6px; }
.devis-reassure svg { width: 18px; height: 18px; color: var(--orange); }
.devis-tip { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #eef7fd; border-left: 4px solid var(--sky); font-size: 0.95rem; color: #24425f; }

.service.urgent .service-top { padding-right: 58px; }
.ba-demo.before { place-items: center start; text-align: left; padding-left: 9%; }
.ba-demo.after { place-items: center end; text-align: right; padding-right: 9%; }

/* ---------- Avant / après en paires + galerie photos ---------- */
.pairs { display: grid; gap: 22px; margin-bottom: 26px; }
@media (min-width: 900px) { .pairs { grid-template-columns: 1fr 1fr; } }
.pair { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 16px; box-shadow: var(--shadow); }
.pair-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--soft); }
.pair figure a { display: block; height: 100%; }
.pair img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pair a:hover img { transform: scale(1.03); }
.pair-label {
  position: absolute; top: 10px; left: 10px; font-family: var(--font-title); font-weight: 600; font-size: 0.82rem;
  padding: 4px 11px; border-radius: 99px; background: rgba(6, 33, 59, 0.8); color: #fff; pointer-events: none;
}
.pair-label.after { background: var(--orange); }
.pair h3 { margin: 14px 6px 0; font-size: 1.08rem; }
.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }

/* Fond photo discret derrière le bandeau d'accueil */
.hero {
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(243, 150, 42, 0.32), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(43, 154, 216, 0.3), transparent 60%),
    linear-gradient(160deg, rgba(7, 58, 102, 0.93) 0%, rgba(6, 33, 59, 0.97) 100%),
    url("../img/chantiers/fond-accueil.webp") center / cover no-repeat;
}

/* Fiche coordonnées du devis */
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-demande textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field-hint { margin: 6px 0 0; font-size: 0.88rem; color: var(--muted); }
.devis-form .field-hint + .devis-next { margin-top: 10px; }
.devis-form input::placeholder, .devis-form textarea::placeholder { color: #9aa8b6; }

/* ---------- Vidéos de chantier ---------- */
.videos-title { margin: 40px 0 16px; font-size: 1.3rem; }
.videos { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .videos { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.video-card { margin: 0; }
.video-card video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #0b1b2b; box-shadow: var(--shadow); }
.video-card figcaption { margin-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
