/* ==========================================================================
   MONTEIROS TOUR · Estilos das páginas editoriais indexáveis
   ========================================================================== */
body.pagina-editorial {
  overflow: auto;
  background: var(--areia);
  color: var(--tinta);
}

.ed-topo {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(2, 42, 45, 0.94);
  backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ed-marca img {
  height: 40px;
  width: auto;
}

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

.ed-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 12px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.ed-nav a:hover,
.ed-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.ed-nav a.ed-cta-topo {
  background: var(--turquesa);
  color: #fff;
}

.ed-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 18px 64px;
}

.ed-migalhas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--tinta-2);
  margin-bottom: 18px;
}

.ed-migalhas a {
  color: var(--petroleo);
  text-decoration: none;
  font-weight: 600;
}

.ed-migalhas a:hover {
  text-decoration: underline;
}

.ed-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--raio-g);
  padding: 24px;
  box-shadow: var(--sombra-1);
}

.ed-kicker {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--petroleo);
  background: var(--espuma);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ed-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.12;
  color: var(--petroleo-900);
  margin-bottom: 12px;
}

.ed-lead {
  font-size: 1.02rem;
  color: var(--tinta-2);
  margin-bottom: 18px;
}

.ed-fatos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ed-fato {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--petroleo-900);
  background: var(--areia);
  border: 1px solid var(--areia-forte);
  padding: 6px 12px;
  border-radius: 999px;
}

.ed-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ed-btn-primario,
.ed-btn-whats,
.ed-btn-secundario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ed-btn-primario {
  background: var(--grad-marca);
  color: #fff;
}

.ed-btn-whats {
  background: var(--verde-whats);
  color: #fff;
}

.ed-btn-secundario {
  background: var(--espuma);
  color: var(--petroleo-900);
}

.ed-btn-primario:hover,
.ed-btn-whats:hover,
.ed-btn-secundario:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.ed-hero-foto {
  border-radius: var(--raio);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--petroleo-900);
}

.ed-hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-secao {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--raio-g);
  padding: 24px;
  box-shadow: var(--sombra-1);
}

.ed-secao h2 {
  font-size: 1.4rem;
  color: var(--petroleo-900);
  margin-bottom: 12px;
}

.ed-secao h3 {
  font-size: 1.06rem;
  color: var(--petroleo-900);
  margin-bottom: 6px;
}

.ed-secao p + p {
  margin-top: 10px;
}

.ed-grade-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.ed-grade-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.ed-card {
  padding: 16px;
  border-radius: var(--raio);
  border: 1px solid var(--linha);
  background: #fcfdfd;
}

.ed-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--tinta-2);
}

.ed-card li + li {
  margin-top: 5px;
}

.ed-tabela {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.93rem;
}

.ed-tabela th,
.ed-tabela td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--linha);
}

.ed-tabela th {
  font-family: var(--f-display);
  color: var(--petroleo-900);
  background: var(--espuma);
}

.ed-galeria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ed-galeria figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--linha);
  background: #fff;
}

.ed-galeria img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ed-galeria figcaption {
  padding: 8px 10px;
  font-size: 0.8rem;
  color: var(--tinta-2);
}

.ed-rodape {
  margin-top: 32px;
  padding: 24px 18px;
  background: var(--petroleo-900);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.ed-rodape-interno {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.ed-rodape a {
  color: var(--pt-aqua);
  text-decoration: none;
}

.ed-rodape a:hover {
  text-decoration: underline;
}

.ed-rodape-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 820px) {
  .ed-topo {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
  }
  .ed-hero,
  .ed-grade-2,
  .ed-grade-3,
  .ed-galeria {
    grid-template-columns: 1fr;
  }
}
