@charset "UTF-8";
/* ===== HERO: título, imagem do painel, controle de temperatura ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-weight: 800;
  font-style: italic;
  line-height: 0.98;
  font-size: clamp(2.3rem, 4.1vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.hero-title .line-1 { display: block; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
.hero-title .line-2 {
  display: block;
  color: var(--blue);
  text-shadow: 0 0 30px rgba(30, 107, 255, 0.8);
}

.split .word { display: inline-block; white-space: nowrap; }
.split .char { display: inline-block; will-change: transform; }

.hero-sub {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  max-width: 14em;
}
.hero-sub::after {
  content: "";
  display: block;
  margin-top: 12px;
  width: 210px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  box-shadow: 0 0 12px var(--blue);
}

.perk { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; line-height: 1.15; font-weight: 500; }
.perk .icon { width: 36px; height: 36px; color: var(--cyan); filter: drop-shadow(0 0 8px var(--blue)); }


/* ----- lado direito: painel ----- */
.hero-media {
  position: relative;
  aspect-ratio: 524 / 435;
  border-radius: 28px 28px 28px 120px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: 0 0 60px rgba(30, 107, 255, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6);
  background: #000;
}
.hero-media img {
  position: absolute; inset: -4%;
  width: 108%; max-width: none; height: 108%;
  object-fit: cover;
  will-change: transform;
}
.hero-media .tint { /* tinge a imagem conforme a temperatura */
  position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 60% 30%, var(--accent), transparent 75%);
  mix-blend-mode: color;
  opacity: 0.55;
  pointer-events: none;
}
.hero-media::after { /* escurece para o texto à esquerda */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(2, 5, 13, 0.92), transparent 48%),
    linear-gradient(90deg, rgba(2, 5, 13, 0.55), transparent 40%);
  pointer-events: none;
}

.airflow {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.airflow path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
}

/* ----- controle de temperatura ----- */
.temp-panel {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 3;
  display: grid;
  align-items: center;
  gap: 8px 22px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(3, 9, 26, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--accent-soft);
  box-shadow: 0 0 30px var(--accent-soft);
}
.temp-display {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--accent);
  text-shadow: 0 0 18px var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 5em;          /* largura fixa: o slider não anda quando os dígitos mudam */
  white-space: nowrap;
}
.temp-display .icon { width: 1em; height: 1em; }
.temp-mode { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.2em; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.temp-control { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.temp-control label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.temp-ticks { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); }

/* celular: o painel de temperatura fica abaixo da imagem, sem cobrir nada */
@media (max-width: 639px) {
  .hero-media { aspect-ratio: auto; display: flex; flex-direction: column; border-radius: 24px; }
  .hero-media img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 524 / 380; }
  .hero-media .tint, .airflow { height: auto; aspect-ratio: 524 / 380; bottom: auto; }
  .hero-media::after { bottom: auto; aspect-ratio: 524 / 380; height: auto; }
  .temp-panel { position: relative; left: auto; right: auto; bottom: auto; margin: -34px 12px 12px; }
}
