/* =========================
   Base
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background: #ffffff;
  color: #1f1f1f;
}

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

a {
  color: inherit;
}

main {
  display: block;
}

/* =========================
   Header
========================= */
.site-header {
  background: #ffffff;
}

.site-header__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
}

#logo-mon-comparateur {
  height: 60px;
  width: auto;
}

/* =========================
   Hero
========================= */
.hero-section {
  position: relative;
  background: url('fond-energie-mb.webp') no-repeat center center;
  background-size: cover;
}

.hero-section__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 28px;
}

.hero-content {
  width: 100%;
  text-align: center;
}

.hero-content h1 {
  margin: 10px 0 10px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-content h2{
    font-size: 16px;
    color: #a7d6ff;
}

.hero-subtitle {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  text-align: center;
}

#formulaire {
  margin: 18px auto 0;
  width: 100%;
  max-width: 740px;
}

.form-reassurance-wrap {
  text-align: center;
  margin-top: 12px;
  padding: 0 16px;
}

.form-reassurance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(1, 114, 228, 0.12);
  color: #0172E4;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* =========================
   Logos fournisseurs
========================= */
.providers-section {
  background: #f5f5f7;
  padding: 36px 0 40px;
  overflow: visible;
}

.providers-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.providers-heading {
  margin: 0 auto 24px;
  padding: 0 20px;
  text-align: center;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #0172E4;
  max-width: 980px;
}

.providers-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
  padding: 0 16px;
}

.provider-card {
  width: 100%;
  max-width: 120px;
  height: 86px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #ececf0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-plenitude {
  transform: scale(1.25);
}

.logo-total {
  transform: scale(1.15);
}

.logo-vattenfall {
  transform: scale(1.3);
}

.logo-engie {
  transform: scale(1.35);
}

.logo-octopus {
  transform: scale(1.4);
}

.logo-edf {
  transform: scale(1.05);
}

/* =========================
   Benefits
========================= */
.benefits-section {
  background: #ffffff;
  padding: 56px 20px 60px;
}

.benefits-container {
  max-width: 1280px;
  margin: 0 auto;
}

.benefits-title {
  margin: 0 0 42px;
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #0172E4;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.benefit-item {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.benefit-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #0172E4;
}

.benefit-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
}

/* =========================
   Bloc bleu texte + image
========================= */
.info-highlight-section {
  background: #ffffff;
  padding: 0 20px 40px;
}

.info-highlight-container {
  max-width: 1280px;
  margin: 0 auto;
}

.info-highlight-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background: linear-gradient(135deg, #0172E4 0%, #0a7aef 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(1, 114, 228, 0.12);
}

.info-highlight-text {
  padding: 34px 24px 20px;
}

.info-highlight-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.info-highlight-title {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  text-align: left;
  max-width: 760px;
}

.info-highlight-description {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  line-height: 1.7;
  max-width: 760px;
}

.info-highlight-description:last-of-type {
  margin-bottom: 0;
}

.info-highlight-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 14px 22px;
  background: #ffffff;
  color: #0172E4;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-highlight-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.info-highlight-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-highlight-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.nowrap {
  white-space: nowrap;
}

/* =========================
   Footer
========================= */
.site-footer {
  padding: 24px 16px 32px;
  text-align: center;
  background: #ffffff;
  color: #464646;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #1d4f91;
  text-decoration: underline;
}

/* =========================
   Responsive
========================= */
@media (min-width: 768px) {
  .site-header__inner {
    padding: 12px 24px;
  }

  .hero-section__inner {
    padding: 16px 24px 34px;
  }

  .hero-content h1 {
    font-size: 35px;
    margin: 12px auto 10px;
    max-width: 1000px;
  }

  .hero-content h2{
    font-size: 23px;
    color: #a7d6ff;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .form-reassurance-wrap {
    margin-top: 16px;
    padding: 0;
  }

  .form-reassurance {
    width: auto;
    max-width: none;
    padding: 11px 20px;
    font-size: 14px;
  }

  .providers-section {
    padding: 40px 0 44px;
  }

  .providers-heading {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 28px;
    padding: 0 24px;
  }

  .providers-track {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 24px;
    scroll-snap-type: x proximity;
  }

  .providers-track::-webkit-scrollbar {
    display: none;
  }

  .provider-card {
    flex: 0 0 auto;
    width: 96px;
    max-width: none;
    height: 86px;
    margin: 0;
    padding: 12px;
    scroll-snap-align: start;
  }

  .benefits-section {
    padding: 70px 28px 76px;
  }

  .benefits-title {
    font-size: 34px;
    margin-bottom: 56px;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
  }

  .benefit-item {
    max-width: none;
  }

  .benefit-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
  }

  .benefit-item h3 {
    font-size: 19px;
  }

  .benefit-item p {
    font-size: 15px;
  }

  .info-highlight-section {
    padding: 0 28px 40px;
  }

  .info-highlight-text {
    padding: 44px 36px 0;
  }

  .info-highlight-title {
    font-size: 34px;
    max-width: 820px;
  }

  .info-highlight-description {
    font-size: 17px;
    max-width: 820px;
  }

  .info-highlight-media img {
    max-width: 700px;
  }
}

@media (min-width: 992px) {
  .hero-section {
    background: url('fond-energie.webp') no-repeat center center;
    background-size: cover;
  }

  .hero-section__inner {
    padding: 18px 40px 40px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content h2{
    font-size: 25px;
    color: #a7d6ff;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .form-reassurance-wrap {
    margin-top: 18px;
  }

  .form-reassurance {
    padding: 12px 22px;
    font-size: 15px;
  }

  .providers-track {
    gap: 30px;
    padding: 0 40px;
  }

  .provider-card {
    width: 100px;
    height: 90px;
  }

  .benefits-section {
    padding: 78px 40px 86px;
  }

  .benefits-title {
    font-size: 35px;
    margin-bottom: 70px;
  }

  .benefits-grid {
    gap: 60px;
  }

  .benefit-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
  }

  .benefit-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .benefit-item p {
    font-size: 16px;
  }

  .info-highlight-section {
    padding: 0 32px 40px;
  }

  .info-highlight-text {
    padding: 48px 40px 0;
  }

  .info-highlight-title {
    font-size: 36px;
    max-width: 900px;
  }

  .info-highlight-description {
    font-size: 17px;
    max-width: 900px;
  }

  .info-highlight-media img {
    max-width: 700px;
  }
}

@media (min-width: 1200px) {
  .info-highlight-section {
    padding: 0 40px 40px;
  }

  .info-highlight-content {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 20px;
  }

  .info-highlight-text {
    padding: 58px 56px;
  }

  .info-highlight-title {
    font-size: 42px;
    max-width: 520px;
  }

  .info-highlight-description {
    max-width: 560px;
    font-size: 16px;
  }

  .info-highlight-media {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .info-highlight-media img {
    max-width: 950px;
    width: 100%;
  }
}

@media (min-width: 328px) and (max-width: 367px) {
  .hero-content h1 {
    font-size: 20px;
    line-height: 1.2;
  }
}