/* ACCUEIL */

/* ---------- Hero centré ---------- */
.h-hero { position: relative; padding: 110px 0 60px; overflow: hidden; }
.h-hero__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 26px; text-align: center; }
.h-hero h1 { font-size: clamp(40px, 6vw, 82px); max-width: 18ch; line-height: 1.04; }

/* Éléments flottants discrets (façon reference) */
.h-float { position: absolute; left: 0; right: 0; top: 0; height: 520px; pointer-events: none; }
.h-float span {
  position: absolute; left: var(--x); top: var(--y);
  font-family: var(--f-pixel); font-size: clamp(14px, 1.6vw, 22px); color: rgba(232,243,236,.16);
  animation: float 9s ease-in-out infinite; animation-delay: var(--d);
}
.h-float .box { border: 1.5px solid rgba(232,243,236,.14); border-radius: 8px; padding: 10px 12px; transform: rotate(-8deg); }
@keyframes float { 50% { translate: 0 -12px; } }
@media (max-width: 900px) { .h-float { display: none; } }

.h-photo { margin: 70px auto 0; max-width: 860px; position: relative; z-index: 1; }
.h-photo::before { content: ""; position: absolute; inset: 8% 10% -6%; background: radial-gradient(closest-side, rgba(92,255,149,.25), transparent); filter: blur(40px); z-index: -1; }
.h-photo__frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px #000; }
.h-photo__frame img { width: 100%; height: auto; }
.h-photo .led--overlay { left: 29.9%; top: 72.6%; width: 42.9%; height: 14.6%; --dot: clamp(3px, .48vw, 6px); }
.h-photo__live {
  position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(4,7,5,.75); border: 1px solid var(--line-2); color: var(--text); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.h-photo__live b { width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 8px var(--g); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.h-photo figcaption { text-align: center; color: var(--muted); font-size: 16px; max-width: 62ch; margin: 22px auto 0; }

/* ---------- Chiffres ---------- */
.h-stats { padding: 40px 0 0; }
.h-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.h-stats__row > div { padding: 26px 24px; display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.h-stats b { font-family: var(--f-display); font-size: 46px; font-weight: 700; line-height: 1; color: #F1FBF4; text-shadow: 0 0 22px var(--g-glow); }
.h-stats b small { font-size: 18px; margin-left: 4px; color: var(--g); }
.h-stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .h-stats__row { grid-template-columns: 1fr 1fr; } }

/* ---------- Constat ---------- */
.h-why { padding: 120px 0 100px; }
.h-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.h-why h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 18px; }
.h-why__text { font-size: 17.5px; color: var(--muted); padding-top: 40px; }
.h-why__text strong { color: var(--g); font-weight: 600; }
@media (max-width: 860px) { .h-why__grid { grid-template-columns: 1fr; gap: 10px; } .h-why__text { padding-top: 10px; } }

/* ---------- Comment ---------- */
.h-how { padding: 0 0 110px; }
.h-how__head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: 48px; }
.h-how__head h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 20ch; }
.h-how__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.h-how__steps li { padding: 28px 26px 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.h-how__steps li:hover { border-color: rgba(92,255,149,.35); box-shadow: 0 0 40px -16px var(--g-glow); }
.h-how__n { font-family: var(--f-mono); font-size: 12px; color: var(--g); letter-spacing: .12em; }
.h-how svg { width: 46px; height: 46px; color: var(--text); display: block; margin: 18px 0 18px; opacity: .85; }
.h-how h3 { font-size: 21px; margin-bottom: 10px; }
.h-how p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .h-how__steps { grid-template-columns: 1fr; } }

/* ---------- 1 panneau = 1 massif ---------- */
.h-massif { padding: 0 0 110px; }
.h-massif__grid {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; padding: 48px;
  border-radius: 24px; border: 1px solid rgba(92,255,149,.22);
  background: radial-gradient(ellipse at 0% 50%, rgba(92,255,149,.10), transparent 60%), var(--card);
}
.h-massif__eq { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-family: var(--f-pixel); font-size: clamp(24px, 3vw, 40px); color: #EFFBF2; text-shadow: 0 0 18px var(--g-glow); text-transform: uppercase; }
.h-massif__eq b { color: var(--g); }
.h-massif h2 { font-size: clamp(26px, 2.8vw, 38px); margin: 16px 0; }
.h-massif p { color: var(--muted); font-size: 16.5px; }
.h-massif__link { font-family: var(--f-mono); font-size: 13px; color: var(--g); text-decoration: none; border-bottom: 1px solid rgba(92,255,149,.4); }
@media (max-width: 860px) { .h-massif__grid { grid-template-columns: 1fr; padding: 30px 22px; gap: 24px; } }

/* ---------- Prix ---------- */
.h-price { padding: 0 0 110px; }
.h-price__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 48px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.h-price h2 { font-size: clamp(26px, 2.8vw, 38px); margin: 16px 0 14px; }
.h-price p { color: var(--muted); font-size: 16.5px; max-width: 48ch; margin: 0; }
.h-price__tag { justify-self: end; text-align: right; display: grid; gap: 14px; justify-items: end; }
.h-price__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.h-price__tag b { font-family: var(--f-display); font-weight: 800; font-size: clamp(60px, 7vw, 96px); line-height: .9; color: #F1FBF4; text-shadow: 0 0 30px var(--g-glow); letter-spacing: -.04em; }
.h-price__tag b small { font-size: .26em; color: var(--g); margin-left: 10px; letter-spacing: .05em; text-shadow: none; }
@media (max-width: 860px) { .h-price__in { grid-template-columns: 1fr; padding: 30px 22px; } .h-price__tag { justify-self: start; text-align: left; justify-items: start; } }

/* ---------- Bandeau feu ---------- */
.h-fire { position: relative; min-height: 520px; display: grid; align-items: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-fire img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(.6) brightness(.55); }
.h-fire__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(4,7,5,.35) 35%, rgba(4,7,5,.35) 65%, var(--bg)); }
.h-fire__in { position: relative; display: grid; justify-items: center; text-align: center; gap: 30px; }
.h-fire__quote { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.12; letter-spacing: -.03em; max-width: 24ch; margin: 0; color: #EFFBF2; text-shadow: 0 0 30px rgba(0,0,0,.6); }
.h-fire__quote em { font-style: normal; color: var(--led-r); text-shadow: 0 0 24px rgba(255,74,46,.5); }

/* ---------- Explorer ---------- */
.h-explore { padding: 110px 0; }
.h-explore__head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: 44px; }
.h-explore__head h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 22ch; }
.h-explore__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 26px; border-radius: var(--r); text-decoration: none; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tile:hover { transform: translateY(-3px); border-color: rgba(92,255,149,.35); box-shadow: 0 0 40px -16px var(--g-glow); }
.tile h3 { font-size: 22px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tile__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.tile__go { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--text); }
@media (max-width: 980px) { .h-explore__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .h-explore__grid { grid-template-columns: 1fr; } }

/* ---------- Yuzu (jaune en transparence) ---------- */
.h-yuzu { padding: 0 0 120px; }
.h-yuzu__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 48px; border-radius: 24px; background: radial-gradient(ellipse at 100% 0%, rgba(245,197,24,.10), transparent 60%), var(--yz-bg); border: 1px solid var(--yz-line); }
.h-yuzu__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--yz-text); }
.h-yuzu h2 { font-size: clamp(26px, 3vw, 40px); margin: 16px 0 18px; }
.h-yuzu h2 a { color: var(--yz); text-decoration: none; border-bottom: 2px solid var(--yz-line); }
.h-yuzu p { font-size: 16.5px; color: var(--muted); max-width: 56ch; margin-bottom: 28px; }
.h-yuzu__stack { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.h-yuzu__stack li { background: rgba(0,0,0,.25); border: 1px solid var(--yz-line); border-radius: 14px; padding: 16px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.h-yuzu__stack span { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: #F1FBF4; }
.h-yuzu__stack code { font-family: var(--f-mono); font-size: 12px; color: var(--yz-text); }
@media (max-width: 860px) { .h-yuzu__grid { grid-template-columns: 1fr; padding: 30px 22px; } }
.h-yuzu .btn-dark::after { background: var(--yz); color: #2a2000; box-shadow: 0 0 14px rgba(245,197,24,.45); }
.h-yuzu .btn-dark { box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 30px -10px rgba(245,197,24,.4); }

/* ---------- Alerte départ de feu ---------- */
.h-alert { padding: 0 0 110px; }
.h-alert__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; padding: 48px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.h-alert h2 { font-size: clamp(26px, 2.8vw, 38px); margin: 16px 0; }
.h-alert p { color: var(--muted); font-size: 16.5px; }
.h-alert__viz { display: grid; gap: 10px; padding: 26px; border-radius: 18px; background: rgba(255,74,46,.05); border: 1px solid rgba(255,74,46,.3); box-shadow: 0 0 50px -20px rgba(255,74,46,.5); }
.h-alert__k, .h-alert__s { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.h-alert__viz b { font-family: var(--f-display); font-size: clamp(44px, 5vw, 64px); font-weight: 800; line-height: 1; color: #FFE1DA; text-shadow: 0 0 26px rgba(255,74,46,.6); letter-spacing: -.03em; }
.h-alert__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.h-alert__bar i { position: absolute; inset: 0 6% 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--led-g), var(--led-y) 55%, var(--led-r)); }
.h-alert__tag { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #FFB3A3; }
.h-alert__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--led-r); box-shadow: 0 0 10px var(--led-r); animation: blink 1.2s infinite; }
@media (max-width: 860px) { .h-alert__grid { grid-template-columns: 1fr; padding: 30px 22px; gap: 24px; } }

/* Tampon « Personnalisable » sur la photo */
.h-stamp {
  position: absolute; right: 3%; top: 47%; z-index: 2;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(14px, 1.6vw, 22px); letter-spacing: .14em; text-transform: uppercase;
  color: var(--g); padding: 10px 18px; border: 3px double var(--g); border-radius: 10px;
  background: rgba(4,7,5,.55); backdrop-filter: blur(3px);
  transform: rotate(-10deg); text-shadow: 0 0 12px var(--g-glow); box-shadow: 0 0 24px -6px var(--g-glow), inset 0 0 14px -6px var(--g-glow);
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.75) 100%); mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.75) 100%);
}
@media (max-width: 600px) { .h-stamp { font-size: 10px; padding: 6px 10px; border-width: 2px; right: 2%; top: 50%; } }
