/* Refonte ciblée de la page d’accueil — identité forêt verte, composants sobres. */
.home-page {
  --home-bg: #07110d;
  --home-panel: #0d1b14;
  --home-line: rgba(190, 221, 198, .14);
  --home-lime: #b8e986;
  --home-muted: #a7b8ac;
  background: radial-gradient(ellipse at 78% 10%, rgba(56, 112, 73, .17), transparent 34%), var(--home-bg);
  color: #eff5ef;
}
.home-page .navbar {
  position: relative;
  z-index: 5;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 76px);
  border-bottom: 1px solid var(--home-line);
  background: rgba(5, 14, 10, .84);
  backdrop-filter: blur(16px);
  flex-wrap: nowrap;
}
.home-page .brand { width: auto; color: #f1f6f1; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -.02em; white-space: nowrap; }
.home-page .brand-icon { color: var(--home-lime); }
.home-page .v5-pill { margin-left: 8px; padding: 4px 8px; border: 1px solid var(--home-line); border-radius: 999px; background: rgba(181, 233, 134, .08); color: var(--home-lime); font-size: 10px; }
.home-page .nav-links { width: auto; margin-left: auto; justify-content: flex-end; gap: 9px; }
.home-page .nav-links .btn { min-height: 42px; flex: 0 0 auto; border-radius: 10px; }
.home-page .nav-links .btn-ghost { border-color: transparent; background: transparent; }
.home-page .nav-links .btn-ghost:hover { border-color: var(--home-line); background: rgba(255,255,255,.04); }
.home-page .btn-primary { border: 1px solid #c7efa0; background: linear-gradient(135deg, #c2ef9a, #8fc86b); color: #102014; box-shadow: 0 8px 24px rgba(129, 188, 97, .18); font-weight: 800; }
.home-page .btn-primary:hover { filter: brightness(1.04); transform: translateY(-1px); }
.home-page .hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 76px) 38px;
}
.home-page .hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(34px, 5vw, 78px); max-width: none; }
.home-page .hero-copy { max-width: 600px; text-align: left; }
.home-page .hero .tag { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(184,233,134,.2); border-radius: 999px; background: rgba(184,233,134,.055); color: #c3eaa7; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.home-page .hero h1 { max-width: 650px; margin: 22px 0 18px; color: #f4f7f2; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -.052em; text-wrap: balance; }
.home-page .hero h1 span { color: var(--home-lime); }
.home-page .hero p.subtitle { max-width: 540px; margin: 0; color: #b4c1b7; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.75; }
.home-page .hero-ctas { display: flex; justify-content: flex-start; gap: 11px; margin-top: 28px; }
.home-page .hero-ctas .btn { min-height: 50px; padding-inline: 19px; border-radius: 11px; }
.home-page .hero-ctas .btn-ghost { border-color: var(--home-line); background: rgba(255,255,255,.025); color: #e8eee8; }
.home-page .hero-ctas .btn-ghost:hover { border-color: rgba(184,233,134,.4); background: rgba(184,233,134,.06); }
.home-page .hero-trust { display: flex; flex-wrap: wrap; gap: 16px; margin: 21px 0 0; padding: 0; list-style: none; color: #96a89a; font-size: 12px; }
.home-page .hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.home-page .hero-trust svg { width: 15px; height: 15px; color: var(--home-lime); }
.home-page .hero-visual { position: relative; width: 100%; max-width: 700px; min-width: 0; margin: 0; padding: 0 0 18px 16px; }
.home-page .hero-visual::before { position: absolute; inset: 8% 1% 3% 8%; z-index: 0; border-radius: 28px; background: radial-gradient(ellipse at 60% 46%, rgba(111,180,107,.2), transparent 66%); filter: blur(20px); content: ""; }
.home-page .v5-hero-image { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 470px; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 44%; border: 1px solid rgba(192,235,174,.3); border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.home-page .visual-stamp { position: absolute; z-index: 2; top: 22px; left: 32px; padding: 8px 11px; border: 1px solid rgba(229,244,220,.23); border-radius: 8px; background: rgba(8,19,13,.75); color: #e4f1df; font-size: 9px; font-weight: 800; letter-spacing: .14em; backdrop-filter: blur(10px); }
.home-preview-card { position: absolute; z-index: 3; bottom: 0; left: 0; width: min(74%, 390px); padding: 17px 19px; border: 1px solid rgba(205,229,207,.2); border-radius: 14px; background: rgba(9,19,14,.94); box-shadow: 0 20px 50px rgba(0,0,0,.48); backdrop-filter: blur(18px); }
.home-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.home-preview-kicker { color: #9bad9f; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.home-preview-state { display: inline-flex; align-items: center; gap: 6px; color: #c6e9ae; font-size: 9px; font-weight: 700; white-space: nowrap; }
.home-preview-state i { width: 6px; height: 6px; border-radius: 50%; background: #a4dc7c; box-shadow: 0 0 10px rgba(164,220,124,.5); }
.home-preview-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid rgba(206,228,207,.11); border-radius: 9px; background: rgba(255,255,255,.025); }
.home-preview-code small { color: #97a79a; font-size: 9px; letter-spacing: .08em; }
.home-preview-code strong { color: #e4f5d6; font-size: 14px; letter-spacing: .14em; }
.home-preview-note { margin: 11px 0 0; color: #9aa99d; font-size: 10px; line-height: 1.5; }
.home-page .noctibot-code { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 900px; margin: 46px auto 0; padding: 18px 21px; border: 1px solid var(--home-line); border-radius: 14px; background: linear-gradient(110deg, rgba(18,36,25,.82), rgba(12,26,18,.76)); box-shadow: 0 16px 48px rgba(0,0,0,.16); }
.home-page .noctibot-code small { color: #a8beaa; font-size: 10px; letter-spacing: .11em; }
.home-page .noctibot-code strong { display: block; margin-top: 4px; color: #c3eb9e; font-size: 21px; letter-spacing: .14em; }
.home-page .noctibot-code > div > span:not(.sr-only) { display: block; margin-top: 4px !important; color: #9eafa2 !important; font-size: 12px !important; }
.home-page .stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; max-width: 900px; margin: 18px auto 0; }
.home-page .stat-card { padding: 17px 15px; border: 1px solid var(--home-line); border-radius: 12px; background: rgba(12,26,18,.65); text-align: center; }
.home-page .stat-card .value { color: #d5f0c2; font-size: clamp(22px, 2.6vw, 30px); }
.home-page .stat-card .label { margin-top: 3px; color: #99aa9d; font-size: 11px; }
.home-page .how-it-works, .home-page .features, .home-page .security-section, .home-page .faq-section, .home-page .contact-section { max-width: 1240px; margin-inline: auto; padding-inline: clamp(18px,5vw,76px); }
.home-page .how-it-works, .home-page .features, .home-page .faq-section, .home-page .contact-section { padding-top: clamp(48px, 7vw, 82px); }
.home-page .section-title { color: #eff5ef; letter-spacing: -.035em; }
.home-page .section-sub { color: #a7b8ac; }
.home-page .step, .home-page .feature-card, .home-page .faq-item { border-color: var(--home-line); background: linear-gradient(145deg, rgba(16,33,23,.92), rgba(10,22,15,.88)); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.home-page .step-num, .home-page .feature-card .icon { color: var(--home-lime); }
.home-page .security-inner { border-color: rgba(184,233,134,.16); background: linear-gradient(115deg, #112319, #0b1710); }
.home-page .site-footer { border-top-color: var(--home-line); }
@media (max-width: 980px) {
  .home-page .hero-grid { grid-template-columns: minmax(0,1fr); max-width: 780px; gap: 30px; }
  .home-page .hero-copy { max-width: 720px; }
  .home-page .hero-visual { max-width: 760px; }
  .home-page .v5-hero-image { max-height: 440px; }
}
@media (max-width: 760px) {
  .home-page .navbar { min-height: 62px; padding: 9px 14px; flex-wrap: nowrap; }
  .home-page .navbar > .brand { width: auto; flex: 0 1 auto; font-size: 15px; }
  .home-page .nav-links { width: auto; flex: 0 0 auto; margin-left: auto; gap: 4px; }
  .home-page .nav-links .btn { flex: 0 0 auto; min-height: 40px; padding: 8px 10px; }
  .home-page .nav-links .nav-hide-sm { display: none; }
  .home-page .hero { padding: 38px 18px 28px; }
  .home-page .hero-copy { text-align: left; }
  .home-page .hero p.subtitle { margin-inline: 0; }
  .home-page .hero-ctas { justify-content: flex-start; flex-wrap: wrap; }
  .home-page .hero-visual { padding-left: 0; }
  .home-page .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .home-page .brand { font-size: 13px !important; }
  .home-page .v5-pill { display: none; }
  .home-page .nav-links .btn-primary { width: 40px; min-width: 40px; padding: 8px !important; overflow: hidden; font-size: 0; }
  .home-page .nav-links .btn-primary svg { width: 18px; height: 18px; margin: 0; }
  .home-page .hero h1 { font-size: clamp(37px, 11vw, 48px); }
  .home-page .hero .tag { font-size: 9px; letter-spacing: .08em; }
  .home-page .hero-ctas .btn { min-height: 46px; padding-inline: 13px; font-size: 12px; }
  .home-page .hero-visual { padding-bottom: 0; }
  .home-page .v5-hero-image { aspect-ratio: 1.18 / 1; max-height: 355px; border-radius: 16px; object-position: center 42%; }
  .home-page .visual-stamp { top: 12px; left: 12px; font-size: 8px; }
  .home-preview-card { position: relative; bottom: auto; left: auto; width: auto; margin: -22px 10px 0; padding: 14px; }
  .home-page .noctibot-code { align-items: flex-start; margin: 30px 0 0; padding: 15px; }
  .home-page .noctibot-code .btn { align-self: center; }
  .home-page .stat-card { padding: 14px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .btn-primary:hover { transform: none; }
}
