/* ============================================================
   HOME — Neo Energie
   Styles spécifiques à la home commune (Pros + Particuliers)
   Charge en plus de lp-pac-v2.css
   ============================================================ */

/* ---------- HERO placeholder visual ---------- */
.home-hero-visual {
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(204, 244, 7, 0.08), transparent 60%),
    linear-gradient(180deg, #0D2440 0%, #081A2D 100%);
}
.home-hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px;
}
.home-hero-ph-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 380px;
}
.home-hero-ph-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  transition: border-color var(--t-fast) var(--ease-out);
}
.home-hero-ph-tile:hover {
  border-color: rgba(204, 244, 7, 0.4);
}
.home-hero-ph-caption {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

/* ---------- CTA outline jaune-vert (Pro) ---------- */
.home-cta-pro {
  border: 1.5px solid var(--neo-lime);
  color: var(--neo-lime);
  background: transparent;
}
.home-cta-pro:hover {
  background: rgba(204, 244, 7, 0.08);
  border-color: var(--neo-lime);
  color: var(--neo-lime);
}

/* ---------- Pros section: 3 cards ---------- */
.home-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.home-pro-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--t-med) var(--ease-out);
}
.home-pro-card:hover {
  border-color: rgba(204, 244, 7, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6);
}
.home-pro-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(204, 244, 7, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.home-pro-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.home-pro-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
}
.home-pro-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding: 12px 0 0;
  border-top: 1px solid var(--hairline);
  margin-top: auto;
}
.home-pro-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neo-lime);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap var(--t-fast) var(--ease-out);
}
.home-pro-cta:hover { gap: 10px; }
.home-pro-cta .btn-arrow {
  transition: transform var(--t-fast) var(--ease-out);
}
.home-pro-cta:hover .btn-arrow { transform: translateX(2px); }

.home-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- Particuliers: 1 grosse card ---------- */
.home-part-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(8, 26, 45, 0.25);
  margin-top: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.home-part-photo {
  position: relative;
  background:
    linear-gradient(135deg, #E8EDE5 0%, #D4DDCC 100%);
  min-height: 460px;
}
.home-part-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.home-part-photo-placeholder span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(8, 26, 45, 0.45);
}
.home-part-body {
  padding: 56px 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-part-body h3 {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 14px;
  color: #1a1a1a;
  letter-spacing: -0.015em;
}
.home-part-sub {
  font-size: 16px;
  color: #555;
  margin: 0 0 28px;
  font-weight: 500;
}
.home-part-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-part-bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: #2a2a2a;
  line-height: 1.4;
}
.home-part-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--neo-lime);
  flex-shrink: 0;
}
.home-part-note {
  font-size: 13px;
  color: #888;
  margin: 20px 0 0;
  line-height: 1.5;
}

/* ---------- Why Neo: 3 piliers ---------- */
.home-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.home-pillar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0;
}
.home-pillar-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(204, 244, 7, 0.1);
  border: 1px solid rgba(204, 244, 7, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.home-pillar h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.home-pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}

/* ---------- Key numbers ---------- */
.home-keynumbers {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(13, 58, 102, 0.5), transparent 70%),
    var(--neo-blue-night);
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.home-stat {
  text-align: center;
  padding: 32px 16px;
  border-left: 1px solid var(--hairline);
}
.home-stat:first-child { border-left: 0; }
.home-stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  line-height: 1;
  color: var(--neo-lime);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.home-stat-num.is-small {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
}
.home-stat-lbl {
  font-size: 14px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ---------- Btn ghost variant for light section ---------- */
.btn-ghost-light {
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid rgba(8, 26, 45, 0.2);
}
.btn-ghost-light:hover {
  background: rgba(8, 26, 45, 0.04);
  border-color: var(--neo-blue-night);
}

/* ---------- Final CTA: 2 boutons côte à côte ---------- */
.final-ctas .btn-ghost {
  border-color: var(--neo-lime);
  color: var(--neo-lime);
}
.final-ctas .btn-ghost:hover {
  background: rgba(204, 244, 7, 0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .home-pro-grid { grid-template-columns: 1fr; }
  .home-pillars { grid-template-columns: 1fr; gap: 28px; }
  .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .home-stat { border-left: 0; border-top: 1px solid var(--hairline); padding: 24px 16px; }
  .home-stat:nth-child(-n+2) { border-top: 0; }
  .home-part-card { grid-template-columns: 1fr; }
  .home-part-photo { min-height: 280px; }
  .home-part-body { padding: 36px 28px; }
  .home-hero-ph-grid { max-width: 320px; }
}

@media (max-width: 560px) {
  .home-stats-grid { grid-template-columns: 1fr; }
  .home-stat { border-top: 1px solid var(--hairline); }
  .home-stat:first-child { border-top: 0; }
  .home-hero-ph-tile { padding: 16px 12px; font-size: 12px; }
  .final-ctas { flex-direction: column; }
  .final-ctas .btn { width: 100%; justify-content: center; }
}
