:root {
  --brand: #0f70ff;
  --ink: #0f172a;
  --muted: #64748b;
  --nav-bg: #ffffff;
  --nav-fg: #0f172a;
  --nav-border: #e5e7eb;
  --section: #f8fafc;
  --band: #0b2447;
  --band-ink: #e2e8f0;
  --accent: #fbbf24;
  --card: #ffffff;
  --ring: #e5e7eb;
  --zero: #e5e7eb;
  /* ✅ usado na legenda do mapa */
}

/* ================= BASE ================= */
* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

/* Acessibilidade: esconder visualmente mantendo leitura por leitores de tela */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
}

/* ================= TOPBAR ================= */
.topbar {
  background: #0b2447;
  color: #cbd5e1;
  font-size: .9rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* Ícones e texto lado a lado */
.topbar .inline {
  display: flex;
  gap: 24px;
  align-items: center;
}

.topbar .inline span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar .inline img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}


/* ====== Topbar responsiva (mobile) ====== */
@media (max-width: 768px) {

  .topbar .inline span {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    /* 🔥 ícone em cima, texto embaixo */
    align-items: center;
  }

  .topbar .inline span .contact-text {
    display: none;
    margin-top: 6px;
    background: #0b2447;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: .85rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  }

  /* quando clicado */
  .topbar .inline span.active .contact-text {
    display: block;
  }
}



/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
}

.navbar .brand img {
  width: 140px;
  height: auto;
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--brand);
  font-size: 1.25rem;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  color: var(--nav-fg);
  opacity: .9;
  padding: .5rem .25rem;
  display: inline-block;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
}

.nav a:focus-visible,
.menu-btn:focus-visible,
.search-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Campo de busca também no desktop */
.nav .mobile-row {
  margin-left: 16px;
  display: flex;
  align-items: center;
}

.nav .search-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav .search-wrap input {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid var(--nav-border);
  border-radius: 10px;
  outline: none;
}

.nav .search-wrap .search-btn {
  border: 1px solid var(--nav-border);
  background: #fff;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.nav .search-wrap .search-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

@media (min-width:901px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 20px;
  }
}

/* Menu responsivo */
.menu-btn {
  display: none;
  border: 1px solid var(--nav-border);
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  margin: 4px 0;
}

@media (max-width:900px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--nav-border);
    padding: 14px 20px;
    flex-direction: column;
    z-index: 1000;
    /* ✅ garante que o menu fique acima do conteúdo */
  }

  .nav.open {
    display: flex
  }

  .menu-btn {
    display: block;
    margin-left: auto
  }
}

/* ================= HERO (com slides alternando) ================= */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}

/* camada de imagem */
.hero-slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(11, 36, 71, .85),
      rgba(11, 36, 71, .85)),
    url('../img/shopping.jpg') center/cover no-repeat;
  /* imagem padrão */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: fadeCycle 20s infinite;
  z-index: 1;
  border-radius: 0;
  /* remova se quiser arredondar as bordas */
}

/* segunda imagem */
.hero-slide.slide2 {
  background: linear-gradient(to bottom,
      rgba(11, 36, 71, .85),
      rgba(11, 36, 71, .85)),
    url('../img/rua.jpeg') center/cover no-repeat;
  animation-delay: 10s;
}

/* texto acima das imagens */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-text.active {
  opacity: 1;
  position: relative;
}

/* botão */
.header-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 12px;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.header-btn:hover {
  background: #005bdb;
}

.breadcrumb {
  opacity: .8;
  font-size: .95rem;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 6px 0 10px;
}

.hero p {
  opacity: .9;
  max-width: 760px;
  margin: 0 auto;
}

/* animação */
@keyframes fadeCycle {
  0% {
    opacity: 1;
  }

  45% {
    opacity: 1;
  }

  55% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 1;
  }
}

/* responsividade */
@media (max-width: 900px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* ================= SECTIONS ================= */
.section {
  padding: 70px 0;
  background: #fff
}

.section.alt {
  background: var(--section)
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

@media (max-width:900px) {
  .grid-2 {
    grid-template-columns: 1fr
  }
}

.media-stack {
  display: grid;
  gap: 16px
}

.media-stack img {
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(2, 8, 23, .08);
}

.badge {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: #0b2447;
  color: #fff;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(2, 8, 23, .18);
}

.relative {
  position: relative
}

.h3 {
  font-size: 1.6rem;
  margin: 0 0 12px
}

.lead {
  color: #334155;
  margin-bottom: 14px
}

.list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0
}

.list li {
  margin: 10px 0;
  color: #475569
}

/* ================= STATS (BAND) ================= */
.band {
  background:
    linear-gradient(to bottom, rgba(11, 36, 71, .98), rgba(11, 36, 71, .98));
  color: var(--band-ink);
  padding: 34px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}

@media (max-width:900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr)
  }
}

.stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff
}

.stat .label {
  color: #cbd5e1
}

.stat {
  display: flex;
  flex-direction: row;
  /* mantém a pilha vertical */
  align-items: center;
  /* centraliza tudo */
  justify-content: center;
  gap: 8px;
  /* espaço entre img, número e label */
  text-align: center;
}

.stat img {
  display: block;
  width: 70px;
  height: 70px;
  margin-bottom: 4px;
}

.stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.stat .label {
  color: #cbd5e1;
  font-size: 1rem;
}

/* ================= FEATURES ================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

@media (max-width:1000px) {
  .features {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width:700px) {
  .features {
    grid-template-columns: repeat(2, 1fr)
  }
}

.feature {
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(2, 8, 23, .04);
}

.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px
}

.feature h4 {
  margin: 0 0 6px
}

.feature p {
  color: #64748b;
  margin: 0
}

/* ================= PARTNERS ================= */
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

@media (max-width:900px) {
  .partners {
    grid-template-columns: repeat(2, 1fr)
  }
}

.partner {
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

/* ================= NEWSLETTER ================= */
.newsletter {
  background: #0b2447;
  color: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}


/* bloco de texto */
.newsletter .text-block {
  flex-shrink: 0;
}

#contact.section {
  margin-bottom: 60px;
}

.newsletter small {
  opacity: .9;
}

.form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0b2a57;
  color: #e2e8f0;
  width: 260px;
  /* tamanho original */
}

.form button {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.form button:hover {
  filter: brightness(1.05);
}

/* ================= MOBILE FIX SOMENTE ATÉ 600px ================= */
@media (max-width: 600px) {

  .newsletter {
    flex-direction: column;
    /* input e botão ficam um embaixo do outro */
    align-items: flex-start;
    padding: 22px;
    width: 100%;
  }

  .newsletter .text-block {
    width: 100%;
  }

  .form {
    width: 100%;
    flex-direction: column;
    /* coloca input + botão em coluna */
    gap: 10px;
    align-items: stretch;
  }

  .form input,
  .form button {
    width: 100%;
    max-width: 100%;
  }

  /* 🔥 garante espaçamento da seção no mobile */
  #contact.section {
    padding: 40px 0 !important;
    margin-bottom: 20px;
  }
}



/* ================= FOOTER ================= */
/* ====== Footer compacto ====== */
.footer {
  background-color: #0b2447;
  /* tom escuro coerente com o topo */
  color: #fff;
  padding: 8px 0;
  /* antes: provavelmente 20px+ */
  font-size: 0.85rem;
  /* texto menor */
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  /* linha sutil */
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer .copy {
  opacity: 0.8;
  letter-spacing: 0.3px;
}


/* ================= HELPERS ================= */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.mb-1 {
  margin-bottom: .5rem
}

.mb-2 {
  margin-bottom: 1rem
}

.mb-3 {
  margin-bottom: 1.5rem
}

/* ================= RESPONSIVO EXTRA ================= */
@media (max-width:900px) {
  .hero {
    padding: 64px 0;
    min-height: 320px;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: 2rem
  }

  .hero p {
    font-size: 1rem
  }
}

@media (max-width:600px) {
  .hero {
    padding: 56px 0;
    min-height: 280px;
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 1.7rem
  }

  .hero p {
    font-size: .95rem
  }
}

/* ================= MAP ================= */
.map-section {
  padding: 28px 0
}

.map-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px
}

.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.map-title {
  font-weight: 700
}

.legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .85rem;
  color: #334155;
  flex-wrap: wrap;
}

.legend .box {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 3px;
}


.box.c0 {
  background: #e5e7eb;
}

.box.c1 {
  background: #dbeafe;
}

.box.c2 {
  background: #bfdbfe;
}

.box.c3 {
  background: #93c5fd;
}

.box.c4 {
  background: #60a5fa;
}

.box.c5 {
  background: #3b82f6;
}

.box.c6 {
  background: #2563eb;
}

.box.c7 {
  background: #1d4ed8;
}


.map-root {
  height: 520px;
  width: 100%
}

/* ======= IMAGEM ALTERNANDO A CADA 6s ======= */
.media-stack {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.media-stack .swap-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.media-stack .swap-img.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

/* ===== CTA no header ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  /* mantém bom contraste com topbar/nav */
  box-shadow: 0 2px 10px rgba(15, 112, 255, .15);
  transition: transform .08s ease, filter .2s ease;
  /* garante bom espaçamento quando o nav cresce */
  margin-left: 8px;
}

.cta-btn:hover {
  filter: brightness(1.05)
}

.cta-btn:hover {
  background: #005bdb;
}

.cta-btn:active {
  transform: translateY(1px)
}

/* Responsivo: reduz levemente no celular */
@media (max-width:900px) {
  .cta-btn {
    padding: 9px 14px;
    font-size: .95rem;
    border-radius: 9px;
  }
}

/* Se quiser que o CTA “cole” na direita quando o nav está aberto no desktop */
@media (min-width:901px) {
  .navbar .container {
    display: flex;
    align-items: center;
    gap: 12px;
    /* um pouco menos de gap */
  }

  .nav {
    margin-left: auto;
  }

  /* empurra o CTA para a direita */
}

/* FORÇA espaçamento da newsletter independentemente de sobrescritas */
#contact.section {
  padding: 60px 0 !important;
}

#contact .newsletter {
  margin-bottom: 40px;
}

/*começa aqui*/
/* ================= AVALIAÇÃO (CARINHAS) ================= */

.faces {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.face-btn {
  background: #ffffff;
  border: 2px solid #e5e7eb;          /* cinza claro */
  border-radius: 14px;
  padding: 12px 10px;
  width: 72px;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  transition: all 0.2s ease;
}

.face-btn img {
  width: 42px;
  height: 42px;
}

/* Texto abaixo da carinha */
.face-btn span {
  font-size: 0.75rem;
  color: #475569;
  white-space: nowrap;
}

/* Hover desktop */
.face-btn:hover {
  border-color: #0f70ff;
  box-shadow: 0 4px 12px rgba(15, 112, 255, 0.15);
  transform: translateY(-2px);
}

/* Clique / seleção */
.face-btn:active,
.face-btn.selected {
  border-color: #0f70ff;
  background: #f0f6ff;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .faces {
    gap: 10px;
  }

  .face-btn {
    width: 64px;
    padding: 10px 8px;
  }

  .face-btn img {
    width: 38px;
    height: 38px;
  }

  .face-btn span {
    font-size: 0.7rem;
  }
}

.privacy-notice {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b2447;
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  z-index: 9999;
}

.privacy-notice p {
  margin: 0 0 10px;
  font-size: .9rem;
}

.privacy-notice a {
  color: #93c5fd;
  text-decoration: underline;
}

.privacy-notice button {
  background: #2563eb;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.privacy-notice button:hover {
  filter: brightness(1.1);
}

@media (max-width: 600px) {
  .privacy-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-notice button {
    align-self: flex-end;
  }
}
