/* home.css — Styles spécifiques à la page d'accueil. */

/* ===== Hero ===== */
.hero { background: var(--navy); color: #fff; max-width: none; padding: 0; }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 6rem 1.5rem 5rem; }
.hero h1 { font-size: 52px; max-width: 900px; color: #fff; }
.hero h1 .accent { color: var(--teal); }
.hero p { font-size: 20px; color: #C7D0DB; max-width: 680px; margin-top: 24px; font-weight: 300; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-tag { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 20px; border: 0.5px solid rgba(255, 255, 255, 0.25); color: #C7D0DB; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ===== Bandeau logos (accueil : pas de bordure haute) ===== */
.hero + .logos-band { border-top: none; }

/* ===== Grille problèmes ===== */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 44px; }
.problem-card { border: 0.5px solid var(--border); border-radius: 16px; padding: 28px; background: #fff; }
.problem-card .num { font-size: 13px; font-weight: 700; color: var(--teal-mid); margin-bottom: 12px; }
.problem-card h3 { font-size: 19px; margin-bottom: 10px; }
.problem-card p { font-size: 15px; color: var(--slate); font-weight: 300; }

/* ===== Offres ===== */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.offer-card { border: 0.5px solid var(--border); border-radius: 16px; padding: 36px; background: #fff; display: flex; flex-direction: column; }
.offer-card .tag { align-self: flex-start; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-mid); background: var(--teal-light); padding: 5px 12px; border-radius: 6px; margin-bottom: 18px; }
.offer-card h3 { font-size: 24px; margin-bottom: 14px; }
.offer-card .promise { font-size: 16px; color: var(--slate); font-weight: 300; margin-bottom: 22px; }
.offer-list { list-style: none; margin-bottom: 28px; }
.offer-list li { font-size: 15px; padding: 9px 0 9px 26px; position: relative; border-top: 0.5px solid var(--border); color: var(--navy); }
.offer-list li:first-child { border-top: none; }
.offer-list li::before { content: "→"; position: absolute; left: 0; color: var(--teal-mid); font-weight: 600; }
.offer-card .offer-cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Stats ===== */
.stats-band { background: var(--navy); max-width: none; padding: 0; }
.stats-inner { max-width: 1280px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.stats-inner .eyebrow { color: var(--teal); }
.stats-inner h2 { color: #fff; font-size: 30px; max-width: 700px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 44px; }
.stat { border-left: 0.5px solid rgba(255, 255, 255, 0.2); padding-left: 20px; }
.stat .val { font-size: 40px; font-weight: 700; color: var(--teal); letter-spacing: -0.03em; line-height: 1; }
.stat .lab { font-size: 14px; color: #C7D0DB; margin-top: 10px; font-weight: 300; }
.stats-foot { font-size: 14px; color: #8A96A5; margin-top: 40px; font-weight: 300; }

/* ===== Comparatif ===== */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.compare-card { border-radius: 16px; padding: 32px; }
.compare-card.without { border: 0.5px solid var(--border); background: var(--light); }
.compare-card.with { border: 0.5px solid var(--teal); background: var(--teal-light); }
.compare-card h3 { font-size: 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.compare-card ul { list-style: none; }
.compare-card li { font-size: 15px; padding: 11px 0 11px 28px; position: relative; border-top: 0.5px solid var(--border); }
.compare-card li:first-child { border-top: none; }
.compare-card.without li::before { content: "✕"; position: absolute; left: 0; color: var(--slate); }
.compare-card.with li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-mid); font-weight: 700; }

/* ===== Cycle ===== */
.cycle { text-align: center; }
.cycle .section-title, .cycle .section-intro { margin-left: auto; margin-right: auto; }
.cycle-loop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 48px; }
.cycle-step { border: 0.5px solid var(--border); border-radius: 12px; padding: 18px 22px; background: #fff; font-size: 15px; font-weight: 500; min-width: 150px; }
.cycle-step .idx { display: block; font-size: 12px; color: var(--teal-mid); font-weight: 700; margin-bottom: 6px; }
.cycle-arrow { color: var(--teal-mid); font-size: 20px; }
.cycle-note { font-size: 15px; color: var(--slate); margin-top: 36px; font-weight: 300; }

/* ===== Témoignages ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.testi-card { border: 0.5px solid var(--border); border-radius: 16px; padding: 30px; background: #fff; display: flex; flex-direction: column; }
.testi-card .quote { font-size: 16px; line-height: 1.6; margin-bottom: 24px; font-weight: 400; }
.testi-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--light); border: 0.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: var(--slate); }
.testi-meta .name { font-size: 15px; font-weight: 600; }
.testi-meta .role { font-size: 13px; color: var(--slate); }

/* ===== Actualités ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.news-card { border: 0.5px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: border-color 0.15s; }
.news-card:hover { border-color: var(--teal); }
.news-thumb { height: 140px; background: var(--light); border-bottom: 0.5px solid var(--border); }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-mid); margin-bottom: 10px; font-weight: 600; }
.news-body h3 { font-size: 18px; margin-bottom: 20px; }
.news-body .read { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--navy); }
.news-body .read::after { content: " →"; color: var(--teal-mid); }

/* ===== Appartenances ===== */
.memberships { text-align: center; border-top: 0.5px solid var(--border); }
.memberships .lab { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); margin-bottom: 24px; font-weight: 500; }
.memberships .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.memberships .row span { font-size: 17px; font-weight: 500; color: var(--navy); }

/* ===== Responsive accueil ===== */
@media (max-width: 900px) {
  .offers, .compare-grid, .testi-grid, .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 768px) {
  .hero-inner { padding: 4rem 1.25rem 3.5rem; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
}
