:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #666666;
  --line: #dedede;
  --accent: #ff6a00;
  --accent-dark: #d95700;
  --dark: #090909;
  --dark-2: #151515;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(15,23,42,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,23,42,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--accent); color: #111111; font-weight: 900;
  border-radius: 12px; transform: skew(-4deg);
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 1.25rem; letter-spacing: .08em; }
.brand-text small { margin-top: 5px; color: #d0d0d0; font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 26px; color: #e5e7eb; font-size: .95rem; }
.main-nav a:hover { color: #fff; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  background: var(--accent);
  color: #111111;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { background: var(--accent-dark); color: white; transform: translateY(-1px); }
.btn-small { min-height: 42px; padding: 0 16px; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-outline { background: transparent; border: 1px solid #d0d0d0; }
.btn-full { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; padding: 7px; }
.menu-toggle span { display:block; width:26px; height:2px; background:#fff; margin:5px 0; }

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 15%, rgba(255,106,0,.20), transparent 30%),
    linear-gradient(125deg,#050505 0%,#111111 55%,#242424 100%);
}
.hero::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0;
}
.eyebrow {
  display:inline-block;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#ff7a1a;
  margin-bottom:16px;
}
.eyebrow.dark { color:#d95700; }
.hero h1 {
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 24px;
  max-width: 850px;
}
.hero h1 span { color: var(--accent); }
.hero-content > p { max-width: 760px; font-size: 1.12rem; color:#d0d0d0; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.hero-points { display:flex; flex-wrap:wrap; gap:22px; color:#eeeeee; font-size:.92rem; margin-top:28px; }
.hero-card {
  padding: 32px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 25px 65px rgba(0,0,0,.25);
}
.hero-card h2 { margin: 6px 0 10px; font-size:1.55rem; }
.hero-card p { color:#d0d0d0; }
.hero-card-label { color:#ff7a1a; font-size:.85rem; font-weight:800; }
.text-link { color:#ff7a1a; font-weight:800; }

.section { padding: 92px 0; }
.stats { padding: 0; background: var(--surface); border-bottom:1px solid var(--line); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stats-grid > div { padding:30px 22px; border-right:1px solid var(--line); }
.stats-grid > div:last-child { border-right:0; }
.stats-grid strong, .stats-grid span { display:block; }
.stats-grid strong { font-size:1rem; }
.stats-grid span { color:var(--muted); font-size:.86rem; margin-top:4px; }

.section-heading { max-width:760px; margin-bottom:44px; }
.section-heading h2, .split h2, .quote-copy h2, .contact-card h2 {
  font-size: clamp(2rem,4vw,3.3rem);
  line-height:1.05;
  letter-spacing:-.035em;
  margin:0 0 16px;
}
.section-heading p, .split p, .quote-copy > p, .contact-card p { color:var(--muted); }

.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card {
  position:relative;
  background:var(--surface);
  border:1px solid #ff6a00;
  border-radius:var(--radius);
  padding:30px;
  box-shadow:0 8px 25px rgba(15,23,42,.04);
}
.service-card.featured { border-color:#ff6a00; box-shadow:0 16px 45px rgba(255,106,0,.10); }
.service-card .icon {
  width:48px; height:48px; display:grid; place-items:center;
  border-radius:12px; background:#fff0e6; color:#d95700; font-weight:900;
}
.service-card h3 { font-size:1.3rem; margin:22px 0 10px; }
.service-card p { color:var(--muted); margin:0; }
.badge {
  position:absolute; right:22px; top:22px;
  background:#ffe2cc; color:#a63d00;
  border-radius:999px; padding:6px 10px; font-size:.74rem; font-weight:800;
}

.section-dark { background:var(--dark); color:white; }
.section-heading.light p { color:#aaaaaa; }
.gallery { display:grid; grid-template-columns:1.3fr .7fr; grid-auto-rows:220px; gap:18px; }
.project {
  position:relative;
  overflow:hidden;
  border-radius:20px;
  display:flex;
  align-items:flex-end;
  padding:22px;
  min-height:220px;
  background-size:cover;
  background-position:center;
}
.project::before { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent, rgba(0,0,0,.72)); }
.project::after {
  content:"Photo chantier à ajouter";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.42);
  font-weight:800;
  letter-spacing:.05em;
  background:
    linear-gradient(135deg,#3a3a3a,#1d1d1d);
}
.project span { position:relative; z-index:2; font-weight:800; }
.project span { z-index:3; }
.project.p1 { grid-row:span 2; }
.project::after { z-index:1; }
.project::before { z-index:2; }

.split { display:grid; grid-template-columns:1fr 1fr; gap:65px; align-items:center; }
.chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:25px; }
.chips span { background:#fff; border:1px solid var(--line); border-radius:999px; padding:8px 12px; font-weight:700; font-size:.86rem; }
.map-card {
  min-height:360px;
  border-radius:28px;
  background:var(--dark);
  color:white;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;
  padding:30px;
}
.map-card strong { margin-top:18px; font-size:1.2rem; }
.map-card > span { max-width:420px; color:#aaaaaa; margin-top:8px; }
.map-pin {
  position:relative; z-index:3;
  width:74px; height:74px; display:grid; place-items:center;
  border-radius:50% 50% 50% 12px;
  transform:rotate(-45deg);
  background:var(--accent); color:#111111; font-weight:900; font-size:1.4rem;
}
.map-pin::after { content:"44"; transform:rotate(45deg); }
.map-pin { font-size:0; }
.map-ring { position:absolute; border:1px solid rgba(255,106,0,.25); border-radius:50%; }
.map-ring.r1 { width:190px;height:190px; }
.map-ring.r2 { width:300px;height:300px; }

.quote-section { background:#111111; color:white; }
.quote-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; align-items:start; }
.quote-copy > p { color:#aaaaaa; }
.quote-tip { margin-top:30px; padding:20px; border-radius:16px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); }
.quote-tip strong, .quote-tip span { display:block; }
.quote-tip span { color:#aaaaaa; margin-top:5px; font-size:.9rem; }

.quote-form {
  background:white;
  color:var(--ink);
  padding:30px;
  border-radius:24px;
  box-shadow:var(--shadow);
}
.field-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
label { display:grid; gap:7px; font-size:.84rem; font-weight:800; margin-bottom:16px; }
input, textarea, select {
  width:100%;
  border:1px solid #d9d9d9;
  background:#fafafa;
  border-radius:12px;
  padding:13px 14px;
  outline:none;
  color:#111111;
}
input:focus, textarea:focus, select:focus { border-color:#ff6a00; box-shadow:0 0 0 3px rgba(255,106,0,.12); }
.form-status { margin:14px 0 0; font-size:.88rem; color:#555555; }
.form-status.ok { color:#15803d; }
.form-status.error { color:#b91c1c; }

.contact-card {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  background:white;
  border:1px solid var(--line);
  border-radius:28px;
  padding:40px;
  box-shadow:var(--shadow);
}
.contact-card > div:first-child { max-width:700px; }
.contact-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

footer { background:#050505; color:#aaaaaa; padding:34px 0; }
.footer-grid { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; }
.footer-links { display:flex; justify-content:flex-end; gap:18px; }
.footer-brand .brand-mark { width:38px;height:38px; }
.footer-brand .brand-text strong { font-size:1rem; }

@media (max-width: 900px) {
  .menu-toggle { display:block; }
  .main-nav {
    position:absolute;
    left:18px; right:18px; top:76px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px;
    background:#111111;
    border:1px solid rgba(255,255,255,.1);
    border-radius:16px;
    box-shadow:0 18px 50px rgba(0,0,0,.3);
  }
  .main-nav.open { display:flex; }
  .main-nav a { padding:13px 12px; }
  .main-nav .btn { margin-top:6px; }
  .hero-grid, .split, .quote-grid { grid-template-columns:1fr; gap:35px; }
  .hero { min-height:auto; }
  .hero-grid { padding:65px 0; }
  .hero-card { max-width:600px; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stats-grid > div:nth-child(2) { border-right:0; }
  .stats-grid > div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .cards { grid-template-columns:1fr; }
  .gallery { grid-template-columns:1fr 1fr; }
  .project.p1 { grid-row:span 1; }
  .contact-card { align-items:flex-start; flex-direction:column; }
  .contact-actions { justify-content:flex-start; }
  .footer-grid { grid-template-columns:1fr; text-align:center; }
  .footer-brand { justify-content:center; }
  .footer-links { justify-content:center; }
}

@media (max-width: 620px) {
  .container { width:min(100% - 24px, 1160px); }
  .nav-wrap { min-height:68px; }
  .brand-text small { display:none; }
  .hero h1 { font-size:2.7rem; }
  .hero-content > p { font-size:1rem; }
  .hero-actions { flex-direction:column; }
  .hero-actions .btn { width:100%; }
  .hero-points { gap:10px 16px; }
  .section { padding:68px 0; }
  .stats-grid { grid-template-columns:1fr; }
  .stats-grid > div { border-right:0; border-bottom:1px solid var(--line); }
  .stats-grid > div:last-child { border-bottom:0; }
  .gallery { grid-template-columns:1fr; grid-auto-rows:210px; }
  .field-grid { grid-template-columns:1fr; gap:0; }
  .quote-form { padding:20px; border-radius:18px; }
  .contact-card { padding:26px; border-radius:22px; }
  .contact-actions { width:100%; }
  .contact-actions .btn { width:100%; }
}


/* --- Identité visuelle Chape 44 : noir / orange --- */
.site-header {
  border-bottom: 3px solid var(--accent);
}

.brand-mark {
  background: var(--accent);
  color: #050505;
  box-shadow: 0 0 0 2px rgba(255,106,0,.15);
}

.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,106,0,.22), transparent 31%),
    linear-gradient(125deg,#050505 0%,#111111 58%,#242424 100%);
}

.hero::after {
  content:"";
  position:absolute;
  width:520px;
  height:110px;
  right:-110px;
  bottom:75px;
  background:var(--accent);
  opacity:.08;
  transform:rotate(-13deg);
}

.service-card.featured {
  border-width: 2px;
}

.section-dark {
  position:relative;
  background:
    linear-gradient(135deg, rgba(255,106,0,.055), transparent 38%),
    #080808;
}

.quote-section {
  background:
    linear-gradient(120deg, #080808 0%, #141414 66%, #20130b 100%);
  border-top: 4px solid var(--accent);
}

.map-card {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,106,0,.12), transparent 33%),
    #090909;
}

footer {
  border-top: 3px solid var(--accent);
  background:#050505;
}

@media (max-width: 900px) {
  .main-nav {
    background:#0a0a0a;
    border-top:2px solid var(--accent);
  }
}

/* Header Chape 44 - anthracite + orange */
.site-header {
  background: #292929 !important;
  border-bottom: 3px solid #ff6a00 !important;
}
.main-nav,
.main-nav a {
  color: #ff6a00 !important;
}
.brand-text strong,
.brand-text small {
  color: #ff6a00 !important;
}
.main-nav .btn {
  background: #ff6a00 !important;
  color: #111111 !important;
}
.main-nav .btn:hover {
  background: #e85f00 !important;
  color: #111111 !important;
}
.menu-toggle span {
  background: #ff6a00 !important;
}
@media (max-width: 900px) {
  .main-nav {
    background: #292929 !important;
  }
}

/* Header Chape 44 V1.3 - anthracite sobre */
.site-header {
  background: #292929 !important;
  border-bottom: 3px solid #ff6a00 !important;
}
.brand-text strong {
  color: #ff6a00 !important;
}
.brand-text small {
  color: #d6d6d6 !important;
}
.main-nav,
.main-nav a {
  color: #f2f2f2 !important;
}
.main-nav a:hover {
  color: #ff6a00 !important;
}
.main-nav .btn {
  background: #ff6a00 !important;
  color: #111111 !important;
}
.main-nav .btn:hover {
  background: #e85f00 !important;
  color: #111111 !important;
}
.menu-toggle span {
  background: #ff6a00 !important;
}
@media (max-width: 900px) {
  .main-nav {
    background: #292929 !important;
    border-top: 2px solid #ff6a00 !important;
  }
}

/* Logo officiel Chape 44 */
.brand-logo {
  display: block;
  width: 118px;
  height: 62px;
  object-fit: contain;
}
.footer-logo {
  width: 105px;
  height: 70px;
}
@media (max-width: 620px) {
  .brand-logo {
    width: 96px;
    height: 54px;
  }
}

/* Coordonnées Chape 44 */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.contact-details a {
  display: grid;
  gap: 3px;
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
}
.contact-details a:hover {
  border-color: var(--accent);
}
.contact-details strong {
  font-size: .8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-details span {
  font-weight: 800;
  color: #111;
}
@media (max-width: 620px) {
  .contact-details {
    display: grid;
  }
  .contact-details a {
    min-width: 0;
    width: 100%;
  }
}

/* Nos réalisations - galerie unique défilante */
.realisations-slider {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
}
.realisations-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.realisations-track::-webkit-scrollbar { display: none; }
.realisations-track > img,
.realisations-track > .realisation-placeholder {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
}
.realisations-track > img {
  object-fit: cover;
  cursor: pointer;
}
.realisation-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: #777;
  font-weight: 800;
  background: linear-gradient(135deg,#242424,#111);
}
.slider-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(0,0,0,.58);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.slider-arrow:hover { background: #ff6a00; color: #111; }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

@media (max-width: 620px) {
  .realisations-track > img,
  .realisations-track > .realisation-placeholder {
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
}

/* Prestations V1.9.4 : 4 services */
@media (min-width: 1100px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 621px) and (max-width: 1099px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Zone d'intervention V1.9.5 */
.intervention-section {
  background:
    radial-gradient(circle at 75% 45%, rgba(255,106,0,.13), transparent 34%),
    #0d0f11;
  color:#fff;
  overflow:hidden;
}
.intervention-head {
  max-width:760px;
  margin-bottom:42px;
}
.intervention-head .eyebrow { color:#ff6a00; }
.intervention-head h2 {
  margin:8px 0 18px;
  font-size:clamp(2.4rem,5vw,4.3rem);
  line-height:.98;
  letter-spacing:-.045em;
}
.intervention-head h2 span { color:#ff6a00; }
.intervention-head p {
  color:#d6d6d6;
  font-size:1.05rem;
  line-height:1.8;
}
.intervention-head p strong { color:#ff7a1a; }

.intervention-grid {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:54px;
  align-items:center;
}
.intervention-list {
  display:grid;
  gap:16px;
}
.zone-item {
  display:grid;
  grid-template-columns:64px 1fr;
  gap:18px;
  align-items:center;
  padding:17px 0;
}
.zone-icon {
  width:58px;
  height:58px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#181b1e;
  border:1px solid rgba(255,106,0,.34);
  color:#ff6a00;
  font-weight:900;
}
.zone-item h3 {
  margin:0 0 6px;
  font-size:1.08rem;
}
.zone-item p {
  margin:0;
  color:#b9b9b9;
  line-height:1.55;
}
.zone-contact {
  margin-top:8px;
  border:1px solid #ff6a00;
  border-radius:16px;
  padding:18px 20px;
  display:grid;
  gap:4px;
  background:rgba(255,106,0,.04);
}
.zone-contact span { color:#c7c7c7; }

.sector-visual {
  min-height:500px;
  position:relative;
  display:grid;
  grid-template-columns:1fr 1.35fr;
  grid-template-rows:1fr 1fr;
  gap:14px;
}
.sector-card {
  position:relative;
  border-radius:26px;
  border:1px solid rgba(255,172,94,.8);
  background:linear-gradient(145deg,#ffb15f,#f47a0b);
  color:#151515;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-shadow:0 18px 50px rgba(255,106,0,.12);
  overflow:hidden;
}
.sector-card::after {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.22),transparent 35%);
  pointer-events:none;
}
.sector-card span {
  position:relative;
  z-index:2;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.03em;
}
.sector-card strong {
  position:relative;
  z-index:2;
  font-size:3rem;
  line-height:1;
  margin:6px 0;
}
.sector-card small {
  position:relative;
  z-index:2;
  font-weight:800;
  opacity:.78;
}
.sector-56 { grid-column:1; grid-row:1; transform:translateY(18px); }
.sector-44 {
  grid-column:2;
  grid-row:1 / span 2;
  background:linear-gradient(145deg,#ff8a14,#ff6500);
}
.sector-85 { grid-column:1; grid-row:2; transform:translateY(-18px); }
.base-dot {
  position:absolute;
  z-index:3;
  bottom:28px;
  display:grid;
  justify-items:center;
  gap:7px;
}
.base-dot i {
  width:16px;
  height:16px;
  border-radius:50%;
  background:#111;
  box-shadow:0 0 0 7px rgba(17,17,17,.13);
}
.base-dot b { font-size:.82rem; }

.intervention-bottom {
  margin-top:42px;
  padding:24px 30px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.07);
  background:#15181b;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}
.intervention-bottom > div {
  display:grid;
  gap:6px;
}
.intervention-bottom > div + div {
  border-left:1px solid rgba(255,255,255,.12);
  padding-left:30px;
}
.intervention-bottom span { color:#aaa; }

@media (max-width:900px) {
  .intervention-grid { grid-template-columns:1fr; }
  .sector-visual { min-height:430px; }
}
@media (max-width:620px) {
  .sector-visual {
    min-height:auto;
    grid-template-columns:1fr;
    grid-template-rows:auto;
  }
  .sector-56,.sector-44,.sector-85 {
    grid-column:1;
    grid-row:auto;
    transform:none;
    min-height:180px;
  }
  .sector-44 { min-height:240px; }
  .intervention-bottom { grid-template-columns:1fr; }
  .intervention-bottom > div + div {
    border-left:0;
    border-top:1px solid rgba(255,255,255,.12);
    padding-left:0;
    padding-top:20px;
  }
}


/* V1.9.6 — carte visuelle à la place des blocs HTML */
.sector-map {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sector-map img {
  display:block;
  width:100%;
  max-width:760px;
  height:auto;
  border-radius:24px;
  object-fit:contain;
  filter:drop-shadow(0 20px 45px rgba(255,106,0,.12));
}
@media (max-width:900px) {
  .sector-map img { max-width:680px; }
}

/* V1.9.8 — formulaire de devis complet */
.devis-form fieldset { border:0; padding:0; margin:0; min-width:0; }
.form-section + .form-section { margin-top:28px; padding-top:26px; border-top:1px solid #e8e8e8; }
.form-section legend { width:100%; margin:0 0 18px; font-size:1.08rem; font-weight:900; color:#111; }
.choice-group { margin:4px 0 20px; }
.choice-title { display:block; margin-bottom:10px; font-size:.84rem; font-weight:800; }
.choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.choice-grid-3 { grid-template-columns:repeat(3,1fr); }
.choice-card { position:relative; display:block; margin:0; cursor:pointer; }
.choice-card input { position:absolute; opacity:0; pointer-events:none; }
.choice-card span { min-height:50px; display:flex; align-items:center; justify-content:center; text-align:center; padding:11px 12px; border:1px solid #d9d9d9; border-radius:12px; background:#fafafa; font-size:.82rem; font-weight:800; transition:.18s ease; }
.choice-card input:checked + span { border-color:#ff6a00; background:rgba(255,106,0,.09); box-shadow:0 0 0 2px rgba(255,106,0,.12); color:#b84800; }
.file-drop { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:7px; margin:4px 0 22px; padding:22px; border:1.5px dashed #ff6a00; border-radius:16px; background:#fff8f3; cursor:pointer; }
.file-drop-title { font-size:1rem; font-weight:900; color:#111; }
.file-drop-help { font-size:.8rem; font-weight:600; color:#777; }
.file-drop input { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
.file-button { display:inline-flex; margin-top:7px; padding:10px 14px; border-radius:10px; background:#ff6a00; color:#111; font-size:.82rem; font-weight:900; }
.file-name { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.8rem; color:#666; font-weight:600; }
#devisSubmit:disabled { opacity:.65; cursor:wait; }
@media (max-width:620px) {
  .choice-grid, .choice-grid-3 { grid-template-columns:1fr; }
  .choice-card span { justify-content:flex-start; text-align:left; }
}


/* Contact V1.9.13 */
.contact-section {
  background:#0d0f11;
  color:#fff;
}
.contact-head {
  max-width:700px;
  margin-bottom:34px;
}
.contact-head .eyebrow { color:#ff6a00; }
.contact-head h2 {
  margin:8px 0 12px;
  font-size:clamp(2.2rem,4.5vw,3.8rem);
  line-height:1;
  letter-spacing:-.04em;
}
.contact-head h2 span { color:#ff6a00; }
.contact-head p { color:#aaa; margin:0; }

.contact-links {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.contact-card {
  min-height:130px;
  padding:24px;
  border:1px solid #ff6a00;
  border-radius:18px;
  background:#15181b;
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  transition:transform .2s ease, background .2s ease;
}
.contact-card:hover {
  transform:translateY(-3px);
  background:#1a1d20;
}
.contact-label {
  color:#ff6a00;
  font-size:.8rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.contact-card strong {
  font-size:clamp(1rem,2vw,1.3rem);
  overflow-wrap:anywhere;
}
@media (max-width:700px) {
  .contact-links { grid-template-columns:1fr; }
  .contact-card { min-height:105px; }
}


/* V1.9.14 — Finitions générales */
html { scroll-behavior:smooth; }
body { overflow-x:hidden; }
img { max-width:100%; }

/* Footer */
.site-footer {
  background:#090b0d;
  color:#fff;
  border-top:1px solid rgba(255,255,255,.07);
  padding:54px 0 22px;
}
.footer-main {
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:38px;
  align-items:start;
}
.footer-brand-block .footer-logo {
  width:150px;
  height:auto;
  display:block;
  margin-bottom:18px;
}
.footer-brand-block p {
  max-width:330px;
  margin:0;
  color:#969a9e;
  line-height:1.65;
}
.footer-column {
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-column strong {
  color:#ff6a00;
  margin-bottom:4px;
}
.footer-column a {
  color:#b8bcc0;
  text-decoration:none;
  font-size:.9rem;
  line-height:1.45;
}
.footer-column a:hover { color:#fff; }
.footer-bottom {
  margin-top:38px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#777d82;
  font-size:.78rem;
}

/* Animations légères au scroll */
.reveal {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity:1;
  transform:none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .reveal {
    opacity:1;
    transform:none;
    transition:none;
  }
}

/* Petites finitions desktop/tablette/mobile */
@media (max-width:1000px) {
  .footer-main { grid-template-columns:1fr 1fr; }
}
@media (max-width:700px) {
  .footer-main { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; gap:8px; }
  .footer-brand-block .footer-logo { width:130px; }
}
@media (max-width:520px) {
  .hero-content h1 { font-size:clamp(2.25rem,11vw,3.2rem); }
  .section { padding-left:0; padding-right:0; }
  .container { width:min(100% - 30px, 1180px); }
  .realisations-slider { width:100%; }
  .intervention-head h2, .contact-head h2 { overflow-wrap:anywhere; }
}


/* V1.9.15 — Vidéo en arrière-plan de l’accueil */
.hero-video {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
  pointer-events:none;
}
.hero-overlay {
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.58) 52%, rgba(0,0,0,.52) 100%);
}
.hero::before, .hero::after { z-index:1; pointer-events:none; }
.hero-grid { z-index:2; }
@media (max-width:700px) {
  .hero-video { object-position:center center; }
  .hero-overlay { background:rgba(0,0,0,.62); }
}


/* V1.9.19 — Réalisations : grand format paysage sur PC uniquement */
@media (min-width: 901px) {
  .realisations-slider,
  .realisations-frame,
  .realisations-track {
    max-width: 1120px !important;
    width: 100% !important;
  }

  .realisations-slider {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .realisations-frame,
  .realisation-slide {
    aspect-ratio: 16 / 9 !important;
  }

  .realisation-slide {
    background: #0b0d0f;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .realisation-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

/* Téléphone : conserver le rendu portrait existant */
@media (max-width: 900px) {
  .realisations-frame,
  .realisation-slide {
    aspect-ratio: 3 / 4 !important;
  }
}


/* V1.9.20 — Nos fournisseurs de chape */
.fournisseurs {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,106,0,.09), transparent 42%),
    #0d0f11;
}
.fournisseurs-head {
  text-align:center;
  max-width:760px;
  margin:0 auto 34px;
}
.fournisseurs-head .eyebrow {
  display:inline-block;
  color:#ff6a00;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.78rem;
  font-weight:800;
  margin-bottom:10px;
}
.fournisseurs-head h2 {
  margin:0 0 12px;
}
.fournisseurs-head p {
  margin:0 auto;
  color:#a8adb2;
  line-height:1.65;
}
.fournisseurs-grid {
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
.fournisseur-card {
  min-height:132px;
  border:1px solid rgba(255,106,0,.52);
  border-radius:18px;
  background:linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  box-shadow:0 12px 34px rgba(0,0,0,.18);
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.fournisseur-card:hover {
  transform:translateY(-4px);
  border-color:#ff6a00;
  background:linear-gradient(145deg, rgba(255,106,0,.09), rgba(255,255,255,.02));
}
.fournisseur-name {
  display:block;
  font-size:clamp(1.45rem,2.2vw,2rem);
  line-height:1;
  font-weight:900;
  letter-spacing:-.04em;
  color:#fff;
}
.lafarge-name { font-weight:800; }
.caddac-name { letter-spacing:.02em; text-transform:uppercase; }
.bigmat-name { font-style:italic; }
.bme-name { letter-spacing:.08em; color:#ff6a00; }

@media (max-width:900px) {
  .fournisseurs-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:520px) {
  .fournisseurs-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .fournisseur-card { min-height:105px; padding:16px 10px; }
  .fournisseur-name { font-size:1.3rem; }
}


/* V1.9.21 — FORCE réalisations en paysage sur PC */
@media screen and (min-width: 901px) {
  #realisations .realisations-slider,
  #realisations .realisations-frame,
  #realisations .realisations-track,
  #realisations .realisation-slide {
    width: 100% !important;
    max-width: 1120px !important;
  }

  #realisations .realisations-slider,
  #realisations .realisations-frame {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #realisations .realisations-frame,
  #realisations .realisation-slide {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #realisations .realisation-slide {
    flex: 0 0 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #090b0d !important;
    overflow: hidden !important;
  }

  #realisations .realisation-slide img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
  }
}

/* Téléphone/tablette : portrait conservé */
@media screen and (max-width: 900px) {
  #realisations .realisations-frame,
  #realisations .realisation-slide {
    aspect-ratio: 3 / 4 !important;
  }
}

/* V1.9.22 */
.bme-name { color:#fff !important; }


/* V1.9.23 — Logos fournisseurs fournis par le client */
.fournisseur-card {
  flex-direction: column !important;
  gap: 18px !important;
  min-height: 250px !important;
}
.fournisseur-logo {
  display: block;
  width: 100%;
  max-width: 230px;
  height: 108px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.bme-name { color: #fff !important; }

@media (max-width: 900px) {
  .fournisseur-card { min-height: 220px !important; }
  .fournisseur-logo { max-width: 210px; height: 100px; }
}
@media (max-width: 520px) {
  .fournisseur-card { min-height: 175px !important; gap: 12px !important; }
  .fournisseur-logo { height: 82px; padding: 8px; }
}

/* V1.9.25 — fournisseurs : logos seuls et liens vers les solutions chape */
.fournisseur-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}
.fournisseur-link .fournisseur-logo {
  transition: transform .2s ease, box-shadow .2s ease;
}
.fournisseur-link:hover .fournisseur-logo {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}


/* V1.9.27 — correction propre après retour V1.9.25 */

/* Fournisseurs : garder les cartes orange, mais beaucoup plus compactes */
#fournisseurs .fournisseur-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 10px 12px !important;
  gap: 0 !important;
}
#fournisseurs .fournisseur-logo {
  width: 100% !important;
  max-width: 205px !important;
  height: 88px !important;
  padding: 6px !important;
  margin: 0 auto !important;
}

/* Réalisations : sur PC, SEUL le cadre passe en paysage.
   Le mécanisme du carrousel d'origine reste intact. */
@media screen and (min-width: 901px) {
  #realisations .realisations-slider {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #realisations .realisations-track {
    height: 100% !important;
  }

  #realisations .realisations-track > img,
  #realisations .realisations-track > .realisation-placeholder {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #111 !important;
  }
}

/* Mobile/tablette inchangé : portrait */
@media screen and (max-width: 900px) {
  #realisations .realisations-slider {
    width: min(100%, 620px) !important;
    aspect-ratio: 3 / 4 !important;
  }
}


/* V1.9.28 — Photos réalisations plein cadre paysage sur PC uniquement */
@media screen and (min-width: 901px) {
  #realisations .realisations-track > img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}
