/* =========================
   RESET E VARIÁVEIS
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --azul-principal: #0b4f6c;
  --azul-escuro: #08384e;
  --cinza-claro: #f4f6f8;
  --cinza-texto: #2f2f2f;
  --cinza-suave: #e6e9ec;
  --branco: #ffffff;
  --sombra-suave: rgba(0, 0, 0, 0.06);
  --sombra-media: rgba(0, 0, 0, 0.12);
  --radius: 10px;
  --transicao: 0.25s ease;
}

/* =========================
   BASE
========================= */
body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--cinza-texto);
  background-color: var(--cinza-claro);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--azul-principal);
  text-decoration: none;
  transition: color var(--transicao), opacity var(--transicao);
}

a:hover {
  color: var(--azul-escuro);
  opacity: 0.8;
}

/* =========================
   TÍTULOS GERAIS
========================= */
h1, h2, h3 {
  color: var(--azul-principal);
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 25px;
}

h2 {
  font-size: 1.9rem;
  margin: 40px 0 15px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

/* =========================
   CABEÇALHO EDITORIAL PREMIUM
========================= */
.cabecalho-editorial {
  text-align: center;
  padding: 50px 20px 40px;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, rgba(11,79,108,0.08), rgba(11,79,108,0));
  border-radius: 12px;
}

.cabecalho-editorial h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.subtitulo-editorial {
  font-size: 1.25rem;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* HERO */
.hero-editorial {
  background-image: url('../img/dicas/capa-viagem-dicas.png');
  background-size: cover;
  background-position: center;
  padding: 90px 20px;
  color: white;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-editorial h1,
.hero-editorial .subtitulo-editorial {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* =========================
   CONTAINERS GERAIS
========================= */
.pagina-dicas,
.container-dicas,
.conteudo-dica {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.hero-dica img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 35px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* =========================
   CABEÇALHO DA LISTA DE DICAS
========================= */
.cabecalho-dicas {
  text-align: center;
  margin-bottom: 60px;
}

.cabecalho-dicas p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

/* =========================
   GRID DE CARDS
========================= */
.lista-dicas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* =========================
   CARDS DE DICAS
========================= */
.card-dica {
  background-color: var(--branco);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px var(--sombra-suave);
  border: 1px solid var(--cinza-suave);
  transition: transform var(--transicao), box-shadow var(--transicao);
  overflow: hidden;
}

.card-dica:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px var(--sombra-media);
}

.card-dica .card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-dica h2,
.card-dica p,
.card-dica a {
  padding: 0 25px;
}

.card-dica h2 {
  margin-top: 20px;
}

.card-dica p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #444;
}

/* =========================
   ARTIGOS INDIVIDUAIS
========================= */
.conteudo-dica {
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px var(--sombra-suave);
  border: 1px solid var(--cinza-suave);
}

.conteudo-dica p {
  font-size: 1.12rem;
  margin-bottom: 18px;
  color: #444;
}

.conteudo-dica h2::before {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--azul-principal);
  border-radius: 4px;
  margin-bottom: 12px;
}

.conteudo-dica img {
  width: 100%;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* =========================
   BREADCRUMBS
========================= */
.breadcrumbs {
  font-size: 0.95rem;
  margin-bottom: 30px;
  color: #777;
  letter-spacing: 0.3px;
}

.breadcrumbs a {
  font-weight: 600;
}

/* =========================
   LINKS DE NAVEGAÇÃO
========================= */
.voltar-home {
    position: relative;
    padding-left: 18px;
    font-weight: 600;
    color: var(--azul-principal);
    transition: opacity .2s ease;
}

.voltar-home::before {
    content: "←";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    opacity: 0.85;
    transition: transform .2s ease, opacity .2s ease;
}

.voltar-home:hover {
    opacity: .8;
}

.voltar-home:hover::before {
    transform: translateX(-4px);
    opacity: 1;
}


/* =========================
   PARÁGRAFO EDITORIAL FINAL
========================= */
.descricao-dicas {
  font-size: 1.2rem;
  color: #333;
  max-width: 820px;
  margin: 50px auto;
  line-height: 1.7;
  text-align: center;
  padding: 20px 30px;
  border-left: 5px solid #c49b63;
  background: #fafafa;
  border-radius: 4px;
}

/* =========================
   RODAPÉ
========================= */
.rodape-dicas {
  text-align: center;
  margin-top: 70px;
  font-size: 0.95rem;
  color: #666;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .pagina-dicas,
  .container-dicas,
  .conteudo-dica {
    padding: 40px 18px;
  }
}