/* =============================================
   VARIÁVEIS & RESET
   ============================================= */
:root {
  --az:  #1B3A6B;
  --azd: #0f2347;
  --azm: #1a3060;
  --azc: #162d5a;
  --vd:  #2BC149;
  --vdd: #22a03b;
  --br:  #fff;
  --mu:  #a8bbd4;
  --fa:  #607896;
  --bo:  rgba(255, 255, 255, 0.09);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--azd);
  color: #fff;
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

/* =============================================
   NAVEGAÇÃO
   ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(15, 35, 71, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bo);
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-in {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
}

.logo-ic {
  width: 38px;
  height: 38px;
  background: var(--vd);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.vd {
  color: var(--vd);
}

.nl {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nl a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--mu);
  transition: color .2s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nl a:hover,
.nl a.at {
  color: #fff;
}

.nl a.at {
  color: var(--vd);
}

.btn-nv {
  background: var(--vd);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  padding: .5rem 1.2rem;
  border-radius: 6px;
  border: none;
  transition: background .2s;
}

.btn-nv:hover {
  background: var(--vdd);
}

.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Menu mobile */
.mob {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 998;
  background: var(--azd);
  border-bottom: 1px solid var(--bo);
  padding: 1.5rem;
  flex-direction: column;
  gap: .5rem;
}

.mob.ab {
  display: flex;
}

.mob button {
  background: none;
  border: none;
  color: var(--mu);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: .75rem 0;
  border-bottom: 1px solid var(--bo);
  transition: color .2s;
}

.mob button:last-child {
  border: none;
}

.mob button:hover {
  color: var(--vd);
}

/* =============================================
   SISTEMA DE PÁGINAS (SPA)
   ============================================= */
main {
  padding-top: 68px;
}

.pg {
  display: none;
}

.pg.at {
  display: block;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  background: linear-gradient(160deg, var(--azd) 0%, var(--azm) 60%, var(--azd) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(43, 193, 73, .1) 0%, transparent 65%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(43, 193, 73, .12);
  border: 1px solid rgba(43, 193, 73, .3);
  color: var(--vd);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--vd);
}

.hero p {
  font-size: 1.05rem;
  color: var(--mu);
  margin: 0 auto 2rem;
  max-width: 620px;
}

.hero-bt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* Botões primário e secundário */
.bp {
  background: var(--vd);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  padding: .8rem 1.8rem;
  border-radius: 8px;
  border: none;
  transition: background .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}

.bp:hover {
  background: var(--vdd);
  transform: translateY(-2px);
}

.bs {
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: .8rem 1.8rem;
  border-radius: 8px;
  border: 1px solid var(--bo);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}

.bs:hover {
  border-color: var(--vd);
  background: rgba(43, 193, 73, .08);
}

/* Estatísticas */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

.stat span:first-child {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--vd);
}

.stat span:last-child {
  font-size: .75rem;
  color: var(--mu);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* =============================================
   BENEFÍCIOS
   ============================================= */
.ben-sec {
  padding: 4rem 1.5rem;
  background: var(--azm);
}

.sec-in {
  max-width: 1200px;
  margin: 0 auto;
}

.sec-ct {
  text-align: center;
}

.slbl {
  color: var(--vd);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: .5rem;
}

.sec-ct h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: .75rem;
}

.sub {
  color: var(--mu);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.ben-gr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.bc {
  background: var(--azc);
  border: 1px solid var(--bo);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform .2s, box-shadow .2s;
}

.bc:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(43, 193, 73, .15);
}

.bc .ico {
  font-size: 1.8rem;
  margin-bottom: .75rem;
}

.bc h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.bc p {
  font-size: .875rem;
  color: var(--mu);
}

/* =============================================
   BANCAS (HOME)
   ============================================= */
.bn-sec {
  padding: 4rem 1.5rem;
}

.bn-gr {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.bb {
  background: var(--azc);
  border: 1px solid var(--bo);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.bb:hover {
  border: 1px solid var(--vd);
  box-shadow: 0 4px 20px rgba(43, 193, 73, .15);
}

.bb .bi {
  font-size: 1.8rem;
}

.bb .bn {
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  color: var(--vd);
}

.bb .bs2 {
  font-size: .75rem;
  color: var(--mu);
}

/* =============================================
   GARANTIA
   ============================================= */
.gar {
  background: var(--azm);
  border-top: 1px solid var(--bo);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.gar h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  margin-bottom: .75rem;
}

.gar h2 span {
  color: var(--vd);
}

.gar p {
  color: var(--mu);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

/* =============================================
   PÁGINA DE PRODUTOS
   ============================================= */
.ph {
  background: linear-gradient(135deg, var(--azd), var(--azm));
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.ph h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  margin-bottom: .5rem;
}

.ph p {
  color: var(--mu);
  font-size: 1rem;
}

.pa {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

/* Filtros */
.fil {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.fb {
  background: var(--azc);
  color: var(--mu);
  border: 1px solid var(--bo);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  transition: all .2s;
}

.fb:hover {
  border-color: var(--vd);
  color: #fff;
}

.fb.at {
  background: var(--vd);
  color: #000;
  border-color: var(--vd);
}

/* Grid de produtos */
.pg-gr {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.pc {
  background: var(--azc);
  border: 1px solid var(--bo);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.pc:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(43, 193, 73, .18);
}

/* Imagem/capa do card */
.ci {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--az) 0%, var(--azm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.btag {
  position: absolute;
  top: .6rem; left: .6rem;
  background: var(--vd);
  color: #000;
  font-size: .65rem;
  font-weight: 800;
  padding: .2rem .55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Miniatura do PDF */
/* Área de amostra real do PDF no card */
.pm {
  /* ocupa toda a área da capa (.ci) */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* ou var(--azc), se preferir */
  overflow: hidden;
}

/* Caixa interna que contém imagem e navegação */
.pmc {
  position: relative;
  max-width: 100%;
}

/* Imagem da amostra */
.pm-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

/* Botões de navegação da amostra */
.pm-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
}

.pm-prev {
  left: 8px;
}

.pm-next {
  right: 8px;
}

/* Contador 1/3 etc. */
.pm-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Corpo e rodapé do card */
.cb {
  padding: 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.cb h3 {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
}

.cb p {
  font-size: .8rem;
  color: var(--mu);
  flex: 1;
}

.tgs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .25rem;
}

.tg {
  background: rgba(43, 193, 73, .1);
  border: 1px solid rgba(43, 193, 73, .25);
  color: var(--vd);
  font-size: .62rem;
  font-weight: 700;
  padding: .18rem .45rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.cf {
  padding: .85rem 1.1rem;
  border-top: 1px solid var(--bo);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.pr {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--vd);
}

.pr small {
  display: block;
  font-size: .65rem;
  color: var(--mu);
  font-weight: 400;
}

.cb2 {
  display: flex;
  gap: .4rem;
}

.bv {
  background: transparent;
  color: var(--mu);
  border: 1px solid var(--bo);
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  padding: .45rem .7rem;
  border-radius: 6px;
  transition: all .2s;
}

.bv:hover {
  border-color: var(--vd);
  color: #fff;
}

.bco {
  background: var(--vd);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  padding: .45rem .8rem;
  border-radius: 6px;
  border: none;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.bco:hover {
  background: var(--vdd);
}

/* =============================================
   MODAL DE DETRALHES DO PRODUTO
   ============================================= */
.mo {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.mo.ab {
  display: flex;
}

/* MODAL EM UMA COLUNA: HEADER → PRÉVIA → AMOSTRA → FOOTER */
.mb {
  background: var(--azm);
  border: 1px solid var(--bo);
  border-radius: 16px;
  padding: 1.8rem;
  max-width: 900px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .7);
  max-height: 85vh;
  overflow: auto;          /* se faltar espaço, rola, não corta */
}

/* Botão fechar */
.mc {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--azc);
  border: 1px solid var(--bo);
  color: var(--mu);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.mc:hover {
  color: #fff;
}

/* Banca e título */
.mb-ba {
  color: var(--vd);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .25rem;
}

.mb-ti {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .25rem;
}

/* Subtítulo (concurso, cargo, ano, órgão) */
.mb-subtitle {
  font-size: .8rem;
  color: var(--mu);
  margin-bottom: 1rem;
}

/* Prévia do conteúdo */
.mb-pv {
  background: var(--azd);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.mb-pv h4 {
  font-size: .72rem;
  color: var(--vd);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}

.mb-tc {
  list-style: none;
}

.mb-tc li {
  font-size: .8rem;
  color: var(--mu);
  padding: .4rem 0;
  border-bottom: 1px solid var(--bo);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.mb-tc li:last-child {
  border: none;
}

.mb-tc li::before {
  content: "✓";
  color: var(--vd);
  font-weight: 700;
  flex-shrink: 0;
}

/* Amostra do PDF */
.mb-sub {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

/* Caixa da imagem da amostra */
.pm-slides {
  flex: 1;
  min-height: 260px;
  background: var(--azd);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;          /* IMPORTANTE para posicionar os botões dentro */
}

/* Imagem da amostra – sem cortar */
.pm-slides img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Navegação da amostra */
/* Contêiner da navegação (contador apenas) */
.pm-nav {
  margin-top: .4rem;
  display: flex;
  align-items: center;
  justify-content: center;   /* contador centralizado */
  gap: .5rem;

}

/* Botões de navegação sobre a imagem (esquerda/direita) */
.pm-prev,
.pm-next {
  position: absolute;              /* Ficam por cima da imagem */
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--bo);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Lado esquerdo e direito da amostra */
.pm-prev {
  left: 6px;
}

.pm-next {
  right: 6px;
}

.pm-prev:hover,
.pm-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Contador permanece abaixo da imagem */
.pm-counter {
  font-size: .78rem;
  color: var(--mu);
}

/* Footer: preço + botão */
.mb-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mb-pr {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--vd);
}

.bkw {
  background: var(--vd);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .875rem;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  border: none;
  flex: 1;
  text-align: center;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-decoration: none;
}

.bkw:hover {
  background: var(--vdd);
}

/* Mobile: já é 1 coluna, só ajusta espaços */
@media (max-width: 720px) {
  .mb {
    padding: 1.4rem;
    max-width: 95vw;
    max-height: 90vh;
  }

  .mb-ft {
    flex-direction: column;
    align-items: stretch;
  }

  .mb-pr {
    text-align: center;
  }

}

/* =============================================
   PÁGINA SOBRE
   ============================================= */
.sh {
  background: linear-gradient(135deg, var(--azd), var(--azm));
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.sh h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  margin-bottom: .75rem;
}

.sh p {
  color: var(--mu);
  max-width: 580px;
  margin: 0 auto;
}

.sc {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sb {
  background: var(--azc);
  border: 1px solid var(--bo);
  border-radius: 12px;
  padding: 1.75rem 2rem;
}

.sb h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--vd);
  margin-bottom: 1rem;
}

.sb p {
  color: var(--mu);
  font-size: .95rem;
  line-height: 1.75;
}

.sb p + p {
  margin-top: .75rem;
}

.sb ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .75rem;
}

.sb li {
  display: flex;
  gap: .6rem;
  color: var(--mu);
  font-size: .95rem;
}

.sb li::before {
  content: "✓";
  color: var(--vd);
  font-weight: 700;
  flex-shrink: 0;
}

.chs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .75rem;
}

.ch {
  background: rgba(43, 193, 73, .1);
  border: 1px solid rgba(43, 193, 73, .3);
  color: var(--vd);
  font-size: .875rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: inherit;
}

.ch:hover {
  background: var(--vd);
  color: #000;
}

/* =============================================
   PÁGINA CONTATO
   ============================================= */
.cth {
  background: linear-gradient(135deg, var(--azd), var(--azm));
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.cth h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  margin-bottom: .75rem;
}

.cth p {
  color: var(--mu);
  margin: 0 auto;
}

.ctc {
  max-width: 840px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cds {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cd {
  background: var(--azc);
  border: 1px solid var(--bo);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cd .ic {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cd h3 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.cd p,
.cd a {
  font-size: .875rem;
  color: var(--mu);
}

.cd a:hover {
  color: var(--vd);
}

/* Formulário */
.fb2 {
  background: var(--azc);
  border: 1px solid var(--bo);
  border-radius: 12px;
  padding: 1.75rem;
}

.fb2 h2 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.fg {
  margin-bottom: 1rem;
}

.fg label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--mu);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .4rem;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  background: var(--azd);
  border: 1px solid var(--bo);
  color: #fff;
  font-size: .875rem;
  font-family: inherit;
  padding: .65rem .85rem;
  border-radius: 7px;
  outline: none;
  transition: border-color .2s;
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--vd);
}

.fg textarea {
  resize: vertical;
  min-height: 110px;
}

.fg select option {
  background: var(--azd);
}

.fok {
  display: none;
  background: rgba(43, 193, 73, .12);
  border: 1px solid rgba(43, 193, 73, .35);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  color: var(--vd);
  font-weight: 700;
  margin-top: 1rem;
  font-size: .9rem;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--azd);
  border-top: 1px solid var(--bo);
  padding: 3rem 1.5rem 2rem;
}

.fi {
  max-width: 1200px;
  margin: 0 auto;
}

.ft {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.fb3 p {
  font-size: .875rem;
  color: var(--mu);
  margin-top: .75rem;
  max-width: 300px;
  line-height: 1.6;
}

.fc h4 {
  font-size: .75rem;
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.fc ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.fc button {
  background: none;
  border: none;
  color: var(--mu);
  font-size: .875rem;
  text-align: left;
  padding: 0;
  transition: color .2s;
}

.fc button:hover {
  color: var(--vd);
}

.fb4 {
  border-top: 1px solid var(--bo);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.fb4 p {
  font-size: .75rem;
  color: var(--fa);
}

.seg {
  font-size: .75rem;
  color: var(--mu);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */
@media (max-width: 900px) {
  .ft  { grid-template-columns: 1fr 1fr; }
  .ctc { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nl, .btn-nv { display: none; }
  .ham         { display: flex; }
  .ft          { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* === CORREÇÃO MODAL (VERSÃO FINAL) === */
.pm-slides {
  width: 100%;
  min-height: 260px;
  background: var(--azd);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;        /* NÃO deixa a imagem “vazar” */
  position: relative;      /* Necessário para os botões pm-prev/pm-next */
  padding: 12px;
}

.pm-slides img {
  width: 100%;             /* Ocupa toda a largura disponível */
  height: 100%;            /* Ocupa a altura da caixa */
  max-width: 100%;
  max-height: 70vh;        /* Limita a altura a 70% da tela */
  object-fit: contain;     /* Mostra a imagem inteira, sem cortar */
  object-position: center; /* Centraliza a imagem */
  display: block;
}

/* Botões de navegação por cima da imagem */
.pm-prev,
.pm-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--bo);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
}

.pm-prev {
  left: 6px;
  z-index: 30;
}

.pm-next {
  right: 6px;
  z-index: 30;
}

.pm-prev:hover,
.pm-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Versão para telas menores (celular) */
@media (max-width: 720px) {
  .pm-slides {
    min-height: 180px;
    padding: 8px;
  }

  .pm-slides img {
    max-height: 45vh;      /* Um pouco menor para caber melhor no celular */
  }
}