/* netinbox.com.br — página guarda-chuva Hotéis | Eventos.
   Tema claro, muito branco, acentos pastel. Tipografia igual à do painel:
   Rubik nos títulos, Geist no texto. Fontes servidas daqui (sem CDN). */

/* ----- Fontes ----- */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/rubik-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/rubik-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/rubik-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geist-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/geist-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/geist-sans-latin-600-normal.woff2") format("woff2"); }

/* ----- Tokens ----- */
:root {
  --laranja: #F97316;
  --grafite: #1F1F1F;
  --texto: #3f3f46;
  --texto-suave: #71717a;
  --borda: #ececec;
  --branco: #ffffff;
  --azul-pastel: #eaf3fc;
  --azul-forte: #2f6fb0;
  --coral-pastel: #fdeee8;
  --verde-pastel: #e9f6ef;
  --coral-forte: #c2552f;
  --raio: 0.75rem;
  --titulo: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --corpo: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--corpo);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, p, ul { margin: 0; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ----- Botão (igual ao do painel: arredondado, laranja, texto grafite) ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--raio);
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.btn-primario { background: var(--laranja); color: var(--grafite); }
.btn-primario:hover { background: #fb8a3c; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--grafite); outline-offset: 3px; }

/* =========================================================
   TELA DIVIDIDA — mobile primeiro: dois cartões empilhados,
   tudo visível, sem hover.
   ========================================================= */
.split {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 16px 40px;
  /* Fundo escuro no celular: o logo neon é branco e laranja e sumiria no branco. */
  background: #141518;
}

.pivo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 0 8px; }
/* Logo neon: a animação do Wi-Fi e o respiro do contorno vêm de dentro do SVG. */
.pivo-logo { width: 240px; filter: drop-shadow(0 0 18px rgba(249, 115, 22, .35)); }
/* A LUZ DO LOGO — a mesma do itick.
   FORA   um halo laranja macio atrás da marca, que cresce com o mouse.
   DENTRO uma faixa de luz que corre PELA SILHUETA: recortada pelo próprio SVG
          com mask-image (não um retângulo por cima) e somando luz
          (plus-lighter) em vez de pintar.
   A máscara aponta pro MESMO arquivo do <img>, com o mesmo ?v=. Se mudar um,
   muda o outro, senão o recorte sai fora de registro. */
.logo-luz { position: relative; display: inline-grid; line-height: 0; isolation: isolate; }
.logo-luz > img { position: relative; z-index: 1; }
.logo-luz::before {
  content: "";
  position: absolute;
  inset: -22% -14%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(249, 115, 22, .32), transparent 72%);
  filter: blur(22px);
  opacity: .6;
  transform: scale(.94);
  transition: opacity .55s ease, transform .55s ease;
}
.logo-luz::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%);
  background-size: 300% 100%;
  background-position: 170% 0;
  background-repeat: no-repeat;
  -webkit-mask: url("../icons/logo-pill-neon.svg?v=1") center / contain no-repeat;
  mask: url("../icons/logo-pill-neon.svg?v=1") center / contain no-repeat;
  mix-blend-mode: plus-lighter;
  transition: opacity .25s ease;
}
/* Com o mouse em cima, o logo cresce um pouco, o halo acende e a luz varre. */
@media (hover: hover) {
  .logo-luz, .pivo-logo { transition: transform .5s cubic-bezier(.22, .61, .36, 1), filter .5s ease; }
  .logo-luz:hover { transform: scale(1.08); }
  .logo-luz:hover > img { filter: drop-shadow(0 0 26px rgba(249, 115, 22, .55)); }
  .logo-luz:hover::before { opacity: 1; transform: scale(1.06); }
  .logo-luz:hover::after { opacity: 1; animation: logoVarre 1.05s cubic-bezier(.22, .61, .36, 1); }
}
@keyframes logoVarre {
  from { background-position: 170% 0; }
  to   { background-position: -90% 0; }
}
.pivo-titulo {
  font-family: var(--titulo);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, .75);
  max-width: 22ch;
}

/* Cada lado tem o fundo do hero do seu site: degradê escuro no tom da vertical
   (azul no Hotéis, laranja no Eventos) e a foto por cima em modo screen, com
   a mesma opacidade dos sites. As duas fotos são arquivos separados porque a
   do Hotéis vai ser trocada. */
.lado {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 28px 22px;
  color: rgba(255, 255, 255, .8);
}
.lado::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: center/cover no-repeat;
  background-image: var(--foto-webp);
  background-image: image-set(var(--foto-avif) type("image/avif"), var(--foto-webp) type("image/webp"));
  opacity: .34;
  mix-blend-mode: screen;
}
.lado-hoteis {
  --foto-avif: url("../images/hoteis-bg-960.avif");
  --foto-webp: url("../images/hoteis-bg-960.webp");
  --fundo: #0b2a3f;
  background:
    radial-gradient(700px 420px at 85% 10%, rgba(14, 165, 233, .28), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(14, 165, 233, .16), transparent 55%),
    linear-gradient(135deg, #0c4a6e 0%, #0b2a3f 45%, #072538 100%);
}
.lado-eventos {
  --foto-avif: url("../images/eventos-bg-960.avif");
  --foto-webp: url("../images/eventos-bg-960.webp");
  --fundo: #23252b;
  background:
    radial-gradient(700px 420px at 85% 10%, rgba(255, 122, 26, .28), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(255, 122, 26, .16), transparent 55%),
    linear-gradient(135deg, #2e3138 0%, #23252b 45%, #1a1c20 100%);
}

/* A caixa flutua acima do título, como nos heróis dos sites. */
.lado-caixa { display: block; width: 220px; margin: 0 0 18px -8px; }
.lado-caixa img {
  width: 100%;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .45));
  animation: caixaFlutua 7s ease-in-out infinite;
}
.lado-eventos .lado-caixa img { animation-duration: 6.2s; animation-delay: -2s; }
@keyframes caixaFlutua {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}

.lado-rotulo {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lado-hoteis  .lado-rotulo { color: #7dd3fc; }
.lado-eventos .lado-rotulo { color: #fb923c; }

.lado-titulo {
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--branco);
  margin-top: 6px;
}
.lado-resumo { margin-top: 10px; }

.lado-args { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.lado-args li { position: relative; padding-left: 26px; color: var(--branco); }
.lado-args li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--laranja);
  box-shadow: inset 0 0 0 4px var(--fundo);
}

/* =========================================================
   DESKTOP com mouse: 50/50 que vira ~65/35 no hover.
   Só flex-grow em CSS puro. Os argumentos ficam SEMPRE na
   página (opacidade reduzida, nunca display:none nem fora da
   tela); o hover só dá destaque.
   ========================================================= */
@media (min-width: 992px) {
  .split {
    position: relative;
    flex-direction: row;
    gap: 0;
    padding: 0;
    background: none;
    min-height: 100vh;
    min-height: 100svh;
  }

  /* O logo fica no centro, por cima da divisão — o pivô. */
  .pivo {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
  }
  .pivo-logo { width: 320px; }
  .pivo-titulo { font-size: 0.95rem; max-width: none; white-space: nowrap; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }

  .lado {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 220px 48px 56px;
    transition: flex-grow .55s cubic-bezier(.22, .61, .36, 1);
  }
  .lado-conteudo { width: 100%; max-width: 440px; }
  .lado-titulo { font-size: 2.6rem; }
  .lado-caixa { width: 300px; margin-bottom: 22px; }
  .lado-hoteis {
    --foto-avif: url("../images/hoteis-bg-1600.avif");
    --foto-webp: url("../images/hoteis-bg-1600.webp");
  }
  .lado-eventos {
    --foto-avif: url("../images/eventos-bg-1600.avif");
    --foto-webp: url("../images/eventos-bg-1600.webp");
  }

  .lado-args, .lado .btn { transition: opacity .35s ease; }
}

/* O efeito só faz sentido com mouse; em tela de toque grande fica 50/50. */
@media (min-width: 992px) and (hover: hover) {
  .lado-args { opacity: .55; }
  .lado .btn { opacity: .8; }

  /* 1.857 : 1 ≈ 65% : 35% */
  .lado:hover,
  .lado:focus-within { flex-grow: 1.857; }
  .lado:hover .lado-args,
  .lado:focus-within .lado-args,
  .lado:hover .btn,
  .lado:focus-within .btn { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lado, .lado-args, .btn { transition: none; }
  .lado-caixa img { animation: none; }
  .logo-luz, .pivo-logo { transition: none; }
  .logo-luz:hover::after { animation: none; opacity: 0; }
}

/* =========================================================
   ABAIXO DA DOBRA
   ========================================================= */
.sobre { padding: 56px 0 64px; }
.sobre-rotulo {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--laranja);
}
.sobre-texto { margin: 10px 0 0; max-width: 62ch; font-size: 1.05rem; }

.sobre-grade { display: grid; gap: 16px; margin: 32px 0 0; }
.sobre-cartao { border: 1px solid var(--borda); border-radius: 1.25rem; padding: 24px 22px; }
.sobre-hoteis  { background: var(--azul-pastel); }
.sobre-eventos { background: linear-gradient(135deg, var(--coral-pastel), var(--verde-pastel)); }
.sobre-cartao h2 {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--grafite);
  margin-bottom: 8px;
}
.sobre-cartao h2 a { text-decoration: none; }
.sobre-cartao h2 a::after { content: " →"; color: var(--laranja); }
.sobre-cartao h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 768px) {
  .sobre { padding: 80px 0 88px; }
  .sobre-grade { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sobre-cartao { padding: 32px; }
}

/* ----- Rodapé: só razão social + CNPJ ----- */
.rodape { border-top: 1px solid var(--borda); padding: 24px 0 32px; font-size: 0.85rem; color: var(--texto-suave); }
.rodape a { text-decoration: none; }
.rodape a:hover { text-decoration: underline; }

/* ----- 404 ----- */
.erro { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px 16px; }
.erro img { width: 148px; margin: 0 auto 28px; }
.erro h1 { font-family: var(--titulo); font-weight: 700; font-size: 1.8rem; color: var(--grafite); }
.erro p { margin: 10px auto 24px; max-width: 40ch; }
.erro-botoes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-secundario { background: var(--branco); color: var(--grafite); border: 1px solid var(--borda); }
.btn-secundario:hover { background: #f6f6f6; }
