:root {
  --ink: #12110f;
  --paper: #fbfaf7;
  --muted: #6f706c;
  --line: rgba(18, 17, 15, 0.12);
  --purple: #6e2b8c;
  --gold: #f2c132;
  --green: #2c9a33;
  --orange: #dd4e22;
  --blue: #4d91c9;
  --cream: #fff7df;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(18, 17, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  scroll-margin-top: 110px;
}

.free-quote-banner {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(157, 25, 28, 0.92);
  color: #fff;
  font-size: clamp(0.74rem, 1.3vw, 0.9rem);
  font-weight: 850;
  letter-spacing: 0;
  padding: 7px 16px;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(157, 25, 28, 0.2);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.free-quote-banner.is-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 42px;
  left: 50%;
  display: grid;
  width: min(1280px, calc(100% - 32px));
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(18, 17, 15, 0.76);
  color: #fff;
  padding: 10px 12px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  transition: top 180ms ease;
}

.is-scrolled .site-header {
  top: 14px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.92rem;
  text-transform: uppercase;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: end;
}

nav a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  padding: 9px 10px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header-call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 9px 14px;
}

.header-call span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.header-call strong {
  white-space: nowrap;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 54vh;
  grid-template-columns: minmax(0, 0.85fr) minmax(220px, 290px);
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 128px max(24px, calc((100vw - 1180px) / 2)) 38px;
  background: #10100e;
  color: #fff;
}

main {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 1;
}

.realisations-section {
  order: 3;
}

.service-band {
  order: 4;
}

.reviews {
  order: 5;
}

.quote-section {
  order: 6;
}

.contact-banner {
  order: 7;
}

.legal-footer {
  order: 9;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
  filter: saturate(1.06) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.86) 0%, rgba(18, 17, 15, 0.55) 44%, rgba(18, 17, 15, 0.06) 100%),
    linear-gradient(0deg, rgba(18, 17, 15, 0.72) 0%, transparent 42%);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  border: 1px solid rgba(242, 193, 50, 0.34);
  border-radius: 999px;
  background: rgba(242, 193, 50, 0.12);
  color: var(--gold);
  font-size: clamp(0.82rem, 1.5vw, 1.02rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  padding: 9px 13px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.35vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  padding: 0 20px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #15130f;
  box-shadow: 0 16px 36px rgba(242, 193, 50, 0.28);
}

.btn-urgent {
  background: #b51d23;
  color: #fff;
  box-shadow: 0 16px 34px rgba(181, 29, 35, 0.24);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.trust-strip {
  display: grid;
  max-width: 560px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 26px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip dt {
  font-size: 1.1rem;
  font-weight: 900;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.hero-card {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card img {
  display: block;
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-card a {
  display: block;
  margin: 14px 0 9px;
  font-size: 1.22rem;
  font-weight: 950;
}

.hero-card span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(44, 154, 51, 0.12);
  color: #1b7224;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 10px;
}

.emergency-popover {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 28;
  display: grid;
  gap: 5px;
  width: min(300px, calc(100vw - 36px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid #b51d23;
  border-radius: var(--radius);
  background: rgba(18, 17, 15, 0.92);
  color: #fff;
  padding: 18px 46px 18px 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.emergency-popover.is-hidden {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.emergency-popover span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.emergency-popover strong {
  font-size: 1.18rem;
  line-height: 1.1;
}

.emergency-popover a {
  width: fit-content;
  margin-top: 7px;
  border-radius: 999px;
  background: #b51d23;
  color: #fff;
  font-weight: 900;
  padding: 10px 13px;
}

.emergency-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(18, 17, 15, 0.62);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.promo-modal.is-hidden {
  display: none;
}

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(440px, 1fr);
  align-items: center;
  overflow: hidden;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  border: 1px solid rgba(124, 185, 39, 0.72);
  border-radius: 24px;
  background: #11100e;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.promo-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 78px);
  object-fit: contain;
  background: #11100e;
}

.promo-content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
}

.promo-content h2 {
  font-size: clamp(1.6rem, 3.2vw, 3.2rem);
}

.promo-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.58;
}

.promo-content .btn {
  width: fit-content;
}

.promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(18, 17, 15, 0.64);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

.service-band,
.story-section,
.reviews,
.advice-section,
.quote-section,
.contact-banner,
.legal-footer {
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
}

.section-head {
  display: block;
  max-width: 880px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head.compact {
  display: block;
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.95rem, 3.6vw, 3.85rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head p:not(.eyebrow),
.story-copy p,
.contact-banner p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-head p:not(.eyebrow) {
  max-width: 660px;
  margin: 18px auto 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(18, 17, 15, 0.1);
}

.service-mark {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(18, 17, 15, 0.22);
}

.service-photo {
  position: relative;
  min-height: 154px;
  background-position: center;
  background-size: cover;
}

.service-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 0%, rgba(18, 17, 15, 0.52) 100%);
}

.service-photo-plumbing {
  background-image: url("assets/lpd-prevention.png");
  background-position: 70% center;
}

.service-photo-heating {
  background-image: url("assets/lpd-chauffage-clim.png");
  background-position: center;
}

.service-photo-electric {
  background-image: url("assets/lpd-electricite-service.png");
  background-position: center;
}

.service-photo-air {
  background-image: url("assets/lpd-vmc.png");
  background-position: center;
}

.service-photo-pro {
  background-image: url("assets/lpd-particuliers-pros.png");
  background-position: center;
}

.service-body {
  display: grid;
  align-content: end;
  min-height: 210px;
  padding: 22px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-card p {
  min-height: 84px;
  color: var(--muted);
  line-height: 1.52;
}

.service-card a {
  color: var(--ink);
  font-weight: 850;
}

.plumbing .service-mark {
  background: var(--green);
}

.heating .service-mark {
  background: var(--gold);
}

.electric .service-mark {
  background: var(--orange);
}

.air .service-mark {
  background: var(--purple);
}

.habitat .service-mark {
  background: var(--blue);
}

.realisations-section {
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
  background: #fff;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.realisation-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #11100e;
  color: #fff;
}

.realisation-card img,
.realisation-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realisation-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 38%, rgba(18, 17, 15, 0.86) 100%);
  pointer-events: none;
}

.realisation-card div {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 22px;
}

.realisation-card span {
  display: inline-flex;
  margin-bottom: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}

.realisation-card h3 {
  margin: 0 0 8px;
  font-size: 1.32rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.realisation-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.45;
}

.realisation-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 734px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 74px;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.9), rgba(18, 17, 15, 0.68)),
    url("assets/hero-background.png") center / cover;
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.6;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 68px;
  align-items: center;
  background: #f1f0ea;
}

.story-copy {
  max-width: 680px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.68);
  padding: 13px 16px;
  font-weight: 780;
}

.process-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.process-panel div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 4px 18px;
  background: #fff;
  padding: 24px;
}

.process-panel span {
  grid-row: span 2;
  color: var(--orange);
  font-size: 1.55rem;
  font-weight: 950;
}

.process-panel strong {
  font-size: 1.12rem;
  text-transform: uppercase;
}

.process-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.reviews {
  background: var(--ink);
  color: #fff;
}

.review-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.google-summary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 14px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.google-summary strong {
  display: block;
  font-size: 1.18rem;
}

.google-summary small {
  color: var(--muted);
  font-weight: 750;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.reviews-auto-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.55;
}

.google-review {
  display: grid;
  min-height: 280px;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 26px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.review-topline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.review-avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.review-topline strong,
.review-topline small {
  display: block;
}

.review-topline strong {
  font-size: 0.98rem;
}

.review-topline small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.google-g {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: conic-gradient(
    from -35deg,
    #4285f4 0 25%,
    #34a853 0 43%,
    #fbbc05 0 67%,
    #ea4335 0 100%
  );
  color: #fff;
  font-weight: 950;
}

.stars {
  color: #fbbc05;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.google-review p {
  min-height: 88px;
  color: #373630;
  font-size: 1.06rem;
  line-height: 1.55;
}

.google-review a {
  width: fit-content;
  border-bottom: 2px solid rgba(66, 133, 244, 0.28);
  color: #1a73e8;
  font-weight: 850;
}

.advice-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f2ee 100%);
}

.article-tabs {
  display: grid;
  gap: 18px;
}

.advice-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-tab {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 18px;
}

.article-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.article-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 60px rgba(18, 17, 15, 0.08);
}

.article-panel[hidden] {
  display: none;
}

.article-image {
  min-height: 430px;
  background-position: center;
  background-size: cover;
}

.article-image-heating {
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(18, 17, 15, 0.28) 100%),
    url("assets/lpd-desembouage.png");
}

.article-image-vmc {
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(18, 17, 15, 0.28) 100%),
    url("assets/lpd-vmc.png");
}

.article-image-electric {
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(18, 17, 15, 0.28) 100%),
    url("assets/lpd-electricite-article.png");
}

.article-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 54px);
}

.article-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.article-copy h4 {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.article-copy p:not(.advice-kicker),
.article-copy li {
  color: var(--muted);
  line-height: 1.58;
}

.article-copy ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding-left: 19px;
}

.article-more {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 10px;
}

.article-more[hidden] {
  display: none;
}

.read-more-button {
  width: fit-content;
  min-height: 44px;
  border: 1px solid rgba(18, 17, 15, 0.16);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 18px;
}

.read-more-button:hover {
  background: #2c2a25;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.92fr);
  gap: 48px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(110, 43, 140, 0.14), transparent 36%),
    linear-gradient(315deg, rgba(77, 145, 201, 0.16), transparent 38%),
    #171714;
  color: #fff;
}

.quote-intro {
  position: sticky;
  top: 122px;
}

.quote-intro h2 {
  max-width: 560px;
}

.quote-intro p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}

.quote-note {
  display: grid;
  gap: 5px;
  max-width: 430px;
  margin-top: 30px;
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
}

.quote-note strong {
  text-transform: uppercase;
}

.quote-note span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.quote-direct-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 28px;
  box-shadow: var(--shadow);
}

.quote-direct-card div {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(18, 17, 15, 0.1);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
}

.quote-direct-card span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-direct-card strong {
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.08;
}

.quote-direct-card p {
  color: var(--muted);
  line-height: 1.55;
}

.quote-direct-card .btn {
  width: fit-content;
  min-width: 190px;
}

.btn-secondary-dark {
  border: 1px solid rgba(18, 17, 15, 0.14);
  background: var(--ink);
  color: #fff;
}

.quote-form {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 28px;
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quote-form label,
.quote-form legend {
  display: grid;
  gap: 8px;
  color: #2d2b26;
  font-size: 0.9rem;
  font-weight: 850;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(18, 17, 15, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.quote-form textarea {
  min-height: 142px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(44, 154, 51, 0.14);
  outline: none;
}

.quote-form fieldset {
  margin: 0;
  border: 1px solid rgba(18, 17, 15, 0.12);
  border-radius: var(--radius);
  padding: 16px;
}

.quote-form legend {
  padding: 0 8px;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.service-options label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(18, 17, 15, 0.1);
  border-radius: 999px;
  background: #fbfaf7;
  color: var(--ink);
  padding: 9px 11px;
}

.service-options input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--green);
}

.quote-form button {
  width: fit-content;
  min-width: 210px;
  border: 0;
  cursor: pointer;
}

.contact-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(44, 154, 51, 0.12), transparent 45%),
    var(--cream);
}

.contact-banner h2 {
  max-width: 820px;
}

.contact-banner .btn {
  min-width: 210px;
}

.legal-footer {
  background: #11100e;
  color: #fff;
}

.legal-intro {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin-bottom: 34px;
}

.legal-intro h2 {
  max-width: 760px;
}

.legal-intro p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 850;
  padding: 9px 12px;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legal-grid article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
}

.legal-grid h3 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.legal-grid p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-grid a,
.legal-grid strong {
  color: #fff;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px 14px;
  }

  nav {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 6px;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
    font-size: 0.82rem;
    padding: 8px 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 122px;
  }

  .hero-card {
    max-width: 420px;
  }

  .story-section,
  .article-panel,
  .quote-section,
  .review-header,
  .contact-banner {
    grid-template-columns: 1fr;
  }

  .quote-intro {
    position: static;
  }

  .service-grid,
  .review-grid,
  .realisations-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .realisation-large {
    grid-column: span 2;
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  section {
    scroll-margin-top: 18px;
  }

  .free-quote-banner {
    position: relative;
    top: auto;
    font-size: 0.68rem;
    line-height: 1.2;
    padding: 6px 12px;
    box-shadow: none;
  }

  .site-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 10px;
    transform: none;
    border-width: 0 0 1px;
    border-radius: 0;
    padding: 10px 14px 12px;
    background: rgba(18, 17, 15, 0.94);
  }

  .is-scrolled .site-header {
    top: auto;
  }

  .brand small,
  .header-call span {
    display: none;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding: 0;
  }

  nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    min-width: 0;
    font-size: 0.66rem;
    line-height: 1.05;
    padding: 6px 4px;
    text-align: center;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  nav a[href="#mentions-legales"] {
    display: none;
  }

  .hero {
    gap: 20px;
    padding: 38px 18px 30px;
    text-align: left;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18, 17, 15, 0.88) 0%, rgba(18, 17, 15, 0.76) 58%, rgba(18, 17, 15, 0.66) 100%);
  }

  h1 {
    max-width: 360px;
    font-size: clamp(1.24rem, 5.6vw, 1.62rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 2.12rem);
    line-height: 1.08;
  }

  .hero-copy {
    max-width: 360px;
    font-size: 0.9rem;
    line-height: 1.46;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .btn {
    min-height: 44px;
    padding: 0 16px;
  }

  .section-head {
    margin-bottom: 28px;
    text-align: center;
  }

  .section-head p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .trust-strip,
  .service-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    max-width: 360px;
    margin-top: 18px;
  }

  .trust-strip div {
    padding: 12px 14px;
  }

  .trust-strip dt {
    font-size: 1rem;
  }

  .hero-card {
    display: none;
  }

  .service-band,
  .story-section,
  .reviews,
  .advice-section,
  .quote-section,
  .contact-banner,
  .legal-footer {
    padding: 56px 18px;
  }

  .realisations-section {
    padding: 64px 18px;
  }

  .realisations-grid,
  .realisation-large {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .realisation-card,
  .realisation-large {
    display: block;
    min-height: 0;
    background: #fff;
    color: var(--ink);
  }

  .realisation-card img,
  .realisation-card video {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #11100e;
  }

  .realisation-card::after {
    display: none;
  }

  .realisation-card div {
    padding: 16px;
  }

  .realisation-card span {
    background: rgba(18, 17, 15, 0.08);
    color: var(--muted);
    font-size: 0.68rem;
  }

  .realisation-card h3 {
    color: var(--ink);
    font-size: 1.05rem;
  }

  .realisation-card p {
    color: var(--muted);
    font-size: 0.9rem;
  }

  .page-hero {
    padding: 54px 18px 52px;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 8.6vw, 2.6rem);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .hero-location {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 1px solid rgba(242, 193, 50, 0.32);
    border-radius: 8px;
    background: rgba(242, 193, 50, 0.95);
    color: #15130f;
    font-size: 0.82rem;
    line-height: 1.25;
    padding: 10px 12px;
    text-align: center;
    text-wrap: balance;
  }

  .emergency-popover {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border-width: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    padding: 10px 54px 10px 18px;
    box-shadow: none;
  }

  .emergency-popover span {
    display: none;
  }

  .emergency-popover strong {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .emergency-popover a {
    margin-top: 0;
    font-size: 0.9rem;
    padding: 9px 11px;
  }

  .promo-modal {
    align-items: center;
    padding: 12px;
  }

  .promo-card {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
    border-radius: 22px;
    max-height: calc(100svh - 24px);
    overflow-y: auto;
  }

  .promo-card img {
    max-height: none;
    width: 100%;
    object-fit: contain;
  }

  .promo-content {
    gap: 10px;
    padding: 18px 18px 14px;
  }

  .promo-content h2 {
    font-size: 1.42rem;
    line-height: 1.08;
  }

  .promo-content p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .promo-content .btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.88rem;
    text-align: center;
  }

  .promo-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .article-image {
    min-height: 230px;
  }

  .field-row,
  .review-header,
  .service-options {
    grid-template-columns: 1fr;
  }

  .google-summary {
    width: 100%;
  }

  .quote-form {
    padding: 20px;
  }

  .quote-direct-card,
  .quote-direct-card div,
  .google-review,
  .legal-grid article {
    padding: 18px;
  }

  .quote-direct-card strong {
    font-size: 1.18rem;
  }

  .contact-banner {
    gap: 20px;
    text-align: center;
  }

  .contact-banner .btn {
    width: 100%;
  }

  .service-body {
    min-height: auto;
    padding: 18px;
  }

  .service-photo {
    min-height: 190px;
  }

  .service-card p {
    min-height: 0;
    font-size: 0.94rem;
  }

  .service-card h3 {
    font-size: 1.18rem;
  }

  .process-panel div {
    grid-template-columns: 48px 1fr;
    padding: 20px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }
}

/* Home redesign - 2026-05-31 */
.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.header-call {
  border: 1px solid rgba(242, 193, 50, 0.72);
  background: rgba(18, 17, 15, 0.36);
  color: #fff;
}

.header-call span {
  color: var(--gold);
}

.hero {
  min-height: 650px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.82fr);
  gap: 40px;
  padding-top: 156px;
  padding-bottom: 68px;
}

.hero-overlay {
  background:
    radial-gradient(circle at 82% 24%, rgba(242, 193, 50, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(18, 17, 15, 0.94) 0%, rgba(18, 17, 15, 0.76) 48%, rgba(18, 17, 15, 0.52) 100%),
    linear-gradient(0deg, rgba(18, 17, 15, 0.84) 0%, transparent 44%);
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(2.15rem, 3.65vw, 4.05rem);
  line-height: 1;
}

.hero h1::after {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  content: "Tous vos besoins, sans surprise.";
  font-size: 0.74em;
  line-height: 1.02;
}

.hero-location {
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--gold);
  padding: 0;
}

.hero-location::before {
  content: "●";
  font-size: 1.05rem;
}

.hero-actions .btn-primary {
  min-width: 240px;
}

.hero-trust {
  max-width: 720px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
  background: rgba(255, 255, 255, 0.08);
}

.hero-trust div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}

.hero-trust div:first-child {
  border-left: 0;
}

.hero-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-service-card {
  position: relative;
  display: grid;
  min-height: 210px;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 17, 15, 0.08) 0%, rgba(18, 17, 15, 0.9) 100%),
    var(--service-image) center / cover;
  color: #fff;
  padding: 22px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.service-plumbing {
  background-position: 58% center;
}

.service-heating {
  background-position: center;
}

.service-electric {
  background-position: center;
}

.service-vmc {
  background-position: 62% center;
}

.hero-service-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-service-card strong {
  margin-top: 7px;
  max-width: 280px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.service-plumbing,
.service-photo-plumbing {
  --service-image: url("assets/lpd-particuliers-pros.png");
}

.service-heating,
.service-photo-heating {
  --service-image: url("assets/lpd-chauffage-clim.png");
}

.service-electric,
.service-photo-electric {
  --service-image: url("assets/lpd-electricite-service.png");
}

.service-vmc,
.service-photo-air {
  --service-image: url("assets/lpd-vmc.png");
}

.service-photo-pro {
  --service-image: url("assets/lpd-particuliers-pros.png");
}

.service-photo {
  min-height: 190px;
  background-image: var(--service-image);
}

.proof-strip {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: #fff;
  box-shadow: 0 -10px 44px rgba(18, 17, 15, 0.08);
}

.proof-strip article {
  display: grid;
  gap: 5px;
  min-height: 110px;
  align-content: center;
  border-left: 1px solid var(--line);
  padding: 22px 34px;
}

.proof-strip article:first-child {
  border-left: 0;
}

.proof-strip strong {
  font-size: 0.98rem;
  text-transform: uppercase;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.42;
}

.audience-section {
  order: 8;
  padding: 58px max(24px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(242, 193, 50, 0.13), transparent 30%),
    #f5f4ef;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.audience-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 18px 60px rgba(18, 17, 15, 0.08);
}

.audience-grid span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.audience-grid h3 {
  max-width: 540px;
  margin: 12px 0;
  font-size: clamp(1.55rem, 2.8vw, 2.6rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.audience-grid p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.58;
}

.service-band {
  background: #fff;
}

.reviews-auto-note {
  display: none;
}

.emergency-popover {
  right: 28px;
  bottom: 28px;
  width: min(330px, calc(100vw - 42px));
  border-left-color: var(--gold);
}

.emergency-popover a {
  background: #b51d23;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .header-call {
    display: none;
  }

  nav {
    justify-self: start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-service-grid {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    padding-bottom: 10px;
  }

  nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  nav a[href="#contact"] {
    display: none;
  }

  .emergency-popover {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 18px 42px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.5rem, 7.2vw, 2.05rem);
    line-height: 1.05;
  }

  .hero h1::after {
    margin-top: 6px;
    font-size: 0.82em;
  }

  .hero-location {
    display: flex;
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    background: var(--gold);
    color: #15130f;
    padding: 10px 12px;
    text-align: center;
  }

  .hero-location::before {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-trust div:nth-child(odd) {
    border-left: 0;
  }

  .hero-service-grid {
    grid-template-columns: 1fr;
  }

  .hero-service-card {
    min-height: 150px;
    padding: 18px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .proof-strip article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }

  .audience-section {
    padding: 56px 18px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid article {
    min-height: auto;
    padding: 22px;
  }

  .audience-grid h3 {
    font-size: 1.45rem;
  }
}
