/* =========================================================
   project-eligible.css
   Complément pour pages "projet éligible" (ex: isolation-combles)
   Dépend de /assets/css/base.css déjà chargé
========================================================= */

/* =========================
   Hero projet
========================= */
.project-page{
  --accent: #f05a28;
  --accent-rgb: 240,90,40;
}

body.theme-isolation,
.project-page.project-page--isolation{
  --accent: #1aa6c8;
  --accent-rgb: 26,166,200;
}

body.theme-chauffage-enr,
.project-page.project-page--chauffage-enr{
  --accent: #f05a28;
  --accent-rgb: 240,90,40;
}

body.theme-renovation-globale,
.project-page.project-page--renovation-globale{
  --accent: #6b6ee8;
  --accent-rgb: 107,110,232;
}

body.theme-mobilite-electrique,
.project-page.project-page--mobilite-electrique{
  --accent: #79b100;
  --accent-rgb: 121,177,0;
}

.project-hero{
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.project-hero__bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/isolation-combles.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.project-hero__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 320px at 88% 12%, rgba(var(--accent-rgb), .22), transparent 46%),
    linear-gradient(180deg, rgba(var(--accent-rgb), .08), transparent 50%);
  pointer-events: none;
}

.project-hero--murs .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/isolation-murs.webp");
  background-size: cover;
  background-position: center;
}

.project-hero--planchers .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/isolation-planchers-bas.webp");
  background-size: cover;
  background-position: center;
}

.project-hero--toiture-terrasse .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/isolation-toiture-terrasse.webp");
  background-size: cover;
  background-position: center;
}

.project-hero--fenetres .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/fenetres.webp");
  background-size: cover;
  background-position: center;
}

.project-hero--vmc-simple .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/vmc-simple-flux.webp");
  background-size: cover;
  background-position: center;
}

.project-hero--vmc-double .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/vmc-double-flux.webp");
  background-size: cover;
  background-position: center;
}

.project-hero--pac-air-eau .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/pac-air-eau-exterieur.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--pac-air-air .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/pac-air-air-interieur.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--pac-eau-eau .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/pac-eau-glycolee-eau.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--reseau-chaleur .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/reseau-chaleur-chantier.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--pac-hybride .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/pac-hybride-exterieur.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--chaudiere-biomasse .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/chaudiere-biomasse-granules-bois.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--chauffage-bois .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/chauffage-bois-independant-insert.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--systeme-solaire .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/systeme-solaire-combine.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--chauffe-eau-thermo .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/chauffe-eau-thermodynamique-installation.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--regulation-eau .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/enr-violet.webp");
  background-size: cover;
  background-position: center;
}

.project-hero--sonde-exterieure .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/chauffage-orange.webp");
  background-size: cover;
  background-position: center;
}

.project-hero--renovation-maison .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/renovation-maison-exterieure-soiree.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--renovation-appartement .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/renovation-appartement-interieur.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--renovation-collectif .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/renovation-collectif-residence.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--voiture-electrique .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/voiture-electrique-charge.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--quadricycle-electrique .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/quadricycle-electrique-ville.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--velo-electrique .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/velo-electrique-parc.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero--utilitaire-electrique .project-hero__bg{
  background:
    linear-gradient(90deg, rgba(18,24,38,.82) 0%, rgba(18,24,38,.42) 55%, rgba(18,24,38,.18) 100%),
    url("../../images/cards/utilitaire-electrique-charge.jpg");
  background-size: cover;
  background-position: center;
}

.project-hero__inner{
  position: relative;
  padding: 74px 0 66px;
}

.project-hero__kicker{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .95;
}

.project-hero__title{
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  font-size: clamp(34px, 4.3vw, 56px);
  max-width: 20ch;
}

.project-hero__lead{
  margin: 0 0 18px;
  font-size: 18px;
  opacity: .95;
  max-width: 70ch;
}

.project-hero__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.project-hero__trust{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.project-hero__trust li{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  opacity: .95;
}

.project-hero__trust li::before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .25);
}

/* =========================
   Blocs "En bref"
========================= */
.quick{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 26px;
}

.quick__card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.quick__title{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick__dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18);
  flex: 0 0 10px;
}

.quick__text{
  margin: 0;
  color: rgba(18,24,38,.72);
  line-height: 1.65;
}

/* =========================
   Image en header de carte
========================= */

.iso-card__image{
  margin: -22px -22px 18px -22px; /* compense le padding de la card */
}

.iso-card__image img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

/* Si carte highlight */
.iso-card.highlight .iso-card__image img{
  filter: saturate(1.05);
}

/* Responsive */

@media (max-width: 991px){
  .iso-card__image img{
    height: 200px;
  }
}

/* =========================
   Split panels (éligibilité / montant)
========================= */
.split{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}

.panel{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.panel__title{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 18px;
}

.panel__lead{
  margin: 0 0 12px;
  color: rgba(18,24,38,.72);
  line-height: 1.65;
}

/* =========================
   Bloc présentation
========================= */
.project-isolation-info{
  position: relative;
}

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

.iso-card{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 26px rgba(0,0,0,.05);
}

.iso-card h3{
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0;
}

.iso-card p{
  margin: 0 0 12px;
  color: rgba(18,24,38,.75);
  line-height: 1.7;
}

.iso-card ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(18,24,38,.75);
  line-height: 1.65;
}

.iso-card li + li{
  margin-top: 8px;
}

.iso-card.highlight{
  background: linear-gradient(
    135deg,
    rgba(var(--accent-rgb), .08),
    rgba(var(--accent-rgb), .04)
  );
  border: 1px solid rgba(var(--accent-rgb), .25);
}

.prime-estimate{
  display: grid;
  gap: 14px;
  margin: 4px 0 18px;
}

.prime-estimate__lead,
.iso-card .prime-estimate__lead{
  margin: 0;
  color: rgba(18,24,38,.76);
  line-height: 1.65;
}

.prime-estimate__copy,
.iso-card .prime-estimate__copy{
  margin: 0;
  color: rgba(18,24,38,.72);
  line-height: 1.65;
}

.prime-estimate strong{
  color: var(--text);
  font-weight: 900;
}

.prime-estimate__note,
.iso-card .prime-estimate__note{
  margin: 0;
  color: rgba(18,24,38,.64);
  font-size: 14px;
  line-height: 1.55;
}

.iso-highlight{
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(var(--accent-rgb), .10);
  border-left: 5px solid var(--accent);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.iso-highlight__icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), .95);
  box-shadow: 0 12px 22px rgba(var(--accent-rgb), .25);
  flex: 0 0 48px;
}

@media (max-width: 991px){
  .iso-grid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   Bloc réglementaire (fond bleu pâle)
========================= */

.project-reglementation{
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), .05),
    rgba(var(--accent-rgb), .08)
  );
  padding: 80px 0;
  position: relative;
}

/* Légère texture subtile */
.project-reglementation::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(255,255,255,.5), transparent 60%);
  pointer-events:none;
}

.reg-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
  margin-top: 36px;
  position: relative;
}

.reg-card{
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}

.reg-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
}

.reg-card h3{
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0;
}

.reg-card ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(18,24,38,.75);
  line-height: 1.7;
}

.reg-card.highlight{
  background: linear-gradient(
    135deg,
    rgba(var(--accent-rgb), .10),
    rgba(var(--accent-rgb), .05)
  );
  border: 1px solid rgba(var(--accent-rgb), .35);
}

/* Responsive */

@media (max-width: 991px){
  .reg-grid{
    grid-template-columns: 1fr;
  }
}
/* checklist */
.checklist{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(18,24,38,.78);
  line-height: 1.55;
}

.checklist li::before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(var(--accent-rgb), .92);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .14);
  margin-top: 6px;
  flex: 0 0 10px;
}

/* callout interne */
.project-callout{
  background: rgba(var(--accent-rgb), .10);
  border: 1px solid rgba(var(--accent-rgb), .20);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
}

.project-callout__badge{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), .95);
  box-shadow: 0 10px 18px rgba(var(--accent-rgb), .25);
  flex: 0 0 36px;
  position: relative;
}

.project-callout__badge::after{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transform: translateX(1px);
}

.project-callout__text{
  margin: 0;
  color: rgba(18,24,38,.78);
  line-height: 1.6;
  font-weight: 700;
}

/* =========================
   Steps projet (différent des steps homepage)
========================= */
.project-steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 26px;
}

.project-step{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 16px 14px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}

.project-step__n{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), .14);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 10px;
}

.project-step__title{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 16px;
  line-height: 1.2;
}

.project-step__text{
  margin: 0;
  color: rgba(18,24,38,.72);
  line-height: 1.55;
}

/* CTA centré */
.center-cta{
  text-align: center;
  margin-top: 22px;
}

.center-cta__micro{
  margin: 10px 0 0;
  color: rgba(18,24,38,.62);
  font-weight: 700;
  font-size: 13px;
}

/* =========================
   FAQ locale (version compacte)
========================= */
.project-faq{
  max-width: 900px;
  margin: 26px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-faq details{
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.project-faq details:hover{
  border-color: rgba(var(--accent-rgb), .35);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.project-faq summary{
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.project-faq summary::-webkit-details-marker{ display: none; }

.project-faq summary::after{
  content:"";
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: 0 0 auto;
}

.project-faq details[open] summary::after{
  transform: rotate(225deg);
}

.project-faq__content{
  padding: 0 20px 18px;
  color: rgba(18,24,38,.72);
  line-height: 1.7;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* =========================
   Responsive
========================= */
@media (max-width: 991px){
  .split{ grid-template-columns: 1fr; }
  .quick{ grid-template-columns: 1fr; }
  .project-steps{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px){
  .project-hero__inner{ padding: 56px 0 56px; }
  .project-hero__lead{ font-size: 16px; }
  .project-hero__cta{ flex-direction: column; align-items: stretch; }
  .project-steps{ grid-template-columns: 1fr; }
}
