/* ICECOLD — Home Desktop
   Landing minimaliste : promesse + CTA unique vers la page produit.
*/

body.page-home-desktop {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ============== HEADER ============== */
.home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.home-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.home-logo__mark {
  position: relative;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--glacier-soft), var(--glacier), var(--glacier-deep));
  color: #fff;
  box-shadow: 0 8px 20px -4px rgba(56, 196, 255, 0.4);
  overflow: hidden;
}
.home-logo__mark::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, var(--glacier-soft), var(--glacier), var(--glacier-deep), var(--glacier), var(--glacier-soft));
  opacity: 0.5;
  animation: spin-slow 14s linear infinite;
}
.home-logo__mark svg { position: relative; width: 18px; height: 18px; }
.home-logo__text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.home-logo__text em { font-style: normal; color: var(--glacier-deep); }

.home-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring);
}
.home-header__cta:hover { transform: translateY(-1px); }

/* ============== MAIN (single viewport) ============== */
.home-main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px 64px;
  text-align: center;
  overflow: hidden;
}

.home-aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 35%, rgba(56, 196, 255, 0.18) 0%, transparent 60%),
    radial-gradient(50% 35% at 50% 90%, rgba(125, 217, 255, 0.10) 0%, transparent 60%);
}
.home-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(15, 30, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 30, 60, 0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-ice);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  animation: rise 1s var(--ease-out) both;
}

/* ============== PRODUIT — gros, central, 3D visible ============== */
.home-stage {
  position: relative;
  width: min(520px, 70vw);
  aspect-ratio: 1 / 1;
  margin: 8px 0 16px;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  animation: rise-blur 1.2s var(--ease-out) 0.1s both;
}

.home-stage__halo {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.home-stage__halo--big {
  inset: -5%;
  background: radial-gradient(circle, rgba(56, 196, 255, 0.4), rgba(125, 217, 255, 0.18) 40%, transparent 70%);
  filter: blur(50px);
  animation: halo-breathe 5s ease-in-out infinite;
}
.home-stage__halo--med {
  inset: 12%;
  background: radial-gradient(circle, rgba(56, 196, 255, 0.45), transparent 70%);
  filter: blur(40px);
  animation: halo-breathe 4s ease-in-out infinite 0.5s;
}
.home-stage__halo--small {
  inset: 28%;
  background: radial-gradient(circle, rgba(125, 217, 255, 0.55), transparent 70%);
  filter: blur(28px);
  animation: halo-breathe 3s ease-in-out infinite 1s;
}

.home-stage__ring {
  position: absolute;
  border: 1.5px solid rgba(56, 196, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.home-stage__ring--1 { inset: 0;   animation: spin-slow 28s linear infinite; }
.home-stage__ring--2 { inset: 10%; animation: spin-slow 20s linear infinite reverse; border-style: dashed; border-color: rgba(56, 196, 255, 0.16); }
.home-stage__ring--3 { inset: 22%; border-color: rgba(56, 196, 255, 0.28); animation: spin-slow 14s linear infinite; }

.home-stage__streams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 50%;
}
.home-stage__streams span {
  position: absolute;
  top: var(--y);
  left: -20%;
  width: 140%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 196, 255, 0.85) 50%, transparent);
  filter: blur(1.5px);
  opacity: 0;
  animation: air-flow 4s var(--ease-in-out) infinite;
  animation-delay: var(--d);
}

.home-stage__mist {
  position: absolute;
  inset: 40% 25% 0 25%;
  pointer-events: none;
}
.home-stage__mist span {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.9), rgba(125, 217, 255, 0.4) 50%, transparent 80%);
  filter: blur(10px);
  animation: mist-rise 5s ease-in-out infinite;
}

.home-stage__img {
  position: relative;
  z-index: 2;
  width: 78%;
  max-height: 92%;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 40px rgba(15, 30, 60, 0.14))
    drop-shadow(0 60px 80px rgba(56, 196, 255, 0.35))
    drop-shadow(0 0 80px rgba(125, 217, 255, 0.4))
    contrast(1.05) saturate(1.05);
  animation: float 6s ease-in-out infinite;
  -webkit-user-drag: none;
  user-select: none;
}

.home-stage__reflect {
  position: absolute;
  width: 78%;
  bottom: -45%;
  left: 50%;
  transform: translateX(-50%) scaleY(-1);
  opacity: 0.22;
  filter: blur(3px);
  mask-image: linear-gradient(to bottom, black 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* ============== TITRE + DESC ============== */
.home-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 24px 0 18px;
  max-width: 760px;
  animation: rise-blur 1s var(--ease-out) 0.3s both;
}
.home-title .text-gradient { display: block; }
.home-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--glacier-deep);
  position: relative;
  display: inline-block;
}
.home-italic::before {
  content: '';
  position: absolute;
  inset: -10px -30px;
  background: radial-gradient(ellipse at center, rgba(125, 217, 255, 0.25), transparent 60%);
  z-index: -1;
  filter: blur(20px);
}

.home-desc {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0 0 36px;
  max-width: 540px;
  animation: rise 1s var(--ease-out) 0.5s both;
}
.home-desc strong { color: var(--ink); font-weight: 600; }

/* ============== CTA UNIQUE — proéminent ============== */
.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 32px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(15, 30, 60, 0.4), 0 4px 12px rgba(15, 30, 60, 0.1);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
  position: relative;
  overflow: hidden;
  animation: rise 1s var(--ease-out) 0.7s both;
}
.home-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--glacier-deep), var(--glacier));
  opacity: 0;
  transition: opacity 0.4s;
}
.home-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 28px 60px -12px rgba(56, 196, 255, 0.55), 0 8px 16px rgba(56, 196, 255, 0.2);
}
.home-cta:hover::before { opacity: 1; }
.home-cta > * { position: relative; z-index: 1; }
.home-cta__arrow {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 0.4s var(--ease-out);
}
.home-cta:hover .home-cta__arrow {
  transform: translateX(4px) rotate(-3deg);
  background: rgba(255, 255, 255, 0.25);
}

/* ============== TRUST STRIP ============== */
.home-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
  animation: rise 1s var(--ease-out) 0.9s both;
}
.home-trust > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.home-trust strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.home-trust span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}
.home-trust__rating {
  flex-direction: column;
  align-items: center;
}
.home-trust__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}
.home-trust__sep {
  width: 1px; height: 32px;
  background: var(--border);
}

/* ============== FOOTER ============== */
.home-footer {
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.home-footer__brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.home-footer__links {
  display: flex;
  gap: 22px;
}
.home-footer__links a {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.home-footer__links a:hover { color: var(--glacier-deep); }
.home-footer small {
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* Responsive */
@media (max-width: 768px) {
  .home-header { padding: 16px 22px; }
  .home-main { padding: 32px 22px 48px; }
  .home-trust { gap: 20px; }
  .home-trust__sep { display: none; }
  .home-footer { flex-direction: column; text-align: center; padding: 24px; }
}
