:root {
  --ink: #17212b;
  --muted: #5f6f80;
  --brand: #2856a3;
  --brand-2: #123f7b;
  --accent: #29b34a;
  --accent-2: #b9f2c6;
  --wilson: #174f95;
  --warning: #f5a623;
  --surface: #ffffff;
  --soft: #f3f8f6;
  --line: #dfe7ea;
  --shadow: 0 18px 45px rgba(16, 33, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--surface);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 59, 80, 0.98);
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 25, 35, 0.18);
}

.header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--brand);
  font-weight: 800;
}

.logo-text {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  padding: 26px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}

.nav-menu a:hover {
  transform: translateY(-1px);
}

.nav-menu .nav-cta {
  min-height: 38px;
  padding: 9px 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #092417;
  box-shadow: 0 0 0 rgba(41, 179, 74, 0);
  animation: cta-pulse 2.6s ease-in-out infinite;
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta.active {
  color: #092417;
  border-bottom-color: transparent;
  filter: brightness(1.04);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 63, 123, 0.96), rgba(40, 86, 163, 0.82)),
    radial-gradient(circle at 78% 28%, rgba(41, 179, 74, 0.28), transparent 30%),
    linear-gradient(135deg, #123f7b, #2856a3);
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  opacity: 0.95;
  padding: 28px;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.energy-ball-canvas {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  opacity: 0.85;
  z-index: 1;
  mix-blend-mode: screen;
}

.hero-inner {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 54px;
  padding: 64px 0;
  position: relative;
  z-index: 2;
}

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

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.hero-media img {
  width: 100%;
  height: clamp(300px, 38vw, 430px);
  object-fit: contain;
  object-position: center;
  padding: 14px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.14rem;
}

.lead {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  max-width: 610px;
}

.hero-points {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

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

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: #16212b;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(41, 179, 74, 0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  animation: cta-sheen 3.4s ease-in-out infinite;
}

.btn:hover {
  filter: brightness(0.96);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(41, 179, 74, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--brand);
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(41, 179, 74, 0);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(41, 179, 74, 0.15);
  }
}

@keyframes cta-sheen {
  0%, 55% {
    transform: translateX(-130%) skewX(-18deg);
  }

  80%, 100% {
    transform: translateX(130%) skewX(-18deg);
  }
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(255, 255, 255, 0.05) 32px 33px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.generator-graphic {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 54px;
  height: 178px;
  border: 10px solid #eaf0f2;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #cbd8dd);
  box-shadow: 0 26px 0 rgba(0, 0, 0, 0.18);
}

.generator-graphic::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 34px;
  width: 96px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--brand);
  box-shadow: 142px 0 0 #263846, 252px 0 0 var(--accent);
}

.generator-graphic::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: -42px;
  height: 18px;
  border-radius: 18px;
  background: #263846;
  box-shadow: -8px 34px 0 #111b23, 260px 34px 0 #111b23;
}

.solar-graphic {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 48px;
  height: 210px;
}

.solar-graphic::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 128px;
  border: 8px solid #eaf0f2;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 100, 111, 0.95), rgba(13, 59, 80, 0.95)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 255, 255, 0.35) 70px 72px),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 255, 255, 0.35) 42px 44px);
  transform: skewY(-7deg);
  box-shadow: 0 28px 0 rgba(0, 0, 0, 0.18);
}

.solar-graphic::after {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #b9f2c6 0 38%, #29b34a 39% 100%);
  box-shadow: 0 0 42px rgba(41, 179, 74, 0.48);
}

.hero-stat {
  position: absolute;
  left: 26px;
  top: 24px;
  width: 160px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  font-weight: 800;
}

.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p,
.text-muted {
  color: var(--muted);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat-item {
  padding: 24px;
  background: #fff;
}

.stat-item strong {
  display: block;
  color: var(--brand);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

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

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

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

.card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 24px;
  min-height: 100%;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.card.accent-card {
  border-color: rgba(41, 179, 74, 0.34);
  background: linear-gradient(180deg, #fff, #f0faf2);
}

.service-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.service-link:hover {
  color: var(--brand-2);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: rgba(41, 179, 74, 0.15);
  color: var(--brand);
  font-weight: 900;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 58px;
}

.process .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--accent);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

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

.compact-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.compact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.compact-list strong {
  display: block;
  color: var(--brand);
}

.argument-table {
  display: grid;
  gap: 12px;
}

.argument-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.argument-row strong {
  color: var(--brand);
}

.argument-row p {
  margin: 0;
  color: var(--muted);
}

.quote-panel {
  padding: 34px;
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-panel p {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
}

.quote-panel span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

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

.sector-chip {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sector-chip strong {
  display: block;
  color: var(--brand);
}

.sector-chip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.reference-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.reference-strip span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  font-weight: 800;
}

.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(41, 179, 74, 0.34);
  border-radius: var(--radius);
  background: #f0faf2;
}

.cta-inline p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

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

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(16, 33, 43, 0.08);
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  background: #f8fbfb;
}

.project-gallery figcaption {
  padding: 12px 14px;
  color: var(--brand);
  font-weight: 800;
}

.comparison-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--brand);
  background: #f8fbfb;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table td {
  color: var(--muted);
}

.cta-band {
  padding: 38px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.form-card {
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--brand);
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid #cbd8dd;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 3px solid rgba(41, 179, 74, 0.24);
  border-color: var(--accent);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item strong {
  display: block;
  color: var(--brand);
}

.map-frame {
  width: 100%;
  height: 260px;
  margin-top: 22px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
}

.footer {
  padding: 52px 0 24px;
  color: #cbd8dd;
  background: #10212b;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px;
}

.footer h4 {
  margin: 0 0 13px;
  color: #fff;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--accent-2);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #9fb0ba;
}

/* Bouton WhatsApp flottant */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  border: 0;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
  transform: scale(0.95);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  display: block;
}

.whatsapp-btn .whatsapp-initials {
  font-weight: 900;
  letter-spacing: 0;
}

.privacy-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

/* Section des clients */
.clients-showcase {
  text-align: center;
  margin-top: 34px;
}

.clients-image {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(16, 33, 43, 0.1);
}

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

.image-guide-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: stretch;
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.image-guide-card img {
  width: 100%;
  height: 100%;
  min-height: 158px;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  background: #f8fbfb;
  border-radius: var(--radius);
}

.image-guide-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.visual-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.visual-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.visual-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.image-guide-card span {
  display: block;
  margin-top: 12px;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
}

.section-image {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(16, 33, 43, 0.1);
  object-fit: contain;
  object-position: center;
}

/* Images responsives */
@media (max-width: 920px) {
  .hero-image {
    width: 100%;
    position: relative;
    top: auto;
    right: auto;
    height: auto;
    margin-top: 28px;
    padding: 14px;
  }

  .clients-showcase {
    margin-top: 28px;
  }
}

@media (max-width: 920px) {
  .energy-ball-canvas {
    display: none;
  }

  .header .container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 14px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 13px 0;
  }

  .hero-inner,
  .grid-2,
  .grid-3,
  .grid-4,
  .image-guide-grid,
  .project-gallery,
  .stat-strip,
  .sector-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .argument-row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
    padding: 48px 0;
  }

  .hero-visual {
    min-height: 300px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-inline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 52px 0;
  }

  .actions,
  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 240px;
  }

  .generator-graphic {
    left: 7%;
    right: 7%;
    bottom: 42px;
    height: 128px;
  }

  .generator-graphic::before {
    left: 18px;
    top: 25px;
    width: 64px;
    height: 48px;
    box-shadow: 98px 0 0 #263846, 174px 0 0 var(--accent);
  }

  .image-guide-card {
    grid-template-columns: 1fr;
  }

  .image-guide-card img {
    height: 190px;
  }
}

/* Refonte accueil DM APPROTECH */
html {
  scroll-padding-top: 86px;
}

section[id] {
  scroll-margin-top: 86px;
}

.logo-with-image {
  min-width: 230px;
}

.logo-img {
  width: 78px;
  height: 44px;
  object-fit: contain;
  padding: 4px;
  border-radius: var(--radius);
  background: #fff;
}

.header .container {
  gap: 16px;
}

.nav-menu {
  gap: 11px;
}

.nav-menu a {
  font-size: 0.82rem;
  white-space: nowrap;
}

.hero-home {
  min-height: 620px;
  background: #0b2938;
  isolation: isolate;
}

.hero-home .hero-inner {
  min-height: 620px;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.52fr);
  padding: 78px 0;
}

.hero-bg-image,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  opacity: 0.48;
  z-index: 0;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 36, 70, 0.97) 0%, rgba(24, 75, 133, 0.86) 46%, rgba(18, 63, 123, 0.46) 100%),
    linear-gradient(180deg, rgba(12, 36, 70, 0.28), rgba(8, 28, 52, 0.76));
}

.hero-proof {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.monitoring-dashboard {
  align-self: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    rgba(10, 33, 54, 0.5);
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 70px rgba(6, 22, 38, 0.26);
  animation: dashboard-float 5s ease-in-out infinite;
}

.monitoring-dashboard::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(120deg, transparent 35%, rgba(185, 242, 198, 0.2), transparent 65%);
  transform: translateX(-42%);
  animation: dashboard-scan 4.8s ease-in-out infinite;
}

.monitoring-dashboard > * {
  position: relative;
  z-index: 1;
}

.dashboard-head,
.generator-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-head span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-head b,
.generator-status b {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: #082317;
  font-size: 0.78rem;
  line-height: 1;
  padding: 8px 10px;
  animation: live-pulse 1.7s ease-in-out infinite;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.dashboard-metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-metrics strong,
.dashboard-metrics span {
  display: block;
}

.dashboard-metrics strong {
  color: var(--accent-2);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1;
}

.dashboard-metrics span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

.generator-status {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-2);
}

.generator-status strong,
.generator-status span {
  display: block;
}

.generator-status span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.signal-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.signal-lines span {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.signal-lines span::before {
  content: "";
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: signal-grow 2.8s ease-in-out infinite;
}

.signal-lines span:nth-child(2)::before {
  width: 78%;
  animation-delay: 0.2s;
}

.signal-lines span:nth-child(3)::before {
  width: 48%;
  animation-delay: 0.4s;
}

.signal-lines span:nth-child(4)::before {
  width: 90%;
  animation-delay: 0.6s;
}

@keyframes dashboard-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes dashboard-scan {
  0%, 55% {
    transform: translateX(-42%);
  }

  100% {
    transform: translateX(42%);
  }
}

@keyframes live-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(41, 179, 74, 0);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(41, 179, 74, 0.18);
  }
}

@keyframes signal-grow {
  0%, 100% {
    transform: scaleX(0.78);
    transform-origin: left;
  }

  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 1.18rem;
  line-height: 1.22;
}

.hero-brand-stack {
  display: grid;
  gap: 14px;
}

.fg-logo {
  width: 168px;
  max-height: 74px;
  object-fit: contain;
  padding: 10px;
  border-radius: var(--radius);
  background: #fff;
}

.hero-proof span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.mini-metrics div {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.mini-metrics b,
.mini-metrics small {
  display: block;
}

.mini-metrics b {
  color: var(--accent-2);
  font-size: 1.45rem;
  line-height: 1;
}

.mini-metrics small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.home-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 18px;
  align-items: stretch;
}

.home-proof-layout .stat-strip {
  min-height: 100%;
}

.fg-summary-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(40, 86, 163, 0.16);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 33, 43, 0.08);
}

.fg-summary-card .fg-logo {
  width: 138px;
  padding: 6px;
  border: 1px solid var(--line);
}

.fg-summary-card strong {
  color: var(--brand-2);
  font-size: 1.08rem;
  line-height: 1.22;
}

.fg-summary-card > span {
  color: var(--muted);
  font-weight: 700;
}

.fg-summary-card .mini-metrics {
  margin-top: 6px;
}

.fg-summary-card .mini-metrics div {
  background: #eefaf1;
}

.fg-summary-card .mini-metrics b {
  color: var(--brand);
}

.fg-summary-card .mini-metrics small {
  color: var(--muted);
}

.btn-audit {
  background: #2fbf71;
  color: #082317;
}

.btn-secondary-dark {
  background: #fff;
  border-color: rgba(40, 86, 163, 0.22);
  color: var(--brand);
}

.fg-section {
  background:
    linear-gradient(180deg, #fff, #f6fbf8);
}

.fg-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 34px;
  align-items: center;
}

.fg-copy {
  max-width: 650px;
}

.fg-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.fg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.fg-badges span {
  padding: 10px 13px;
  border: 1px solid rgba(41, 179, 74, 0.28);
  border-radius: var(--radius);
  background: #eefaf1;
  color: var(--brand-2);
  font-weight: 900;
}

.fg-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.fg-visual > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.fg-visual figcaption {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  color: var(--muted);
  font-weight: 800;
}

.fg-visual figcaption img {
  width: 96px;
  object-fit: contain;
}

.core-services {
  margin-bottom: 22px;
}

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

.offer-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 33, 43, 0.07);
}

.offer-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.offer-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: #eef8f2;
  color: var(--brand);
  font-size: 1.35rem;
}

.solar-service-panel {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #10212b;
  box-shadow: var(--shadow);
}

.solar-service-panel > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.62;
}

.solar-service-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 33, 43, 0.96), rgba(18, 63, 123, 0.76) 54%, rgba(16, 33, 43, 0.22)),
    linear-gradient(180deg, rgba(16, 33, 43, 0.12), rgba(16, 33, 43, 0.62));
}

.solar-service-copy {
  max-width: 720px;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
}

.solar-service-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.solar-service-copy h3 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.solar-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.solar-service-list span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.project-carousel {
  overflow: hidden;
  border: 1px solid rgba(40, 86, 163, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0, rgba(41, 179, 74, 0.12), transparent 35%),
    linear-gradient(135deg, #f8fbfb, #eef6f7);
  box-shadow: var(--shadow);
  perspective: 1400px;
  padding: clamp(16px, 3vw, 28px);
}

.carousel-stage {
  position: relative;
  height: clamp(440px, 48vw, 590px);
  overflow: hidden;
  perspective: 1400px;
}

.carousel-track {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-slide {
  position: absolute;
  inset: 0 7%;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 62px rgba(16, 33, 43, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, -520px) rotateY(0deg) scale(0.62);
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease, filter 0.65s ease;
  will-change: transform, opacity;
}

.carousel-slide.is-active {
  z-index: 6;
  opacity: 1;
  pointer-events: auto;
  filter: none;
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
}

.carousel-slide.is-prev {
  z-index: 4;
  opacity: 0.5;
  pointer-events: auto;
  cursor: pointer;
  filter: saturate(0.88) brightness(0.92);
  transform: translate3d(-44%, 0, -220px) rotateY(46deg) scale(0.74);
}

.carousel-slide.is-next {
  z-index: 4;
  opacity: 0.5;
  pointer-events: auto;
  cursor: pointer;
  filter: saturate(0.88) brightness(0.92);
  transform: translate3d(44%, 0, -220px) rotateY(-46deg) scale(0.74);
}

.carousel-slide.is-far-prev {
  z-index: 2;
  opacity: 0.22;
  filter: blur(1px) saturate(0.7);
  transform: translate3d(-68%, 0, -420px) rotateY(58deg) scale(0.58);
}

.carousel-slide.is-far-next {
  z-index: 2;
  opacity: 0.22;
  filter: blur(1px) saturate(0.7);
  transform: translate3d(68%, 0, -420px) rotateY(-58deg) scale(0.58);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: #eef3f4;
}

.carousel-slide div {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 46px);
}

.carousel-slide span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eefaf1;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.carousel-slide h3 {
  color: var(--brand);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.carousel-slide p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.carousel-orbit-status {
  display: grid;
  gap: 8px;
  max-width: 320px;
  margin: 16px auto 0;
  color: var(--brand-2);
  font-weight: 900;
  text-align: center;
}

.carousel-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe7ea;
}

.carousel-progress span {
  display: block;
  width: var(--progress, 6%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.45s ease;
}

.video-reel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.video-reel article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 33, 43, 0.07);
}

.video-reel video {
  width: 100%;
  height: 230px;
  background: #091523;
  object-fit: contain;
}

.video-reel div {
  padding: 18px;
}

.video-reel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}

.value-layout blockquote {
  margin: 22px 0 0;
  padding: 24px;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value-item > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2fbf71;
  color: #fff;
  font-weight: 900;
}

.value-item strong {
  color: var(--brand);
}

.value-item p {
  margin: 5px 0 0;
  color: var(--muted);
}

.launch-offer {
  display: grid;
  gap: 18px;
  margin-top: 38px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(13, 59, 80, 0.96), rgba(20, 100, 111, 0.94)),
    linear-gradient(90deg, #0d3b50, #14646f);
  color: #fff;
}

.launch-offer p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.launch-offer small {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

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

.free-grid span {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  font-weight: 800;
}

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

.result-card {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 33, 43, 0.07);
}

.result-card strong,
.result-card span {
  display: block;
}

.result-card strong {
  color: var(--brand);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 0.95;
}

.result-card span {
  margin-top: 13px;
  color: var(--muted);
  font-weight: 800;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.proof-grid article {
  padding: 22px;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  background: #f8fbfb;
}

.proof-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.clients-panel {
  display: grid;
  gap: 24px;
}

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

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 33, 43, 0.07);
}

.stars {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0;
}

.testimonial-card p {
  flex: 1;
  margin: 14px 0 22px;
  color: var(--muted);
  font-weight: 700;
}

.person {
  display: flex;
  gap: 12px;
  align-items: center;
}

.person > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.person strong,
.person small {
  display: block;
}

.person strong {
  color: var(--brand);
}

.person small {
  color: var(--muted);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.audit-funnel-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.audit-funnel-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #eef3f4;
}

.audit-funnel-card > div {
  padding: 24px;
}

.audit-funnel-card p {
  color: var(--muted);
}

.audit-modal[hidden] {
  display: none;
}

.audit-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.audit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 52, 0.72);
  backdrop-filter: blur(5px);
}

.audit-modal-panel {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(92vh, 960px);
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 90px rgba(8, 28, 52, 0.38);
}

.modal-head {
  padding: 28px 30px 0;
}

.modal-head p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.audit-modal-close {
  position: sticky;
  top: 12px;
  left: calc(100% - 54px);
  z-index: 3;
  width: 42px;
  height: 42px;
  margin: 12px 12px -54px auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-2);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(16, 33, 43, 0.12);
}

.audit-modal .form-card {
  border: 0;
  box-shadow: none;
}

.audit-modal .form-group {
  margin-bottom: 12px;
}

.audit-modal .form-group input,
.audit-modal .form-group select {
  min-height: 42px;
}

.audit-modal .form-group textarea {
  min-height: 110px;
}

body.modal-open {
  overflow: hidden;
}

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

.audit-form .btn {
  width: 100%;
  margin-top: 16px;
}

.consent-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.consent-line input {
  margin-top: 4px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--brand);
  font-weight: 800;
}

/* Finition visuelle professionnelle */
:root {
  --ink: #12202d;
  --muted: #607284;
  --brand: #2459a8;
  --brand-2: #0c3a78;
  --accent: #2fbe63;
  --accent-2: #d9f8df;
  --surface: #ffffff;
  --soft: #f2f7f5;
  --line: #dce8e7;
  --shadow: 0 18px 48px rgba(10, 37, 62, 0.13);
}

body {
  background:
    linear-gradient(180deg, #ffffff 0, #f7fbfa 54%, #ffffff 100%);
}

.header {
  background: linear-gradient(90deg, rgba(9, 50, 72, 0.98), rgba(13, 70, 88, 0.98));
  border-bottom: 1px solid rgba(217, 248, 223, 0.16);
}

.header .container {
  min-height: 72px;
}

.logo-img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.nav-menu a {
  opacity: 0.94;
}

.hero-home {
  background: #092840;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 32, 56, 0.98) 0%, rgba(21, 71, 129, 0.86) 48%, rgba(15, 61, 111, 0.42) 100%),
    linear-gradient(180deg, rgba(6, 24, 42, 0.18), rgba(6, 24, 42, 0.8));
}

.hero-bg-image {
  opacity: 0.52;
  filter: saturate(1.08) contrast(1.05);
}

.eyebrow {
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, #f4faf7, #edf5f2);
}

.section-head.center {
  position: relative;
}

.section-head.center::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.card,
.offer-card,
.result-card,
.testimonial-card,
.value-item,
.sector-chip,
.audit-funnel-card,
.fg-summary-card,
.fg-visual,
.video-reel article {
  border-color: rgba(36, 89, 168, 0.12);
  box-shadow: 0 14px 34px rgba(10, 37, 62, 0.08);
}

.card,
.offer-card,
.result-card,
.testimonial-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover,
.offer-card:hover,
.result-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 190, 99, 0.36);
  box-shadow: 0 20px 44px rgba(10, 37, 62, 0.14);
}

.card.accent-card,
.offer-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.98));
}

.offer-icon,
.icon {
  background: linear-gradient(135deg, #ecf8f0, #e9f2ff);
  border: 1px solid rgba(36, 89, 168, 0.08);
}

.stat-strip {
  border-color: rgba(36, 89, 168, 0.12);
  background: rgba(36, 89, 168, 0.12);
  box-shadow: 0 14px 34px rgba(10, 37, 62, 0.07);
}

.stat-item {
  background: linear-gradient(180deg, #fff, #f8fbfa);
}

.stat-item strong,
.result-card strong {
  color: var(--brand);
}

.fg-section {
  background:
    linear-gradient(180deg, #ffffff, #f3faf6);
}

.fg-badges span {
  background: linear-gradient(135deg, #eefaf1, #eef5ff);
}

.monitoring-dashboard {
  border-color: rgba(217, 248, 223, 0.22);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(6, 30, 54, 0.58);
}

.dashboard-metrics div {
  background: rgba(255, 255, 255, 0.13);
}

.btn,
.nav-menu .nav-cta {
  background: linear-gradient(135deg, #31c66a, #25ad55);
}

.btn-secondary-dark {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.solar-service-panel {
  box-shadow: 0 24px 60px rgba(10, 37, 62, 0.18);
}

.project-carousel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 243, 0.98)),
    linear-gradient(90deg, #f8fbfb, #eef6f7);
  border-color: rgba(36, 89, 168, 0.16);
}

.project-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 32%, rgba(47, 190, 99, 0.12) 46%, transparent 62%),
    linear-gradient(180deg, rgba(36, 89, 168, 0.06), transparent 34%);
  animation: carousel-sweep 5.4s ease-in-out infinite;
}

.carousel-stage,
.carousel-orbit-status {
  position: relative;
  z-index: 1;
}

.carousel-slide {
  border-color: rgba(36, 89, 168, 0.14);
  box-shadow: 0 28px 70px rgba(10, 37, 62, 0.18);
  backface-visibility: hidden;
}

.carousel-slide.is-active {
  box-shadow: 0 30px 78px rgba(10, 37, 62, 0.22);
}

.project-carousel.is-spinning .carousel-slide.is-active {
  animation: orbit-pop 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.98));
}

.carousel-slide span {
  background: linear-gradient(135deg, #eaf8ef, #edf4ff);
}

.carousel-progress {
  background: rgba(36, 89, 168, 0.14);
}

.carousel-progress span {
  box-shadow: 0 0 18px rgba(47, 190, 99, 0.38);
}

.launch-offer,
.footer {
  background:
    linear-gradient(135deg, #0b2b46, #0f4a58);
}

.footer {
  border-top: 5px solid var(--accent);
}

.footer h4 {
  color: #fff;
}

.footer a {
  color: #d9f8df;
  font-weight: 700;
}

@keyframes carousel-sweep {
  0%, 45% {
    transform: translateX(-34%);
    opacity: 0.36;
  }

  100% {
    transform: translateX(34%);
    opacity: 0.72;
  }
}

@keyframes orbit-pop {
  0% {
    transform: translate3d(0, 0, -40px) rotateY(-8deg) scale(0.96);
  }

  55% {
    transform: translate3d(0, 0, 12px) rotateY(3deg) scale(1.015);
  }

  100% {
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
  }
}

@media (max-width: 1180px) {
  .logo-with-image {
    min-width: auto;
  }

  .logo-with-image .logo-text {
    display: none;
  }

  .nav-menu {
    gap: 9px;
  }

  .nav-menu a {
    font-size: 0.78rem;
  }
}

@media (max-width: 920px) {
  .hero-home .hero-inner,
  .home-proof-layout,
  .fg-layout,
  .value-layout,
  .contact-layout,
  .offer-grid,
  .carousel-slide,
  .video-reel,
  .free-grid,
  .results-grid,
  .proof-grid,
  .testimonials,
  .compact-sectors {
    grid-template-columns: 1fr;
  }

  .hero-home .hero-inner {
    min-height: 0;
  }

  .hero-bg-image {
    opacity: 0.33;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(9, 32, 43, 0.96), rgba(13, 59, 80, 0.88));
  }

  .hero-proof {
    align-self: stretch;
  }

  .solar-service-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .monitoring-dashboard {
    align-self: stretch;
  }

  .carousel-stage {
    height: 650px;
  }

  .carousel-slide {
    inset: 0 4%;
    grid-template-rows: 280px 1fr;
  }

  .carousel-slide img {
    height: 100%;
  }

}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .logo-img {
    width: 68px;
    height: 40px;
  }

  .header .container {
    position: relative;
    flex-wrap: wrap;
    padding-right: 0;
  }

  .menu-toggle {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed;
    top: 16px;
    right: auto;
    left: min(calc(100vw - 60px), 330px);
    flex: 0 0 44px;
    margin-left: auto;
    border-color: var(--accent);
    background: var(--accent);
    color: var(--brand);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    z-index: 60;
  }

  .nav-menu.active {
    flex-basis: 100%;
    margin-top: 8px;
  }

  h1 {
    font-size: 1.92rem;
    line-height: 1.18;
    overflow-wrap: break-word;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-copy,
  .hero-proof,
  .actions,
  .lead,
  .hero-points,
  .hero-points li {
    min-width: 0;
    max-width: 320px;
    overflow-wrap: break-word;
  }

  .hero-copy,
  .hero-proof,
  .actions {
    width: 100%;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-home .hero-inner {
    padding: 52px 0;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .monitoring-dashboard,
  .fg-summary-card,
  .solar-service-copy {
    padding: 20px;
  }

  .carousel-stage {
    height: 610px;
  }

  .carousel-slide img {
    height: 100%;
  }

  .launch-offer,
  .offer-card,
  .testimonial-card,
  .form-card {
    padding: 20px;
  }

  .fg-visual figcaption {
    grid-template-columns: 1fr;
  }

  .audit-modal {
    padding: 10px;
    align-items: start;
  }

  .audit-modal-panel {
    max-height: calc(100vh - 20px);
  }

  .modal-head {
    padding: 24px 20px 0;
  }

  .audit-modal-close {
    top: 8px;
    margin-top: 8px;
    margin-right: 8px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  main,
  section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container,
  .header .container {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .header {
    backdrop-filter: blur(12px);
  }

  .header .container {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    padding-right: 56px;
  }

  .logo-img {
    width: 82px;
    height: 46px;
  }

  .menu-toggle {
    display: grid !important;
    place-items: center;
    position: absolute !important;
    top: 12px !important;
    right: 0 !important;
    left: auto !important;
    flex: 0 0 44px;
    margin-left: auto;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), #25ad55);
    color: #082317;
    z-index: 100;
  }

  .nav-menu.active {
    margin-top: 8px;
    padding: 10px 0 14px;
  }

  .hero-home {
    min-height: auto;
    background: #061f35;
  }

  .hero-home .hero-inner {
    gap: 24px;
    padding: 44px 0 36px;
  }

  .hero-bg-image {
    top: auto;
    right: -22%;
    bottom: 0;
    width: 132%;
    height: 58%;
    object-fit: contain;
    object-position: right bottom;
    opacity: 0.72 !important;
    filter: saturate(1.14) contrast(1.08);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 22, 38, 0.98) 0%, rgba(7, 31, 52, 0.9) 46%, rgba(7, 31, 52, 0.62) 73%, rgba(7, 31, 52, 0.76) 100%),
      linear-gradient(90deg, rgba(5, 22, 38, 0.95), rgba(5, 22, 38, 0.46));
  }

  .hero-copy,
  .lead,
  .hero-points,
  .hero-points li {
    max-width: 100%;
  }

  .eyebrow,
  .lead,
  .hero-points li,
  .dashboard-metrics span,
  .dashboard-metrics strong,
  .generator-status strong,
  .generator-status span {
    overflow-wrap: anywhere;
  }

  .eyebrow {
    max-width: 28ch;
  }

  .hero-copy::after {
    content: "";
    display: block;
    height: 188px;
    margin: 22px 0 0;
    border: 1px solid rgba(217, 248, 223, 0.2);
    border-radius: var(--radius);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
      url("../images/Hero.png") center / contain no-repeat;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.05),
      0 18px 38px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(2px);
  }

  .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 8.2vw, 2.28rem);
    line-height: 1.12;
    overflow-wrap: normal;
  }

  .lead {
    max-width: 34ch;
    font-size: 1.02rem;
  }

  .hero-points {
    max-width: 34ch;
    gap: 11px;
  }

  .hero-points li {
    font-size: 0.96rem;
  }

  .monitoring-dashboard {
    margin-top: 0;
    padding: 16px;
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
      rgba(6, 30, 54, 0.46);
  }

  .dashboard-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
  }

  .dashboard-head span {
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .dashboard-metrics {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .dashboard-metrics div {
    min-width: 0;
    padding: 12px;
  }

  .dashboard-metrics strong {
    font-size: 1.42rem;
  }

  .dashboard-metrics span {
    font-size: 0.78rem;
  }

  .generator-status {
    align-items: flex-start;
    padding: 12px;
  }

  .signal-lines {
    gap: 6px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .home-proof-layout {
    gap: 12px;
  }

  .stat-strip {
    grid-template-columns: 1fr !important;
  }

  .stat-item {
    min-width: 0;
    min-height: auto;
    padding: 16px;
  }

  .stat-item strong {
    font-size: 1.35rem;
    overflow-wrap: anywhere;
  }

  .stat-item span {
    font-size: 0.86rem;
    overflow-wrap: anywhere;
  }

  .fg-copy,
  .fg-summary-card,
  .offer-card,
  .result-card,
  .testimonial-card,
  .carousel-slide div {
    min-width: 0;
  }

  .fg-copy h2,
  .section-head h2,
  .offer-card h3,
  .result-card span,
  .testimonial-card p {
    overflow-wrap: break-word;
  }

  .fg-copy h2 {
    max-width: 18ch;
  }

  .fg-summary-card,
  .offer-card,
  .testimonial-card,
  .form-card {
    padding: 18px;
  }

  .fg-layout {
    gap: 22px;
  }

  .fg-copy p {
    font-size: 0.98rem;
  }

  .fg-badges {
    gap: 8px;
  }

  .fg-badges span {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .fg-visual > img {
    aspect-ratio: 4 / 3;
  }

  .core-services,
  .offer-grid {
    gap: 14px;
  }

  .solar-service-panel {
    min-height: 540px;
  }

  .solar-service-panel > img {
    top: auto;
    bottom: 0;
    height: 48%;
    opacity: 0.82;
    object-fit: cover;
    object-position: center bottom;
  }

  .solar-service-panel::before {
    background:
      linear-gradient(180deg, rgba(7, 31, 52, 0.98) 0%, rgba(13, 58, 110, 0.86) 46%, rgba(7, 31, 52, 0.4) 74%, rgba(7, 31, 52, 0.66) 100%);
  }

  .solar-service-copy {
    max-width: none;
    padding: 22px;
  }

  .solar-service-list {
    gap: 8px;
  }

  .project-carousel {
    padding: 12px;
  }

  .carousel-stage {
    height: 560px;
  }

  .carousel-slide {
    inset: 0 2%;
    grid-template-rows: 220px 1fr;
  }

  .carousel-slide div {
    padding: 20px;
  }

  .carousel-slide h3 {
    font-size: 1.45rem;
  }

  .carousel-slide p {
    font-size: 0.94rem;
  }

  .carousel-slide.is-prev {
    opacity: 0.34;
    transform: translate3d(-28%, 0, -180px) rotateY(36deg) scale(0.72);
  }

  .carousel-slide.is-next {
    opacity: 0.34;
    transform: translate3d(28%, 0, -180px) rotateY(-36deg) scale(0.72);
  }

  .carousel-slide.is-far-prev,
  .carousel-slide.is-far-next {
    opacity: 0;
  }

  .video-reel {
    gap: 12px;
  }

  .video-reel video {
    height: 185px;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 28px);
  }

  .dashboard-metrics {
    grid-template-columns: 1fr 1fr !important;
  }

  .stat-strip {
    grid-template-columns: 1fr !important;
  }

  .stat-item {
    min-height: auto;
  }

  .carousel-stage {
    height: 535px;
  }

  .carousel-slide {
    grid-template-rows: 205px 1fr;
  }
}
