/* SoloMapa — estilos próprios do site, comuns às páginas que usam Tailwind.
   O utilitário Tailwind é compilado em assets/css/tailwind.css (ver README). */

:root {
  --background: #FFFFFF;
  --ink: #000000;
  --muted: #6F6F6F;
  --hairline: rgba(0,0,0,0.08);
  --soft: #F5F5F4;
}
html, body { background: var(--background); }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.font-display { font-family: 'Instrument Serif', ui-serif, Georgia, serif; font-weight: 400; }
.italic-display { font-family: 'Instrument Serif', ui-serif, Georgia, serif; font-style: italic; font-weight: 400; }

/* Títulos */
.headline { line-height: 0.95; letter-spacing: -2.46px; }
.section-title { line-height: 1.05; letter-spacing: -1.5px; padding-bottom: 0.1em; }

/* Entrada dos blocos */
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-rise         { opacity: 0; animation: fadeRise 0.8s ease-out forwards; }
.animate-fade-rise-delay   { opacity: 0; animation: fadeRise 0.8s ease-out 0.2s forwards; }
.animate-fade-rise-delay-2 { opacity: 0; animation: fadeRise 0.8s ease-out 0.4s forwards; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease-out, transform .9s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Botões e links */
.cta { transition: transform 200ms ease, background-color 200ms ease; }
.cta:hover { transform: scale(1.03); }
.cta-ghost { transition: color 200ms ease, border-color 200ms ease; }
.cta-ghost:hover { color: #000; border-color: #000; }
.nav-link { transition: color 200ms ease; }
.nav-link:hover { color: #000; }

/* Cartões */
.module-card { transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease; }
.module-card:hover { transform: translateY(-4px); border-color: rgba(0,0,0,0.18); }
.feature-card { transition: transform 300ms ease, border-color 300ms ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(0,0,0,0.18); }

.hairline-t { border-top: 1px solid var(--hairline); }
.hairline-b { border-bottom: 1px solid var(--hairline); }

.badge-novo {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  background: #111;
  color: #fff;
}

/* Seta do fluxo (Labs) */
.flow-arrow {
  flex: 1 1 0;
  height: 1px;
  background: rgba(0,0,0,0.18);
  position: relative;
  min-width: 24px;
}
.flow-arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid rgba(0,0,0,0.4);
  border-top: 1px solid rgba(0,0,0,0.4);
  transform: translateY(-50%) rotate(45deg);
}

/* Imagem do hero (Labs / Consultor) */
.hero-image-wrap {
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 70%, rgba(255,255,255,1) 100%);
}

/* Vídeo de fundo do hero (home): começa abaixo do título, desce
   conforme a tela estreita e o texto cresce em altura. */
.hero-video-bg { position: absolute; left: 0; right: 0; bottom: 0; top: 600px; z-index: 0; overflow: hidden; }
@media (min-width: 640px)  { .hero-video-bg { top: 560px; } }
@media (min-width: 768px)  { .hero-video-bg { top: 480px; } }
@media (min-width: 1024px) { .hero-video-bg { top: 380px; } }
@media (min-width: 1280px) { .hero-video-bg { top: 300px; } }

/* Menu das telas estreitas (montado por assets/js/site.js) */
.botao-menu {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 10px;
  border: 1px solid rgba(0,0,0,0.15); border-radius: 999px;
  background: #fff; color: #000; font: inherit; font-size: 14px; cursor: pointer;
}
.botao-menu[aria-expanded="true"] { background: #000; color: #fff; border-color: #000; }
@media (min-width: 1024px) { .botao-menu { display: none; } }
.menu-movel {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: #fff; padding: 12px 32px 20px;
}
.menu-movel[hidden] { display: none; }
.menu-movel ul { list-style: none; margin: 0; padding: 0; }
.menu-movel li a { display: block; padding: 12px 0; font-size: 17px; color: #000; }
.menu-movel li + li a { border-top: 1px solid var(--hairline); }
.menu-movel .idiomas { display: flex; gap: 14px; margin-top: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu-movel .idiomas .atual { color: #000; }

/* Quem pediu menos movimento vê tudo no estado final */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-rise, .animate-fade-rise-delay, .animate-fade-rise-delay-2 { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cta, .cta-ghost, .nav-link, .module-card, .feature-card { transition: none; }
  .cta:hover, .module-card:hover, .feature-card:hover { transform: none; }
}
