/* Carango, página temporária de atualização. CSS puro, sem dependências externas. */

:root {
  --vermelho: #ea3636;
  --vermelho-escuro: #ba1717;
  --fundo: #14191d;
  --texto: #edf2f4;
  --texto-suave: #98a4ad;
  --borda: rgba(255, 255, 255, .1);
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  text-align: center;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(234, 54, 54, .16), transparent 60%),
    var(--fundo);
  -webkit-font-smoothing: antialiased;
}

/* Faixas de obra no topo e na base */
body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--vermelho) 0 18px, var(--vermelho-escuro) 18px 36px);
  z-index: 1;
}
body::before { top: 0; }
body::after { bottom: 0; }

/* Bloco central */
.aviso {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 4.5rem 1.5rem 3rem;
}

/* Logo */
.marca {
  display: block;
  height: clamp(30px, 6vw, 44px);
  width: auto;
}

/* Velocímetro */
.painel { width: clamp(190px, 32vw, 250px); }
.painel__agulha {
  transform-box: view-box;
  transform-origin: 100px 105px;
  animation: agulha 3.2s ease-in-out infinite alternate;
}
@keyframes agulha {
  from { transform: rotate(-42deg); }
  to   { transform: rotate(-16deg); }
}

/* Selo, título e texto */
.selo {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ff8a8a;
  border: 1px solid rgba(234, 54, 54, .45);
  background: rgba(234, 54, 54, .08);
  padding: .55em 1.1em .5em;
  border-radius: 999px;
}

.titulo {
  font-size: clamp(2.3rem, 8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.04;
}
.titulo em { font-style: italic; color: var(--vermelho); }

.texto {
  max-width: 34em;
  color: var(--texto-suave);
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.65;
}

/* Barra de progresso indeterminada */
.progresso {
  width: 240px;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  margin-top: .5rem;
}
.progresso::after {
  content: "";
  display: block;
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--vermelho), transparent);
  animation: esteira 1.8s ease-in-out infinite;
}
@keyframes esteira {
  from { transform: translateX(-120%); }
  to   { transform: translateX(320%); }
}

/* Contato */
.contato {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  padding: 0 1.5rem 3.5rem;
}
.contato__titulo {
  font-size: .85rem;
  color: var(--texto-suave);
}
.contato__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.contato__link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--texto);
  text-decoration: none;
  border: 1px solid var(--borda);
  background: rgba(255, 255, 255, .03);
  padding: .7em 1.15em;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  transition: border-color .2s, background .2s, transform .2s;
}
.contato__link:hover {
  border-color: rgba(234, 54, 54, .6);
  background: rgba(234, 54, 54, .08);
}
.contato__link:active { transform: translateY(1px); }
.contato__link:focus-visible {
  outline: 2px solid var(--vermelho);
  outline-offset: 2px;
}
.contato__link svg {
  width: 18px;
  height: 18px;
  color: var(--vermelho);
  flex: none;
}

/* Redes sociais */
.redes {
  display: flex;
  gap: .6rem;
}
.redes__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--borda);
  border-radius: 50%;
  color: var(--texto-suave);
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.redes__link:hover {
  color: #fff;
  border-color: rgba(234, 54, 54, .6);
  background: rgba(234, 54, 54, .08);
}
.redes__link:active { transform: translateY(1px); }
.redes__link:focus-visible {
  outline: 2px solid var(--vermelho);
  outline-offset: 2px;
}
.redes__link svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Entrada dos blocos */
.aviso > * { animation: entrada .7s cubic-bezier(.2, .7, .3, 1) both; }
.aviso > *:nth-child(2) { animation-delay: .07s; }
.aviso > *:nth-child(3) { animation-delay: .14s; }
.aviso > *:nth-child(4) { animation-delay: .21s; }
.aviso > *:nth-child(5) { animation-delay: .28s; }
.aviso > *:nth-child(6) { animation-delay: .35s; }
@keyframes entrada {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

::selection { background: var(--vermelho); color: #fff; }

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
