/* ============================================================
   FRANCE HABITAT CONSEIL — index.css
   Styles spécifiques à la page d'accueil uniquement
   ============================================================ */

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding-top: 64px; /* hauteur nav */
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.hero-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: clamp(80px, 18vw, 220px);
  color: rgba(245, 158, 11, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  padding: 5px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 50px;
}

.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .hl { color: var(--amber); }

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Cards services dans le hero */
.hero-service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: all 0.25s;
}

.hero-service-card:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateX(6px);
}

.hsc-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hsc-ico.solar { background: rgba(245, 158, 11, 0.15); }
.hsc-ico.pac   { background: rgba(5, 150, 105, 0.15); }
.hsc-ico.dest  { background: rgba(30, 64, 175, 0.3); }

.hsc-title { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--white); margin-bottom: 3px; }
.hsc-sub   { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); }
.hsc-arrow { color: rgba(255, 255, 255, 0.25); font-size: 1rem; margin-left: auto; transition: color 0.2s; }
.hero-service-card:hover .hsc-arrow { color: var(--amber); }

.hero-right { display: flex; flex-direction: column; gap: 14px; }

.hero-note {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-note strong { color: rgba(255, 255, 255, 0.8); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--amber);
  padding: 28px 0;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-num { font-family: 'Clash Display', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-lbl { font-size: 0.75rem; color: rgba(12, 27, 51, 0.65); margin-top: 4px; font-weight: 500; }

/* ── SECTION SERVICES ── */
.services-section { background: var(--white); padding: var(--section-py) 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.sc-top { padding: 36px 28px 28px; position: relative; }
.sc-top.solar { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.sc-top.pac   { background: linear-gradient(135deg, #064E3B 0%, #065F46 100%); }
.sc-top.dest  { background: linear-gradient(135deg, #1E3A5F 0%, #2D5282 100%); }

.sc-ico-big   { font-size: 2.8rem; margin-bottom: 18px; display: block; }
.sc-title     { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }
.sc-short     { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }
.sc-tag       { display: inline-block; margin-top: 14px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; padding: 4px 10px; border-radius: 50px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); }

.sc-bottom {
  background: var(--cream);
  border: 1px solid rgba(12, 27, 51, 0.07);
  border-top: none;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc-bottom-text { font-family: 'Clash Display', sans-serif; font-size: 0.82rem; font-weight: 600; color: var(--navy); }

.sc-arrow-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  transition: background 0.2s;
}

.service-card:hover .sc-arrow-btn { background: var(--amber); }

/* ── SECTION POURQUOI ── */
.why-section { background: var(--cream); padding: var(--section-py) 0; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 52px;
}

.why-visual {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.wm-val   { font-family: 'Clash Display', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--amber); line-height: 1; flex-shrink: 0; min-width: 80px; }
.wm-text  { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); line-height: 1.5; }

.why-list { display: flex; flex-direction: column; gap: 20px; }

.why-item { display: flex; gap: 14px; align-items: flex-start; }

.wi-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.wi-title { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; }
.wi-desc  { font-size: 0.82rem; color: var(--slate); line-height: 1.6; }

/* ── SECTION AIDES ── */
.aides-section { background: var(--navy); padding: var(--section-py) 0; }
.aides-section h2 { color: var(--white); }
.aides-section .section-lead { color: rgba(255, 255, 255, 0.55); }
.aides-section .eyebrow { color: var(--amber); }

.aides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.aide-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 20px;
  transition: all 0.25s;
}

.aide-chip:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}

.aide-chip-ico  { font-size: 1.6rem; margin-bottom: 10px; display: block; }
.aide-chip-name { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 0.88rem; color: var(--white); margin-bottom: 4px; }
.aide-chip-val  { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--amber); margin-bottom: 6px; }
.aide-chip-desc { font-size: 0.76rem; color: rgba(255, 255, 255, 0.4); line-height: 1.5; }

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

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  position: relative;
}

.process-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5%); right: calc(12.5%);
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--amber) 0, var(--amber) 6px,
    transparent 6px, transparent 14px
  );
  z-index: 0;
}

.pstep {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.pstep-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--amber);
  margin: 0 auto 16px;
}

.pstep-title { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.pstep-desc  { font-size: 0.78rem; color: var(--slate); line-height: 1.6; }

/* ── TÉMOIGNAGES ── */
.testi-section { background: var(--cream); padding: var(--section-py) 0; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testi-card {
  background: var(--white);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(12, 27, 51, 0.07);
  box-shadow: var(--shadow-sm);
}

.stars { color: var(--amber); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi-text { font-size: 0.84rem; color: var(--slate); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 10px; }

.tav {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy);
  flex-shrink: 0;
}

.tname { font-weight: 600; font-size: 0.82rem; color: var(--navy); }
.tloc  { font-size: 0.72rem; color: var(--slate); }

/* ── CTA FINAL ── */
.cta-section {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  padding: var(--section-py) 0;
  text-align: center;
}

.cta-section h2 { color: var(--navy); }
.cta-section p  { color: rgba(12, 27, 51, 0.7); max-width: 480px; margin: 14px auto 32px; font-size: 0.95rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE INDEX ── */
@media (max-width: 900px) {
  .hero .container   { grid-template-columns: 1fr; gap: 36px; }
  .services-grid     { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .why-grid          { grid-template-columns: 1fr; }
  .process-row       { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-row::before { display: none; }
  .testi-grid        { grid-template-columns: 1fr; }
}
