/**
 * ============================================================
 * PERFECT LAYOUT MERCHANDISING — página "site em construção"
 * ------------------------------------------------------------
 * Folha de estilo exclusiva da página provisória. É totalmente
 * independente de style.css e fx.css: mexer no site definitivo
 * nunca quebra a página que está no ar.
 *
 * Blocos: 01 tokens · 02 base · 03 fundo · 04 conteúdo
 *         05 canais · 05.1 acesso ao sistema · 06 rodapé
 *         07 responsividade
 * ============================================================
 */

/* ============================================================
   01. TOKENS — mesmas cores de assets/css/style.css
   ============================================================ */
:root {
  /* Cores oficiais da marca, amostradas de assets/img/logo.png */
  --brand-gold: #C4A75A;
  --brand-green: #92B41B;
  --brand-yellow: #F1B219;
  --brand-teal: #1B99A5;
  --brand-red: #C40318;

  --navy: #0B1F3A;            /* azul institucional do site */
  --navy-500: #1B4272;
  --gold-soft: #DCCB9F;       /* dourado claro, para fundo escuro */
  --texto: rgba(255, 255, 255, .78);

  --font-title: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --transicao: .28s cubic-bezier(.4, 0, .2, 1);
}

/* ============================================================
   02. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--texto);
  background: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ============================================================
   03. FUNDO — gradiente, luzes e marca d'água do símbolo
   ============================================================ */
.fundo {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 78% 12%, rgba(47, 95, 148, .60) 0%, transparent 60%),
    radial-gradient(60% 60% at 8% 92%, rgba(196, 167, 90, .18) 0%, transparent 60%),
    linear-gradient(160deg, #0B1F3A 0%, #0d2647 55%, #0B1F3A 100%);
}

/* Luzes coloridas com as cores da marca */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  mix-blend-mode: screen;
}
.orb--gold  { width: 420px; height: 420px; background: rgba(196, 167, 90, .45); top: -12%; left: 4%; }
.orb--teal  { width: 360px; height: 360px; background: rgba(27, 153, 165, .40); bottom: -14%; right: 6%; }
.orb--green { width: 300px; height: 300px; background: rgba(146, 180, 27, .26); top: 42%; right: 28%; }

/* Marca d'água com o símbolo oficial */
.brandmark {
  position: fixed;
  right: -6%;
  bottom: -20%;
  height: clamp(320px, 68vh, 760px);
  aspect-ratio: 712 / 1240;          /* proporção de logo-simbolo.svg */
  background: url("../img/logo-simbolo.svg") no-repeat center / contain;
  opacity: .06;
  rotate: -8deg;
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   04. CONTEÚDO
   ============================================================ */
.conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(100% - 2.5rem, 880px);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.logo { width: clamp(260px, 60vw, 430px); margin-bottom: clamp(2rem, 1rem + 3vw, 3rem); }

.selo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-gold);
  background: rgba(196, 167, 90, .1);
  border: 1px solid rgba(196, 167, 90, .32);
  padding: .5rem 1.15rem;
  border-radius: 100px;
  margin: 0 0 1.6rem;
}

/* Ponto pulsante do selo */
.pulso {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 0 rgba(196, 167, 90, .7);
  animation: pulsar 2.4s ease-out infinite;
}
@keyframes pulsar {
  0%   { box-shadow: 0 0 0 0 rgba(196, 167, 90, .7); }
  70%  { box-shadow: 0 0 0 12px rgba(196, 167, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 167, 90, 0); }
}

h1 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 1.25rem + 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 1rem;
}
h1 .destaque {
  background: linear-gradient(100deg, var(--brand-gold) 20%, var(--gold-soft) 55%, var(--brand-gold) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1rem, .96rem + .3vw, 1.1rem);
  max-width: 52ch;
  margin: 0 auto clamp(2.2rem, 1.5rem + 2vw, 3rem);
}

/* ============================================================
   05. CANAIS DE CONTATO
   ============================================================ */
.canais {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.canal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  transition: var(--transicao);
}
.canal:hover,
.canal:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .075);
  border-color: rgba(196, 167, 90, .5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.canal svg { width: 26px; height: 26px; flex: none; }

/* rótulo em cima, valor embaixo */
.canal .texto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  min-width: 0;
}
.canal .rotulo {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.canal .valor {
  font-family: var(--font-title);
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  /* só quebra a palavra quando realmente não couber (e-mail longo) */
  overflow-wrap: anywhere;
}

/* Cada canal recebe a cor de uma das setas do símbolo */
.canal--whatsapp svg { color: var(--brand-green); }
.canal--email svg    { color: var(--brand-teal); }
.canal--instagram svg { color: var(--brand-red); }

/* ============================================================
   05.1 ACESSO INTERNO AO SISTEMA DE GESTÃO
   ------------------------------------------------------------
   Painel web usado pela equipe do escritório (os promotores em
   campo usam o aplicativo). Vem depois dos canais de contato e em
   tom neutro de propósito: quem chega ao domínio é, na maioria,
   visitante procurando a empresa. O dourado — cor das ações da
   marca — só entra no hover, para quem foi atrás do link.
   ============================================================ */
.acesso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  margin-top: clamp(2rem, 1.4rem + 2vw, 2.8rem);
  padding-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
  width: 100%;
}

.acesso__chamada {
  margin: 0;
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}

.acesso__botao {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .82);
  padding: .8rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  background: rgba(255, 255, 255, .045);
  transition: var(--transicao);
}
.acesso__botao:hover,
.acesso__botao:focus-visible {
  color: var(--brand-gold);
  border-color: rgba(196, 167, 90, .5);
  background: rgba(196, 167, 90, .1);
  transform: translateY(-2px);
}

.acesso__botao svg { width: 19px; height: 19px; flex: none; }

/* ============================================================
   06. RODAPÉ E FAIXA DE CORES
   ============================================================ */
.rodape {
  text-align: center;
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
  padding: 1.5rem 1.25rem 2rem;
}
.rodape strong { color: rgba(255, 255, 255, .72); font-weight: 600; }
.rodape .sep { margin-inline: .5rem; color: var(--brand-gold); }

/* Faixa com as quatro cores do símbolo */
.faixa {
  display: flex;
  height: 6px;
  width: 100%;
}
.faixa span { flex: 1; }
.faixa span:nth-child(1) { background: var(--brand-green); }
.faixa span:nth-child(2) { background: var(--brand-yellow); }
.faixa span:nth-child(3) { background: var(--brand-teal); }
.faixa span:nth-child(4) { background: var(--brand-red); }

/* ============================================================
   07. RESPONSIVIDADE E REDUÇÃO DE MOVIMENTO
   ============================================================ */
@media (max-width: 680px) {
  .canais { grid-template-columns: 1fr; gap: .75rem; }
  .canal { flex-direction: row; justify-content: flex-start; text-align: left; gap: 1rem; padding: 1.1rem 1.25rem; }
  .canal .texto { align-items: flex-start; }
  .brandmark { height: 300px; bottom: -10%; opacity: .05; }
}

@media (prefers-reduced-motion: reduce) {
  .pulso { animation: none; }
  .canal,
  .acesso__botao { transition: none; }
  .canal:hover,
  .acesso__botao:hover { transform: none; }
}
