/* Caminho: public_html/assets/css/style.css */
/* Outlet da Limpeza RP - Página Em Construção */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--fonte-texto);
  color: var(--texto-claro);
  background: var(--cor-marinho-noite);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ===== Fundo: gradiente profundo + auroras animadas ===== */
.fundo {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--cor-marinho) 0%, var(--cor-marinho-profundo) 55%, var(--cor-marinho-noite) 100%);
}

.fundo::before,
.fundo::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.fundo::before {
  width: 55vmax;
  height: 55vmax;
  left: -18vmax;
  top: -12vmax;
  background: radial-gradient(circle, rgba(11, 110, 232, 0.55) 0%, transparent 65%);
  animation: aurora-a 22s var(--curva-suave) infinite alternate;
}

.fundo::after {
  width: 48vmax;
  height: 48vmax;
  right: -16vmax;
  bottom: -14vmax;
  background: radial-gradient(circle, rgba(85, 201, 243, 0.4) 0%, transparent 65%);
  animation: aurora-b 26s var(--curva-suave) infinite alternate;
}

@keyframes aurora-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vmax, 7vmax, 0) scale(1.15); }
}

@keyframes aurora-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-8vmax, -6vmax, 0) scale(0.95); }
}

/* ===== Bolhas ascendentes ===== */
.bolhas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bolha {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(85, 201, 243, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: subir linear infinite;
  will-change: transform;
}

@keyframes subir {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  8%   { opacity: 0.8; }
  92%  { opacity: 0.6; }
  100% { transform: translate3d(var(--deriva, 30px), -115vh, 0) scale(1.05); opacity: 0; }
}

/* ===== Estrutura ===== */
.palco {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.cartao {
  width: min(760px, 100%);
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
  animation: entrada var(--dur-lenta) var(--curva-suave) both;
}

@keyframes entrada {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.palco-logo {
  position: relative;
  display: block;
  width: fit-content;
  margin-inline: auto;
}

/* Halo luminoso que ancora o logotipo sem precisar de moldura */
.palco-logo::before {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 201, 243, 0.28) 0%, rgba(11, 110, 232, 0.12) 45%, transparent 70%);
  filter: blur(12px);
  z-index: -1;
  animation: respirar 7s ease-in-out infinite;
}

@keyframes respirar {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}

.logo {
  width: clamp(230px, 48vw, 330px);
  height: auto;
  margin-inline: auto;
  display: block;
  filter: drop-shadow(0 18px 44px rgba(2, 8, 26, 0.7));
  animation: flutuar 6s ease-in-out infinite;
}

@keyframes flutuar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: var(--espaco-2);
  margin-top: var(--espaco-4);
  padding: 0.45rem 1.1rem;
  border-radius: var(--raio-pill);
  border: 1px solid rgba(85, 201, 243, 0.35);
  background: rgba(85, 201, 243, 0.1);
  color: var(--cor-azul-claro);
  font-size: var(--texto-fluido-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selo .pulso {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cor-azul-claro);
  animation: pulsar 2.2s ease-in-out infinite;
}

@keyframes pulsar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(85, 201, 243, 0.55); }
  60%      { box-shadow: 0 0 0 9px rgba(85, 201, 243, 0); }
}

h1 {
  margin-top: var(--espaco-4);
  font-family: var(--fonte-titulo);
  font-size: var(--texto-fluido-xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #FFFFFF 30%, var(--cor-azul-claro) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitulo {
  margin-top: var(--espaco-3);
  margin-inline: auto;
  max-width: 42ch;
  font-size: var(--texto-fluido-lg);
  line-height: 1.65;
  color: var(--texto-claro-suave);
  text-wrap: balance;
}

.subtitulo-final {
  margin-top: var(--espaco-4);
  font-weight: 600;
  color: var(--texto-claro);
}

/* Destaques em formato de etiquetas */
.destaques {
  margin-top: var(--espaco-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--espaco-2) var(--espaco-3);
  list-style: none;
}

.destaques li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--raio-pill);
  border: 1px solid rgba(133, 200, 255, 0.25);
  background: rgba(11, 42, 114, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--texto-claro);
  font-size: var(--texto-fluido-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.destaques li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cor-azul-claro);
  box-shadow: 0 0 8px rgba(85, 201, 243, 0.8);
}

/* ===== Ações ===== */
.acoes {
  margin-top: var(--espaco-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--espaco-3);
}

.botao {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.15rem 2.3rem;
  border-radius: var(--raio-pill);
  font-family: var(--fonte-titulo);
  font-size: var(--texto-fluido-lg);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform var(--dur-rapida) var(--curva-suave),
    box-shadow var(--dur-media) var(--curva-suave),
    background-color var(--dur-rapida) ease;
  min-height: 60px;
}

/* Brilho que percorre os botões periodicamente */
.botao::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: varrer 4.5s ease-in-out infinite;
}

@keyframes varrer {
  0%, 55%  { left: -80%; }
  85%, 100% { left: 130%; }
}

.botao:focus-visible {
  outline: 3px solid var(--cor-azul-claro);
  outline-offset: 3px;
}

.botao svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.botao-whatsapp {
  background: linear-gradient(135deg, var(--cor-whatsapp) 0%, var(--cor-whatsapp-escuro) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 38px rgba(37, 211, 102, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.botao-whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 50px rgba(37, 211, 102, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.botao-instagram {
  background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 38px rgba(204, 35, 102, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.botao-instagram:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 50px rgba(204, 35, 102, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.botao:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===== Informações ===== */
.infos {
  margin-top: var(--espaco-4);
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--espaco-3) var(--espaco-5);
  font-size: var(--texto-fluido-sm);
  color: var(--texto-claro-suave);
}

.info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.info svg {
  width: 17px;
  height: 17px;
  color: var(--cor-azul-claro);
  flex-shrink: 0;
}

.info a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-rapida) ease;
}

.info a:hover,
.info a:focus-visible {
  color: var(--cor-azul-claro);
}

/* ===== Rodapé ===== */
.rodape {
  text-align: center;
  padding: var(--espaco-4) var(--espaco-3);
  font-size: 0.78rem;
  color: rgba(228, 240, 255, 0.45);
}

/* ===== Acessibilidade: movimento reduzido ===== */
@media (prefers-reduced-motion: reduce) {
  .fundo::before,
  .fundo::after,
  .bolha,
  .logo,
  .palco-logo::before,
  .botao::after,
  .selo .pulso {
    animation: none;
  }

  .cartao {
    animation-duration: 1ms;
  }

  .botao,
  .botao:hover {
    transition: none;
    transform: none;
  }
}

/* ===== Ajustes de tela pequena ===== */
@media (max-width: 420px) {
  .acoes {
    flex-direction: column;
    align-items: stretch;
  }

  .botao {
    justify-content: center;
  }
}
