/* ===========================================================
   NIO Marketing — Identidade visual própria
   Tema escuro · gradiente ciano→violeta · rede animada
   =========================================================== */

:root {
  --bg:        #0c0905;
  --bg-soft:   #15100a;
  --ink:       #fdf3ea;
  --ink-dim:   #c2ad99;
  --ink-faint: #82705e;

  --accent:    #ff7a2f;   /* laranja      */
  --accent-2:  #ffb454;   /* âmbar        */
  --accent-3:  #ff5e3a;   /* laranja-rubro */

  --line:      rgba(255, 255, 255, 0.08);
  --card-bg:   rgba(255, 255, 255, 0.04);
  --grad:      linear-gradient(120deg, var(--accent-3), var(--accent) 50%, var(--accent-2));

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;                /* página única — sem rolagem */
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Fundo: canvas, brilhos e grade ---------- */
#network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  animation: float 14s var(--ease) infinite alternate;
}
.glow--one {
  width: 46vw; height: 46vw;
  top: -14vw; left: -10vw;
  background: radial-gradient(circle, rgba(255,122,47,0.55), transparent 65%);
}
.glow--two {
  width: 40vw; height: 40vw;
  bottom: -16vw; right: -8vw;
  background: radial-gradient(circle, rgba(255,180,84,0.38), transparent 65%);
  animation-delay: -7s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  opacity: 0.5;
}

@keyframes float {
  to { transform: translate3d(4vw, 3vw, 0) scale(1.1); }
}

/* ---------- Layout da página (uma tela) ---------- */
.page {
  position: relative;
  z-index: 2;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 3vh, 34px) clamp(22px, 5vw, 80px);
}

/* ---------- Navegação ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
}
.brand__icon {
  width: 46px; height: 46px;
  filter: drop-shadow(0 8px 22px rgba(255, 122, 47, 0.42));
  transition: transform 0.45s var(--ease);
}
.brand:hover .brand__icon { transform: rotate(-4deg) scale(1.06); }
.brand__icon svg { width: 100%; height: 100%; display: block; }

.brand__lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: "Sora", sans-serif;
}
.brand__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.brand__tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 5.5px;
  color: var(--ink-dim);
  margin-top: 5px;
}

.nav__links {
  display: flex;
  gap: 34px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.2px;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 122, 47, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,122,47,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,122,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,122,47,0); }
}

.hero__title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -1.8px;
  margin: 22px 0 18px;
}
.grad-text {
  display: inline-block;
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}

.hero__text {
  max-width: 540px;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.65;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-bottom: 38px;
}
/* link discreto de WhatsApp ao lado do botão */
.hero__wpp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.hero__wpp svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--accent); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.hero__wpp:hover { color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.btn--primary {
  background: var(--grad);
  color: #1a0e05;
  box-shadow: 0 10px 34px rgba(255, 122, 47, 0.32);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(255, 94, 58, 0.5);
}
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  background: var(--card-bg);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(255, 122, 47, 0.5);
  transform: translateY(-3px);
}

/* ---------- Estatísticas ---------- */
.stats {
  display: flex;
  gap: clamp(24px, 4vw, 54px);
  list-style: none;
}
.stats li { position: relative; }
.stats strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
}
.stats span {
  font-family: "Sora", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- Cartões flutuantes ---------- */
.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
.card:nth-child(2) { animation-delay: -2.3s; }
.card:nth-child(3) { animation-delay: -4.6s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
/* faixa de luz que percorre o card no hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,122,47,0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
/* linha de gradiente vertical à esquerda, revelada no hover */
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 16%;
  width: 3px; height: 0;
  border-radius: 3px;
  background: var(--grad);
  transition: height 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(255, 122, 47, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,122,47,0.08);
}
.card:hover::before { opacity: 1; }
.card:hover::after { height: 68%; }

.card__icon {
  position: relative;
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255,122,47,0.22), rgba(255,180,84,0.10));
  border: 1px solid rgba(255,122,47,0.28);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.card:hover .card__icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--grad);
}
.card__icon svg {
  width: 25px; height: 25px;
  fill: none; stroke: var(--accent-2); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.45s var(--ease);
}
.card:hover .card__icon svg { stroke: #1a0e05; }

.card__body { flex: 1; min-width: 0; }
.card h3 {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.2px;
}
.card p {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* número de índice ao fundo */
.card__num {
  position: absolute;
  top: 12px; right: 16px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-faint);
  opacity: 0.55;
}

/* seta que aparece no hover */
.card__arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  fill: none; stroke: var(--accent); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover .card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  animation: revealIn 0.9s var(--ease) forwards;
}
[data-delay="0"] { animation-delay: 0.05s; }
[data-delay="1"] { animation-delay: 0.18s; }
[data-delay="2"] { animation-delay: 0.30s; }
[data-delay="3"] { animation-delay: 0.44s; }
[data-delay="4"] { animation-delay: 0.58s; }
[data-delay="5"] { animation-delay: 0.72s; }
[data-delay="6"] { animation-delay: 0.88s; }
@keyframes revealIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ===========================================================
   Responsivo
   =========================================================== */

/* Notebooks menores / telas largas baixas */
@media (max-width: 1180px) {
  .hero { gap: clamp(24px, 3.5vw, 56px); }
  .cards { gap: 14px; }
}

/* Tablets e telas médias — empilha as duas colunas */
@media (max-width: 980px) {
  body { overflow-y: auto; }              /* libera rolagem fora do desktop */
  .page { height: auto; min-height: 100dvh; }
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 24px 0 40px;
    gap: 36px;
  }
  .hero__text { max-width: 620px; }
  .cards { gap: 14px; }
  .card { animation: none; }              /* sem flutuar quando empilhado */
}

/* Celulares grandes */
@media (max-width: 680px) {
  .page { padding: 20px 20px 36px; }
  .nav { gap: 12px; }
  .hero { gap: 30px; }
  .hero__actions { gap: 12px 16px; }
  .btn--primary { width: 100%; justify-content: center; }
  .hero__wpp { width: 100%; justify-content: center; }
  .stats { gap: 20px 30px; flex-wrap: wrap; }
}

/* Celulares pequenos */
@media (max-width: 430px) {
  .page { padding: 18px 16px 30px; }
  .brand__icon { width: 40px; height: 40px; }
  .brand__title { font-size: 19px; }
  .brand__tag { font-size: 9px; letter-spacing: 4px; }
  .nav__cta { padding: 11px 16px; font-size: 14px; }
  .badge { font-size: 12px; padding: 7px 13px; }
  .card { padding: 16px 16px; gap: 14px; }
  .card__icon { width: 46px; height: 46px; }
  .card__num { display: none; }
  .card__arrow { display: none; }         /* foco no toque, sem hover */
  .stats { gap: 16px 26px; }
}

/* Telas muito baixas (paisagem no celular) */
@media (max-height: 560px) and (min-width: 981px) {
  body { overflow-y: auto; }
  .page { height: auto; min-height: 100dvh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
