/*
Theme Name: BR Analítica Provisório
Theme URI: https://analiticabr.com
Author: BR Analítica
Description: Página provisória da BR Analítica (estratégia e comunicação política) com a arte institucional em destaque e contatos clicáveis. Uso temporário enquanto o site definitivo é desenvolvido.
Version: 1.0
Requires at least: 5.0
Text Domain: br-analitica
*/

:root {
  --navy: #04203d;
  --navy-2: #0a2c52;
  --brand-blue: #0e3c7f;
  --brand-green: #0d7f43;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, .72);
}

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

html, body { background: var(--navy); color: var(--white); }

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

main { flex: 1; display: flex; flex-direction: column; }

/* HERO */
.hero {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  line-height: 0;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Áreas clicáveis por cima da arte (telefone, Instagram, e-mail) */
.hotspot {
  position: absolute;
  display: block;
  border-radius: 6px;
  transition: background .2s, box-shadow .2s;
}
.hotspot:hover, .hotspot:focus-visible {
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
  outline: none;
}
.hs-phone { left: 75%;   top: 66.5%; width: 16.5%; height: 9%; }
.hs-insta { left: 8%;    top: 77.8%; width: 15.5%; height: 4.4%; }
.hs-mail  { left: 72.8%; top: 77.8%; width: 20.6%; height: 4.4%; }

/* BARRA DE CONTATO */
.contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 28px 16px 22px;
  text-align: center;
  flex: 1;
}
.contact p.lead {
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--muted);
  margin-bottom: 18px;
}
.contact p.lead strong { color: var(--white); font-weight: 600; }

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .28);
  transition: transform .15s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.btn:hover { transform: translateY(-1px); border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-primary { background: var(--white); color: var(--navy); border-color: var(--white); font-weight: 600; }
.btn-primary:hover { background: var(--brand-green); border-color: var(--brand-green); color: var(--white); }

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  max-width: 720px;
  margin: 0 auto;
}
.brand img { width: 220px; height: auto; opacity: .92; }

.footer-note {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .04em;
}

@media (max-width: 640px) { .brand img { width: 180px; } }

/* Celular: a arte fica pequena, então os botões viram o caminho principal */
@media (max-width: 640px) {
  .hotspot { display: none; }
  .contact { padding: 24px 16px 20px; }
  .buttons { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; }
  .btn { justify-content: center; }
}

/* Telas largas: limita a altura da arte para os botões aparecerem sem rolar */
@media (min-width: 1100px) and (min-aspect-ratio: 16/10) {
  .hero { max-width: calc((100vh - 150px) * 1.6875); }
}
