/* Devis Energie BE - affiliation Bobex redesign */
:root {
  --de-navy: #071226;
  --de-navy-2: #0d1c33;
  --de-text: #111827;
  --de-muted: #5d6a7e;
  --de-green: #48a91f;
  --de-green-dark: #2d8113;
  --de-green-soft: #eaf8e5;
  --de-line: #e1e8f1;
  --de-card: #ffffff;
  --de-warm: #fff8ec;
  --de-shadow: 0 18px 50px rgba(7, 18, 38, .12);
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #f7faf7;
  color: var(--de-text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.page-home .main-content {
  background:
    radial-gradient(circle at 78% 4%, rgba(90, 176, 44, .16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f6fbf4 48%, #ffffff 100%);
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.de-topbar {
  background: #050d1a;
  color: #eef7e9;
  font-size: 13px;
  font-weight: 800;
}

.de-topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.de-topbar span + span {
  border-left: 1px solid rgba(255, 255, 255, .2);
  padding-left: 22px;
}

.site-header.de-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(7, 18, 38, .08);
}

.de-nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.de-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.de-logo img {
  width: 220px;
  height: auto;
  display: block;
}

.de-logo .logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.de-main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

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

.nav-menu a {
  color: #0d172a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--de-green-dark);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 4px;
  border: 1px solid transparent;
  padding: 0 24px;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--de-green), var(--de-green-dark));
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(72, 169, 31, .22);
}

.btn-secondary {
  background: #fff;
  color: var(--de-navy) !important;
  border-color: #c9d5e5;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(7, 18, 38, .15);
}

.nav-toggle {
  display: none;
}

.de-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .84) 47%, rgba(255, 255, 255, .58) 100%),
    radial-gradient(circle at 64% 26%, rgba(175, 223, 111, .38), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef7e8 100%);
}

.de-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.42)),
    repeating-linear-gradient(90deg, rgba(8, 35, 24, .035) 0 1px, transparent 1px 76px);
  pointer-events: none;
}

.de-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(300px, .75fr) minmax(340px, 420px);
  gap: 34px;
  align-items: center;
}

.de-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--de-green-soft);
  color: var(--de-green-dark);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 22px;
}

.de-hero h1 {
  margin: 0;
  max-width: 620px;
  color: var(--de-navy);
  font-size: 54px;
  line-height: 1.05;
  font-weight: 900;
}

.de-hero h1 strong,
.de-hero h1 em {
  color: var(--de-green-dark);
  font-style: normal;
}

.hero-subtitle {
  margin: 22px 0 0;
  max-width: 560px;
  color: #233044;
  font-size: 18px;
  line-height: 1.75;
}

.de-hero-usps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
  max-width: 650px;
}

.de-hero-usps span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 18, 38, .08);
  font-size: 13px;
  font-weight: 900;
  color: var(--de-navy);
}

.de-hero-usps b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--de-green);
}

.de-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.de-hero-visual {
  margin: 0;
}

.de-hero-visual img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 28px 40px rgba(20, 77, 18, .18));
}

.de-hero-form .lead-container {
  background: var(--de-navy);
  color: #fff;
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 22px 52px rgba(7, 18, 38, .26);
}

.lead-header h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.lead-header h2 strong {
  color: #79d242;
}

.lead-header p {
  margin: 8px 0 18px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.form-progress {
  margin: 0 0 18px;
}

.progress-bar {
  height: 4px;
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--de-green);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.progress-step {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  font-size: 12px;
  font-weight: 900;
}

.progress-step.active,
.progress-step.completed {
  color: #fff;
  background: var(--de-green);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.form-label {
  display: block;
  margin: 0 0 8px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 900;
}

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

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  background: #fff;
  color: var(--de-navy);
  border-radius: 3px;
  padding: 11px 13px;
  font: 700 14px/1.4 "Manrope", "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.lead-form textarea {
  min-height: 84px;
  resize: vertical;
}

.radio-cards,
.radio-list {
  display: grid;
  gap: 10px;
}

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

.radio-card input,
.radio-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-content,
.radio-item-content {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  font-weight: 900;
  cursor: pointer;
}

.radio-item-content {
  justify-content: flex-start;
  min-height: 46px;
}

.radio-card input:checked + .radio-card-content,
.radio-item input:checked + .radio-item-content {
  background: #fff;
  color: var(--de-navy);
  border-color: #fff;
}

.radio-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--de-green-soft);
  color: var(--de-green-dark);
  font-weight: 900;
}

.form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.form-buttons .btn {
  flex: 1;
  border: 0;
}

.btn-prev,
.btn-secondary.btn-prev {
  background: rgba(255,255,255,.12);
  color: #fff !important;
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.45;
}

.form-checkbox input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.form-checkbox a {
  color: #9ee56f;
}

.lead-benefits {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 800;
}

.benefit-icon {
  color: #9ee56f;
}

.de-partner-note {
  margin: 12px 0 0;
  color: #546174;
  font-size: 12px;
  text-align: center;
}

.de-service-strip {
  margin-top: -16px;
  position: relative;
  z-index: 5;
}

.de-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #fff;
  border: 1px solid var(--de-line);
  border-radius: 8px;
  box-shadow: var(--de-shadow);
}

.de-service-card {
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--de-line);
}

.de-service-card:last-child {
  border-right: 0;
}

.de-service-icon {
  display: block;
  color: var(--de-green);
  font-size: 32px;
  margin-bottom: 12px;
}

.de-service-card h2 {
  margin: 0 0 8px;
  color: var(--de-navy);
  font-size: 15px;
  text-transform: uppercase;
}

.de-service-card p {
  margin: 0 0 18px;
  color: var(--de-muted);
  font-size: 13px;
  line-height: 1.55;
}

.de-service-card a {
  color: var(--de-green-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
}

.de-section {
  padding: 72px 0;
}

.de-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--de-green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.de-section h2,
.de-proof-copy h2,
.de-final-card h2 {
  margin: 0 0 14px;
  color: var(--de-navy);
  font-size: 34px;
  line-height: 1.12;
}

.de-section p {
  color: var(--de-muted);
  font-size: 16px;
  line-height: 1.75;
}

.de-proof-grid {
  display: grid;
  grid-template-columns: .9fr 1fr 1.25fr;
  gap: 28px;
  align-items: stretch;
}

.de-proof-copy,
.de-why-card,
.de-family-card {
  background: #fff;
  border: 1px solid var(--de-line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 14px 38px rgba(7, 18, 38, .08);
}

.de-family-card {
  min-height: 290px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.48)),
    radial-gradient(circle at 80% 20%, rgba(72,169,31,.25), transparent 26%),
    linear-gradient(135deg, #eef8e8, #fff8e7);
}

.de-family-visual {
  width: 100%;
  min-height: 220px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--de-navy);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.66)),
    url("/assets/img/energy-home.svg") center/contain no-repeat;
}

.de-family-visual span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--de-green);
  color: #fff;
  font-weight: 900;
}

.de-family-visual strong,
.de-family-visual small {
  background: rgba(255,255,255,.86);
  padding: 4px 10px;
  border-radius: 999px;
}

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

.de-checks li {
  position: relative;
  padding-left: 30px;
  color: #26354a;
  font-weight: 800;
}

.de-checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--de-green);
  color: #fff;
  font-size: 12px;
}

.de-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.de-step {
  background: #fff;
  border: 1px solid var(--de-line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(7, 18, 38, .07);
}

.de-step span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--de-green);
  color: #fff;
  font-weight: 900;
}

.de-step h3 {
  margin: 18px 0 8px;
  color: var(--de-navy);
  font-size: 20px;
}

.de-local,
.de-cities {
  background: #f2f8ef;
}

.de-local-grid,
.de-pricing-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.de-local .link-section,
.de-cities .link-section {
  padding: 0;
  margin: 0;
}

.de-local .link-section h2,
.de-cities .link-section h2 {
  display: none;
}

.region-links,
.city-links {
  columns: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}

.region-links li,
.city-links li {
  break-inside: avoid;
  margin: 0 0 10px;
}

.region-links a,
.city-links a {
  color: var(--de-navy);
  font-weight: 800;
  text-decoration: none;
}

.region-links a:hover,
.city-links a:hover {
  color: var(--de-green-dark);
}

.de-price-box {
  background: linear-gradient(135deg, var(--de-navy), #14395f);
  color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--de-shadow);
}

.de-price-box span {
  display: block;
  color: #9ee56f;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
}

.de-price-box strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 34px;
  line-height: 1.1;
}

.de-price-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.de-price-box li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.faq-grid {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--de-line);
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 10px 26px rgba(7, 18, 38, .06);
}

.faq-item summary {
  cursor: pointer;
  color: var(--de-navy);
  font-weight: 900;
}

.de-final-cta {
  padding: 68px 0;
  background: linear-gradient(135deg, var(--de-navy), #11345a);
}

.de-final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}

.de-final-card h2 {
  color: #fff;
}

.de-final-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.de-footer {
  background: #06101f;
  color: rgba(255,255,255,.78);
  padding: 48px 0 20px;
}

.de-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 34px;
}

.de-footer img {
  width: 210px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.de-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
}

.de-footer p,
.de-footer small,
.de-footer a,
.de-footer li {
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.7;
}

.de-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.de-footer a {
  text-decoration: none;
}

.de-footer a:hover {
  color: #9ee56f;
}

.de-footer-cta {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(158, 229, 111, .45);
  border-radius: 4px;
  color: #9ee56f !important;
  font-weight: 900;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 28px;
  padding-top: 18px;
}

.affiliate-sticky {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 390px;
  background: rgba(7, 18, 38, .96);
  color: #fff;
  border: 1px solid rgba(158, 229, 111, .24);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(7,18,38,.28);
}

.affiliate-sticky__copy {
  display: grid;
  gap: 2px;
}

.affiliate-sticky__eyebrow {
  color: #9ee56f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.affiliate-sticky__title {
  font-size: 14px;
}

.affiliate-sticky__note {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.affiliate-sticky__button {
  flex: 0 0 auto;
  background: var(--de-green);
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  padding: 10px 13px;
  font-weight: 900;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .de-topbar-inner span:nth-child(3),
  .nav-menu li:nth-child(n+6) {
    display: none;
  }

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

  .de-hero-visual {
    display: none;
  }

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

  .de-service-card:nth-child(3n) {
    border-right: 0;
  }

  .de-proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .de-why-card {
    grid-column: 1 / -1;
  }
}

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

  .de-topbar-inner {
    justify-content: center;
  }

  .de-topbar-inner span:not(:first-child) {
    display: none;
  }

  .de-nav {
    min-height: 72px;
  }

  .de-logo img {
    width: 176px;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--de-line);
    border-radius: 4px;
    background: #fff;
    place-content: center;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--de-navy);
  }

  .nav-menu {
    position: absolute;
    top: 116px;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--de-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--de-shadow);
  }

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

  .nav-menu li:nth-child(n) {
    display: block;
  }

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

  .nav-cta {
    display: none;
  }

  .de-hero {
    padding: 38px 0 24px;
  }

  .de-hero-grid,
  .de-proof-grid,
  .de-local-grid,
  .de-pricing-grid,
  .de-footer-grid {
    grid-template-columns: 1fr;
  }

  .de-hero h1 {
    font-size: 38px;
  }

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

  .de-services {
    grid-template-columns: 1fr;
  }

  .de-service-card {
    border-right: 0;
    border-bottom: 1px solid var(--de-line);
  }

  .de-service-card:last-child {
    border-bottom: 0;
  }

  .de-steps {
    grid-template-columns: 1fr;
  }

  .radio-cards-3 {
    grid-template-columns: 1fr;
  }

  .region-links,
  .city-links {
    columns: 1;
  }

  .de-final-card {
    display: grid;
  }

  .affiliate-sticky {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

@media (max-width: 460px) {
  .de-logo img {
    width: 148px;
  }

  .de-hero h1 {
    font-size: 33px;
  }

  .de-actions,
  .form-buttons {
    display: grid;
  }

  .de-hero-form .lead-container,
  .de-proof-copy,
  .de-why-card,
  .de-family-card,
  .de-step,
  .de-price-box {
    padding: 22px;
  }

  .affiliate-sticky__note {
    display: none;
  }
}
