/* ============================================================
   FRANCE HABITAT CONSEIL — pac.css
   Styles spécifiques à la page pompes à chaleur
   ============================================================ */

:root {
  --pac:       #0D9488;
  --pac-deep:  #0F766E;
  --pac-light: #CCFBF1;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 50%, #047857 100%);
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }

h1 { color: var(--white); margin-bottom: 20px; }
h1 .accent { color: #5EEAD4; }

.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 460px; margin-bottom: 34px; }
.hero-kpis { display: flex; gap: 28px; flex-wrap: wrap; }
.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi-val { font-family: 'Clash Display', sans-serif; font-size: 1.9rem; font-weight: 700; color: #5EEAD4; line-height: 1; }
.kpi-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.45); }

/* Surcharge couleurs formulaire */
.prog-seg.active { background: var(--pac); }
.fld input:focus, .fld select:focus { border-color: var(--pac); }
.opt:hover { border-color: var(--pac); background: var(--pac-light); }
.opt.sel   { border-color: var(--pac); background: var(--pac-light); }
.opt.sel::after { color: var(--pac-deep); }

.btn-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--pac), var(--pac-deep));
  color: var(--white);
  font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 0.95rem;
  border: none; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(13,148,136,0.4);
  transition: all 0.2s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,148,136,0.5); }

/* Trust bar */
.trust-bar { background: #064E3B; padding: 18px 0; border-top: 1px solid rgba(13,148,136,0.2); }
.trust-bar .container { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-bar .t-ico { background: rgba(13,148,136,0.2); border-color: rgba(13,148,136,0.3); }

/* ── SECTIONS ── */
.comparatif-section { background: var(--white); padding: var(--section-py) 0; }

.aides-pac-section {
  background: linear-gradient(135deg, #064E3B, #0C1B33);
  padding: var(--section-py) 0;
}
.aides-pac-section h2         { color: var(--white); }
.aides-pac-section .section-lead { color: rgba(255,255,255,0.55); }
.aides-pac-section .eyebrow   { color: #5EEAD4; }

.types-pac-section { background: var(--cream); padding: var(--section-py) 0; }
.faq-pac-section   { background: var(--white); padding: var(--section-py) 0; }

.cta-banner {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--pac), var(--pac-deep));
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,0.75); max-width: 480px; margin: 14px auto 32px; font-size: 0.95rem; }

/* ── COMPARATIF ── */
.comp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.comp-card { border-radius: 18px; overflow: hidden; border: 1px solid rgba(12,27,51,0.08); }
.comp-head { padding: 22px 20px; text-align: center; }
.comp-head.old     { background: #F1F5F9; }
.comp-head.pac-air { background: linear-gradient(135deg,#064E3B,#065F46); }
.comp-head.pac-eau { background: linear-gradient(135deg,#0C1B33,#1E3A5F); }
.comp-ico   { font-size: 2rem; margin-bottom: 10px; display: block; }
.comp-title { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.comp-head.old .comp-title { color: var(--slate); }
.comp-head.pac-air .comp-title, .comp-head.pac-eau .comp-title { color: var(--white); }
.comp-subtitle { font-size: 0.75rem; }
.comp-head.old .comp-subtitle { color: var(--slate); }
.comp-head.pac-air .comp-subtitle, .comp-head.pac-eau .comp-subtitle { color: rgba(255,255,255,0.6); }
.comp-body { padding: 20px; background: var(--white); }
.comp-row  { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(203,213,225,0.4); font-size: 0.82rem; }
.comp-row:last-child { border: none; }
.comp-row .label { color: var(--slate); }
.comp-row .val.bad  { font-weight: 600; color: var(--red); }
.comp-row .val.good { font-weight: 600; color: var(--green); }

/* ── AIDES ── */
.aides-pac-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 16px; margin-top: 48px; }
.aide-pac-card { border-radius: 16px; padding: 24px; border: 1px solid; }
.aide-pac-card.ok   { background: rgba(5,150,105,0.08);  border-color: rgba(5,150,105,0.2); }
.aide-pac-card.cond { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); }
.aide-pac-card.no   { background: rgba(220,38,38,0.08);  border-color: rgba(220,38,38,0.2); }
.aide-pac-name   { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--white); margin-bottom: 6px; }
.aide-pac-amount { font-family: 'Clash Display', sans-serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.aide-pac-amount.ok    { color: #34D399; }
.aide-pac-amount.amber { color: #FCD34D; }
.aide-pac-amount.red   { color: #FCA5A5; }
.aide-pac-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── TYPES ── */
.types-pac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.type-pac-card { background: var(--white); border-radius: 18px; padding: 28px; border: 1px solid rgba(12,27,51,0.08); box-shadow: var(--shadow-sm); }
.type-pac-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.type-pac-ico  { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.type-pac-ico.air-air { background: #FEF3C7; }
.type-pac-ico.air-eau { background: var(--pac-light); }
.type-pac-ico.geo     { background: #EDE9FE; }
.type-pac-ico.vmc     { background: #FEF2F2; }
.type-pac-title    { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); }
.type-pac-subtitle { font-size: 0.75rem; color: var(--slate); }
.type-pac-desc { font-size: 0.83rem; color: var(--slate); line-height: 1.65; margin-bottom: 14px; }
.type-specs { display: flex; flex-direction: column; gap: 8px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; padding: 6px 0; border-bottom: 1px solid rgba(203,213,225,0.4); }
.spec-row:last-child { border: none; }
.spec-label { color: var(--slate); }
.spec-val   { font-weight: 600; color: var(--navy); }
.spec-val.green { color: var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .comp-grid      { grid-template-columns: 1fr; }
  .types-pac-grid { grid-template-columns: 1fr; }
}
