:root {
  --navy: #071f34;
  --navy-2: #0d304d;
  --green: #27b681;
  --green-dark: #11966a;
  --gold: #ffc20a;
  --text: #152235;
  --muted: #5f6f81;
  --line: #dce5ec;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 31, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, Poppins, Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 236, 0.85);
  backdrop-filter: blur(16px);
}

.brand img,
.site-footer img {
  height: auto;
  object-fit: contain;
}

.header-actions,
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.phone-link {
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 14px 28px rgba(255, 194, 10, 0.27);
}

.btn-secondary {
  color: var(--white);
  background: var(--navy);
}

.btn-outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.btn-large {
  min-height: 52px;
  padding-inline: 22px;
}

.section-band {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100svh - 78px);
  background:
    linear-gradient(110deg, rgba(7, 31, 52, 0.84), rgba(13, 48, 77, 0.62)),
    url("images/hero-climatisation.jpg") center/cover;
  color: var(--white);
}

.hero-copy {
  max-width: 760px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.25rem, 5vw, 5.15rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 1.1rem;
}

.lead {
  max-width: 670px;
  margin: 22px 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.03rem, 1.5vw, 1.25rem);
}

.system-types {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--white);
  font-weight: 850;
}

.system-types span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.trust-badges span,
.energy-points span,
.city-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  font-weight: 800;
}

.trust-badges span {
  padding: 8px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-badges span::before,
.check-list li::before,
.energy-points span::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.quote-panel {
  background: var(--white);
  color: var(--text);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-form {
  padding: clamp(22px, 3.4vw, 34px);
}

.quote-form h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--text);
  background: #f9fbfd;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(39, 182, 129, 0.23);
  border-color: var(--green);
}

.btn-submit {
  width: 100%;
  margin-top: 18px;
  border: 0;
}

.privacy,
.form-confirmation {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.form-confirmation:not(:empty) {
  color: var(--green-dark);
  font-weight: 800;
}

.media-strip,
.project-gallery,
.section,
.final-cta,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.media-strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
  padding-top: 34px;
  padding-bottom: 20px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 0;
  padding-bottom: 20px;
}

.image-frame {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf2f6, #dbe8ef);
  border-radius: 8px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.image-frame.is-placeholder::before {
  content: "Photo à ajouter";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 900;
}

.section {
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(58px, 7vw, 96px);
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.card-grid,
.solution-grid,
.testimonial-grid,
.brand-grid {
  display: grid;
  gap: 16px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problems article,
.solution-grid article,
.testimonial-grid article {
  min-height: 120px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 31, 52, 0.06);
}

.problems article {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 850;
}

.solution-grid {
  grid-template-columns: repeat(4, 1fr);
}

.solution-grid p,
.testimonial-grid p {
  margin: 0;
  color: var(--muted);
}

.solution-grid .featured {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.solution-grid .featured h3,
.solution-grid .featured p {
  color: var(--white);
}

.why-layout,
.zone-layout,
.energy,
.final-cta {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
}

.vertical {
  min-height: 520px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.energy {
  color: var(--white);
  background: var(--navy);
}

.energy h2,
.energy p {
  color: var(--white);
}

.energy-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.energy-points {
  display: grid;
  gap: 12px;
}

.energy-points span {
  padding: 13px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.brand-logo-card {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(7, 31, 52, 0.05);
}

.brand-logo-card img {
  width: 100%;
  max-width: 170px;
  height: 68px;
  object-fit: contain;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 128px;
  padding: 18px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid article {
  min-height: 210px;
}

.testimonial-grid p {
  font-size: 1.03rem;
}

.testimonial-grid strong {
  display: block;
  margin-top: 20px;
  color: var(--navy);
}

.review-summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  color: var(--navy);
  background: #fff7d7;
  border: 1px solid rgba(255, 194, 10, 0.38);
  border-radius: 999px;
  font-weight: 900;
}

.stars {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.map-wrap {
  min-height: 430px;
  overflow: hidden;
  background: #e5edf2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-grid span {
  padding: 9px 13px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 940px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  min-height: 58px;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.final-cta {
  padding-top: 72px;
  padding-bottom: 72px;
  background: linear-gradient(135deg, #f6fafc, #eaf4f1);
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.cta-image {
  min-height: 390px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
  padding-top: 48px;
  padding-bottom: 38px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.site-footer p {
  margin: 14px 0 0;
}

address,
.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
  font-style: normal;
}

.site-footer a {
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-call {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 25;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(7, 31, 52, 0.26);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .hero,
  .why-layout,
  .zone-layout,
  .energy,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding-inline: 14px;
  }

  .brand img {
    width: 166px;
  }

  .header-actions .phone-link,
  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    background:
      linear-gradient(160deg, rgba(7, 31, 52, 0.82), rgba(13, 48, 77, 0.62)),
      url("images/hero-climatisation.jpg") center/cover;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.3rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .hero-buttons,
  .split {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .form-grid,
  .card-grid,
  .solution-grid,
  .check-list,
  .testimonial-grid,
  .brand-grid,
  .process-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .media-strip {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .media-strip .image-frame:not(.large) {
    display: none;
  }

  .vertical,
  .map-wrap,
  .map-wrap iframe,
  .cta-image {
    min-height: 300px;
  }

  .mobile-call {
    display: inline-flex;
  }

  body {
    padding-bottom: 72px;
  }
}
