:root {
  --emp-blue: #0b1f33;
  --emp-blue-2: #123a5a;
  --emp-yellow: #f6c343;
  --emp-green: #2e7d32;
  --emp-light: #f7f9fb;
  --emp-dark: #1f2937;
  --emp-muted: #64748b;
  --emp-white: #ffffff;
  --line: rgba(11, 31, 51, .12);
  --shadow: 0 18px 40px rgba(11, 31, 51, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--emp-dark);
  background: var(--emp-light);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--emp-blue);
  font-weight: 850;
  text-decoration: none;
}

.brand span { color: #9a6a00; }

.site-nav {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .95rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--emp-blue);
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { border-color: var(--emp-yellow); }

.nav-toggle {
  display: none;
  border: 0;
  background: var(--emp-blue);
  color: var(--emp-white);
  min-height: 42px;
  padding: 0 .9rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hero,
.page-hero {
  color: var(--emp-white);
  background:
    linear-gradient(120deg, rgba(11, 31, 51, .96), rgba(18, 58, 90, .88)),
    linear-gradient(45deg, rgba(246, 195, 67, .22), transparent 58%);
}

.hero {
  min-height: 70vh;
  display: grid;
  align-items: center;
  padding: clamp(3rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.page-hero,
.section {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.hero__content,
.section__header,
.page-hero > * { max-width: 850px; }

.eyebrow {
  margin: 0 0 .6rem;
  color: var(--emp-yellow);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.14; }
h1 { margin: 0 0 1rem; font-size: clamp(2.3rem, 7vw, 4.9rem); }
h2 { margin: 0 0 .8rem; font-size: clamp(1.45rem, 3vw, 2.25rem); }
h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
p { margin-top: 0; }

.hero p,
.page-hero p { font-size: 1.12rem; }

.actions,
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.05rem;
  border: 0;
  background: var(--emp-blue-2);
  color: var(--emp-white);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary { background: var(--emp-yellow); color: var(--emp-blue); }
.btn--secondary { background: transparent; color: var(--emp-white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.card,
.notice,
.quote-form {
  background: var(--emp-white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card,
.notice { padding: 1.35rem; }

.card a {
  color: var(--emp-blue-2);
  font-weight: 850;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.band {
  justify-content: space-between;
  margin: 0 clamp(1rem, 5vw, 5rem) clamp(2.5rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--emp-blue);
  color: var(--emp-white);
}

.quote-form {
  max-width: 960px;
  padding: clamp(1rem, 3vw, 2rem);
}

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

label {
  display: grid;
  gap: .35rem;
  margin-bottom: 1rem;
  font-weight: 760;
}

input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: .75rem .85rem;
  border: 1px solid rgba(11, 31, 51, .22);
  border-radius: 6px;
  font: inherit;
  background: var(--emp-white);
}

textarea { resize: vertical; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.checkbox input { width: auto; margin-top: .35rem; }

.form-status,
.small { color: var(--emp-muted); font-size: .92rem; }

.check-list { padding-left: 1.2rem; }
.check-list li { margin-bottom: .45rem; }

.form-note { margin-bottom: 1rem; }

.conditional-section {
  margin: 1.25rem 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.conditional-section[hidden] { display: none; }

.conditional-section legend {
  padding: 0 .4rem;
  color: var(--emp-blue);
  font-weight: 850;
}

.estimate-box {
  margin-top: .75rem;
  padding: 1rem;
  border-left: 4px solid var(--emp-green);
  background: rgba(46, 125, 50, .08);
}

.estimate {
  margin-bottom: .45rem;
  color: var(--emp-blue);
  font-weight: 850;
}

.summary-panel {
  max-width: 960px;
  margin-top: 1.25rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--emp-white);
  box-shadow: var(--shadow);
}

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

.summary-panel dl {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
  gap: .65rem 1rem;
  margin: 1rem 0 0;
}

.summary-panel dt {
  color: var(--emp-blue);
  font-weight: 850;
}

.summary-panel dd { margin: 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  background: #071524;
  color: rgba(255, 255, 255, .86);
}

.site-footer a { margin-right: 1rem; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; align-items: center; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .65rem 1rem 1rem;
    background: var(--emp-white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .7rem 0; }
}

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .cards,
  .cards--wide,
  .grid-two,
  .form-grid,
  .summary-panel dl { grid-template-columns: 1fr; }
  .site-footer { display: block; }
}


/* SEO pack v0.4.2 — Footer compact, consentement et hero thématique */
.site-footer--compact {
  display: block;
  padding: 1.05rem clamp(1rem, 5vw, 4rem);
}

.site-footer--compact p {
  margin: .18rem 0;
}

.site-footer--compact .footer-main,
.site-footer--compact .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  flex-wrap: wrap;
}

.site-footer--compact .footer-bottom {
  margin-top: .5rem;
  padding-top: .55rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .92rem;
}

.site-footer--compact nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .85rem;
}

.site-footer--compact a {
  margin-right: 0;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: 1rem;
}

.checkbox input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: .22rem 0 0;
  accent-color: var(--emp-yellow);
}

.checkbox span {
  line-height: 1.45;
  font-weight: 650;
}

.hero,
.page-hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(11,31,51,.90), rgba(18,58,90,.76)),
    linear-gradient(45deg, rgba(246,195,67,.14), transparent 58%);
}

.hero__content,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.hero--home { background-image: url("../img/hero-home.webp"); }
.page-hero--services { background-image: url("../img/hero-services.webp"); }
.page-hero--solaire { background-image: url("../img/hero-solaire.webp"); }
.page-hero--generatrice { background-image: url("../img/hero-generatrice.webp"); }
.page-hero--soumission { background-image: url("../img/hero-soumission.webp"); }
.page-hero--contact { background-image: url("../img/hero-contact.webp"); }
.page-hero--a-propos { background-image: url("../img/hero-a-propos.webp"); }
.page-hero--realisations { background-image: url("../img/hero-realisations.webp"); }

@media (max-width: 760px) {
  .site-footer--compact .footer-main,
  .site-footer--compact .footer-bottom {
    display: block;
  }

  .site-footer--compact nav {
    margin: .5rem 0;
  }
}
