:root{
  --font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --text: #1c1c1c;
  --muted: rgba(28,28,28,.72);
  --accent: #f05a28;
  --bg: #fff;
  --alt: #f7f9fc;
  --radius: 16px;
  --shadow: 0 18px 36px rgba(0,0,0,.12);
  --container: 1200px;
  --gutter: 24px;
}

.offer-hub{
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

.offer-hub .container{
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.offer-hub .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration:none;
  border: 2px solid transparent;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.offer-hub .btn:active{ transform: translateY(1px); }

.offer-hub .btn--primary{ background: var(--accent); color:#fff; }
.offer-hub .btn--primary:hover{ filter: brightness(.96); }

.offer-hub .btn--ghost{
  background: #fff;
  color: var(--text);
  border-color: rgba(0,0,0,.12);
}
.offer-hub .btn--ghost:hover{ background: rgba(0,0,0,.02); }

/* HERO */
.offer-hero{
  position: relative;
  padding: 70px 0 46px;
  text-align: center;
  overflow: hidden;

  /* Fond avec image + voile clair + dégradé */
  background:
    linear-gradient(
      rgba(255,255,255,0.7),
      rgba(255,255,255,0.9)
    ),
    url("../../images/hero/famille-heureuse.webp") center / cover no-repeat,
    radial-gradient(900px 280px at 50% 0%, rgba(240,90,40,.10), transparent 30%),
    linear-gradient(180deg, #fff 0%, var(--alt) 100%);
}

.offer-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.94));
  pointer-events: none;
}

.offer-hero > .container{
  position: relative;
  z-index: 1;
}

.offer-hero__kicker{
  margin: 0 0 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 12px;
  color: rgba(28,28,28,.76);
}

.offer-hero__title{
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(32px, 4vw, 54px);
}

.offer-hero__subtitle{
  margin: 0 auto 18px;
  max-width: 70ch;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(28,28,28,.82);
}

.offer-hero__actions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.offer-hero__trust{
  display: none;
}
.offer-hero__note{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(28,28,28,.58);
}

/* SECTION */
.offer-section{
  padding: 72px 0;
}

.offer-section__header{
  text-align: center;
  margin-bottom: 26px;
}

.offer-section__title{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
}

.offer-section__subtitle{
  margin: 0 auto;
  max-width: 80ch;
  color: var(--muted);
  font-weight: 700;
}

/* GRID */
.offer-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 26px;
}

/* CARD */
.offer-card{
  display:block;
  text-decoration:none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.offer-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,.10);
}

.offer-card__media{
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* voile de lisibilité + petite touche brand */
.offer-card__media::after{
  content:"";
  position:absolute;
  left: 23px;
  top: 23px;
  width: 25px;
  height: 25px;
  z-index: 2;
	}
.offer-card__media::before{
  content:"";
  position:absolute;
  left: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(240,90,40,.95);
  box-shadow: 0 10px 18px rgba(240,90,40,.25);
  z-index: 1;
}


/* contenu */
.offer-card__body{
  padding: 16px 16px 18px;
}

.offer-card__title{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 18px;
  line-height: 1.2;
}

.offer-card__text{
  margin: 0 0 12px;
  color: rgba(28,28,28,.75);
  line-height: 1.55;
}

.offer-card__cta{
  font-weight: 900;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fonds de tuiles avec pictogrammes locaux */
.offer-card__media--how{
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.16)),
    url("../../images/cards/comment-ca-marche-etapes.jpg") center / cover no-repeat;
}
.offer-card__media--amount{
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.16)),
    url("../../images/cards/renovation-budget.jpg") center / cover no-repeat;
}
.offer-card__media--elig{
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.16)),
    url("../../images/cards/conditions-eligibilite-dossier.jpg") center / cover no-repeat;
}
.offer-card__media--forwho{
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.16)),
    url("../../images/cards/pour-qui-famille.jpg") center / cover no-repeat;
}
.offer-card__media--cee{
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.16)),
    url("../../images/cards/certificats-economies-energie-facture.jpg") center / cover no-repeat;
}
.offer-card__media--works{
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.16)),
    url("../../images/cards/travaux-vehicules-eligibles.jpg") center / cover no-repeat;
}
.picto-how::after{
  background-image: url("../../images/icons/how.svg");
}
.picto-amount::after{
  background-image: url("../../images/icons/amount.svg");
}
.picto-elig::after{
  background-image: url("../../images/icons/elig.svg");
}
.picto-forwho::after{
  background-image: url("../../images/icons/forwho.svg");
}
.picto-cee::after{
  background-image: url("../../images/icons/cee.svg");
}
.picto-works::after{
  background-image: url("../../images/icons/works.svg");
}

/* Bottom CTA */
.offer-bottom-cta{
  margin-top: 26px;
  border-radius: var(--radius);
  background: #1f2d53;
  color: #fff;
  padding: 18px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.offer-bottom-cta__text{
  display:flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 800;
}
.offer-bottom-cta__text span{
  font-weight: 700;
  opacity: .9;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 991px){
  .offer-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .offer-bottom-cta{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px){
  .offer-grid{ grid-template-columns: 1fr; }
  .offer-hero__actions .btn{ width: 100%; }
}
