/* =========================================================================
   Tempus.Legal — folha de estilo da página "Em breve"
   Baseada no BRAND_GUIDE.md (cores, tipografia, espaçamento, raios, sombras).
   ========================================================================= */

/* ---- Fontes da marca -------------------------------------------------- */
@font-face {
  font-family: "Oscine";
  src: url("../fonts/Oscine-Regular.woff2") format("woff2"),
       url("../fonts/Oscine-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oscine";
  src: url("../fonts/Oscine-Bold.woff2") format("woff2"),
       url("../fonts/Oscine-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* Núcleo da marca */
  --navy:        #093759;
  --orange:      #FF7F00;
  --gray-700:    #555555;
  --gray-400:    #AAAAAA;
  --white:       #FFFFFF;

  /* Família Azul (tints de apoio) */
  --navy-900: #072845;
  --navy-700: #0B4772;
  --navy-600: #13597F;
  --navy-500: #1F6D9A;
  --navy-400: #3A8DBE;
  --navy-050: #DCE8F2;

  /* Família Laranja */
  --orange-700: #FF6E2C;
  --orange-500: #FF9240;
  --orange-050: #FFF2E6;

  /* Gradientes oficiais */
  --grad-depth:  linear-gradient(135deg, #093759 0%, #13597F 100%);
  --grad-energy: linear-gradient(120deg, #093759 0%, #FF7F00 100%);

  /* Espaçamento (múltiplos de 8) */
  --s-1: 8px;  --s-2: 16px;  --s-3: 24px;  --s-4: 32px;  --s-6: 48px;  --s-8: 64px;

  /* Raios de borda */
  --r-1: 4px;  --r-2: 8px;  --r-3: 12px;  --r-4: 16px;

  /* Sombras suaves (preto 8–15%, blur 8–16px+) */
  --shadow-soft: 0 8px 24px rgba(7, 40, 69, 0.12);
  --shadow-card: 0 28px 70px rgba(2, 18, 33, 0.45), 0 8px 24px rgba(2, 18, 33, 0.28);

  /* Tipografia */
  --font-display: "Oscine", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset enxuto ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--navy-900);
  background-image:
    radial-gradient(1100px 700px at 78% -8%, rgba(31, 109, 154, 0.45), transparent 60%),
    radial-gradient(900px 600px at 8% 108%, rgba(11, 71, 114, 0.5), transparent 60%),
    linear-gradient(160deg, #0a3a5e 0%, #093759 45%, #072845 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* =========================================================================
   Fundo decorativo (brilhos + grade de pontos) — "grid de dados" / "glow"
   ========================================================================= */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.glow--orange {
  width: 38vw; height: 38vw;
  min-width: 320px; min-height: 320px;
  top: -14vw; right: -10vw;
  background: radial-gradient(circle, rgba(255, 127, 0, 0.55), rgba(255, 127, 0, 0) 70%);
  opacity: 0.4;
}
.glow--blue {
  width: 46vw; height: 46vw;
  min-width: 360px; min-height: 360px;
  bottom: -18vw; left: -14vw;
  background: radial-gradient(circle, rgba(58, 141, 190, 0.5), rgba(58, 141, 190, 0) 70%);
}
.grid-dots {
  position: absolute;
  inset: -2px;
  background-image: radial-gradient(rgba(220, 232, 242, 0.10) 1px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 78%);
          mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 78%);
}

/* =========================================================================
   Palco / cartão
   ========================================================================= */
.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-4);
  padding: clamp(28px, 5.2vw, 60px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  isolation: isolate;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Barra de acento no topo do cartão — gradiente "Energia" da marca */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-energy);
}

/* ---- Cantos modulares (assinatura) ------------------------------------ */
.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
}
.corner--tl { top: 18px; left: 18px;  border-top: 2px solid var(--orange);    border-left: 2px solid var(--orange); }
.corner--br { bottom: 18px; right: 18px; border-bottom: 2px solid var(--orange); border-right: 2px solid var(--orange); }
.corner--tr { top: 18px; right: 18px; border-top: 2px solid var(--navy-400);  border-right: 2px solid var(--navy-400); }
.corner--bl { bottom: 18px; left: 18px;  border-bottom: 2px solid var(--navy-400); border-left: 2px solid var(--navy-400); }

/* ---- Cabeçalho / logo ------------------------------------------------- */
.card__head { margin-bottom: clamp(20px, 4vw, 32px); }
.logo {
  width: clamp(190px, 42vw, 270px);
  height: auto;
}

/* ---- Kicker "Em breve" ------------------------------------------------ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: var(--s-2);
}
.kicker__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 127, 0, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

/* ---- Headline --------------------------------------------------------- */
.headline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-3);
}
.headline__accent { color: var(--orange); }

/* ---- Subheadline ------------------------------------------------------ */
.subheadline {
  font-size: clamp(1.08rem, 2.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--navy-600);
  max-width: 30ch;
  margin-bottom: var(--s-4);
}

/* ---- Texto corrido ---------------------------------------------------- */
.lead {
  display: grid;
  gap: var(--s-2);
  max-width: 64ch;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--gray-700);
}
.lead strong { color: var(--navy); font-weight: 700; }

/* ---- Pilares ---------------------------------------------------------- */
.pillars {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.pillar {
  padding-top: var(--s-3);
  border-top: 1.5px solid var(--navy-050);
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pillar:nth-child(1) { animation-delay: 0.10s; }
.pillar:nth-child(2) { animation-delay: 0.18s; }
.pillar:nth-child(3) { animation-delay: 0.26s; }

.pillar__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-3);
  background: var(--navy-050);
  color: var(--navy);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar__icon::after {        /* pequeno detalhe laranja — assinatura dos ícones */
  content: "";
  position: absolute;
  top: -3px; right: -3px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--white);
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 14px 0 6px;
}
.pillar__text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--gray-700);
}

/* ---- Fechamento ------------------------------------------------------- */
.closing {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1.5px solid var(--navy-050);
}
.closing__main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  line-height: 1.2;
  color: var(--navy);
}
.closing__sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  color: var(--orange);
}
.closing__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 127, 0, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

/* ---- Rodapé da página (fora do cartão) -------------------------------- */
.page-footer {
  margin-top: clamp(20px, 4vw, 32px);
  text-align: center;
  color: rgba(220, 232, 242, 0.58);
  font-size: 0.82rem;
  line-height: 1.7;
}
.page-footer__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.82);
}
.page-footer__copyright {
  margin: 6px auto 0;
  max-width: 60ch;
  color: rgba(220, 232, 242, 0.48);
}
.page-footer__ceo {
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(220, 232, 242, 0.38);
}
.page-footer__ceo a {
  color: rgba(220, 232, 242, 0.6);
  text-decoration: none;
}
.page-footer__ceo a:hover,
.page-footer__ceo a:focus-visible { color: var(--orange-500); text-decoration: underline; }

/* ---- Foco acessível --------------------------------------------------- */
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =========================================================================
   Animações
   ========================================================================= */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%        { box-shadow: 0 0 0 0 rgba(255, 127, 0, 0.5); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(255, 127, 0, 0); }
}

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; gap: var(--s-2); }
  .pillar  { padding-top: var(--s-2); }
  .corner  { width: 16px; height: 16px; top: 14px; left: 14px; }
  .corner--tr, .corner--br { left: auto; right: 14px; }
  .corner--bl, .corner--br { top: auto; bottom: 14px; }
  .subheadline { max-width: none; }
}

/* =========================================================================
   Preferências de movimento reduzido
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .card, .pillar { animation: none; }
  .kicker__dot, .closing__dot { animation: none; }
}
