:root {
  color-scheme: light;
  supported-color-schemes: light;
}

/* Se algum navegador ainda tentar adaptar, forçamos manualmente */
@media (prefers-color-scheme: dark) {
    html, body {
        background-color: #ffffff !important;
        color: #222 !important;
    }

    img, video {
        filter: none !important;
    }
}

/* ===============================
   RESET & BASE
=============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #222;
    background-color: #f9f9f9;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===============================
   BARRA SUPERIOR
=============================== */
.top-bar {
    background-color: #FFC03D;
    color: #000;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
}
.top-bar .container { height: 100%; }
.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar-right .contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.top-bar-right .social-icon {
    color: #000;
    font-size: 16px;
    transition: color 0.3s;
}
.top-bar-right .social-icon:hover { color: #222; }
@media (max-width: 900px) {
    .top-bar-right { gap: 12px; flex-wrap: wrap; }
    .top-bar-right .contact,
    .top-bar-right .social-icon { font-size: 12px; }
}

/* ===============================
   CABEÇALHO / MENU
=============================== */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}
.logo img {
    width: 160px;
    height: auto;
    flex-shrink: 0;
}
/* Menu desktop */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.navbar ul::-webkit-scrollbar { display: none; }
.navbar a {
    text-decoration: none;
    color: #4B4F58;
    font-size: 15px;
    font-weight: 500;
    padding: 10px;
    display: block;
    white-space: nowrap;
    transition: color 0.3s;
}
.navbar a:hover { color: #FFC03D; }
/* Toggle (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
}
@media (max-width: 1150px) {
    .menu-toggle { display: block; }
    .navbar ul { display: none; }
    .navbar ul.menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        z-index: 9999;
    }
    .navbar ul.menu.active { display: flex; }
    .navbar li { width: 100%; }
    .navbar a { padding: 4px 16px; font-size: 15px; }
}

/* ===============================
   HERO / BANNER PRINCIPAL
=============================== */
.hero {
    position: relative;
    height: 900px;
    background: url('../imagens/banner.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: -300px; /* sobe o conteúdo */
}
/* Setas entre o banner e a seção Nossos Serviços */
.hero {
    position: relative; /* garante base para posicionar as setas */
}

.hero-arrows {
    position: absolute;
    bottom: 30px;              /* distância do rodapé do banner */
    left: 50%;
    transform: translateX(-50%);
    font-size: 34px;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    pointer-events: none;      /* não interfere em cliques */
    animation: heroArrowBounce 1.8s infinite;
}

/* Animação suave de “pulsar” para baixo */
@keyframes heroArrowBounce {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, 8px);
        opacity: 0.6;
    }
}

@media (max-width: 600px) {
    .hero-arrows {
        bottom: 20px;
        font-size: 26px;
    }
}
.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #FFC03D;
    margin-bottom: 15px;
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 90px;
    color: #fff;
    white-space: nowrap;
    margin-bottom: 25px;
    font-weight: 700;
}
.hero-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    max-width: 580px;
    margin-bottom: 40px;
}
.hero-button {
    background-color: #FFC03D;
    color: #4B4F58;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    padding: 12px 32px;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.hero-button:hover { background-color: #4B4F58; color: #fff; }
@media (max-width: 1000px) {
    .hero { height: 700px; }
    .hero-title { font-size: 60px; white-space: normal; }
    .hero-subtitle { font-size: 20px; }
    .hero-text { font-size: 14px; }
}
@media (max-width: 600px) {
    .hero { height: 550px; }
    .hero-content { margin-top: -60px; }
    .hero-title { font-size: 42px; }
}


/* ===============================
   SERVIÇOS
=============================== */
.servicos {
  position: relative;
  margin-top: -120px; /* sobrepõe no banner */
  display: flex;
  justify-content: center;
  z-index: 2;
}
.container-servicos {
  background-color: #FFC03D;
  padding: 50px 40px;
  width: 80%;
  max-width: 1100px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}
.container-servicos h2 {
  color: #222;
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  margin-bottom: 30px;
}
.servicos-grid {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}
.servico {
  background-color: #fff;
  color: #222;
  text-decoration: none;
  padding: 30px 20px;
  flex: 1 1 250px;
  max-width: 300px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.servico:hover { transform: translateY(-5px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.servico i { font-size: 40px; color: #f4c542; margin-bottom: 15px; }
.servico h3 { font-family: 'Montserrat', sans-serif; font-size: 20px; margin-top: 10px; }
@media (max-width: 768px) {
  .container-servicos { width: 90%; padding: 40px 20px; }
  .servicos-grid { flex-direction: column; }
  .servico { max-width: 100%; }
}
/* ==========================================
   NOSSOS SERVIÇOS — VERSÃO CORRIGIDA FINAL
========================================== */
.servicos-modern {
  position: relative;
  z-index: 2;
  margin-top: -100px; /* flutua sobre o banner */
  padding: 100px 0 100px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

/* ====== TRANSIÇÃO DO BANNER ====== */
.servicos-modern::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 40%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

/* ====== TÍTULO ====== */
.servicos-modern h2 {
  text-align: center;
  font-size: 2.4rem;
  font-family: 'Montserrat', sans-serif;
  color: #222;
  margin-bottom: 60px;
  position: relative;
}

.servicos-modern h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #FFC03D;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ====== GRID — FIXO E CENTRALIZADO ====== */
.servicos-modern-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards;
}

/* ====== CARD ====== */
.servico-card {
  flex: 1 1 calc(33.333% - 35px);
  max-width: 340px;
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px 50px;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(40px);
  animation: cardFadeIn 0.8s forwards;
}

/* Efeito de entrada sequencial 
.servico-card:nth-child(1) { animation-delay: 0.1s; }
.servico-card:nth-child(2) { animation-delay: 0.25s; }
.servico-card:nth-child(3) { animation-delay: 0.4s; }*/

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brilho sutil no hover */
.servico-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,192,61,0.15), rgba(255,192,61,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.servico-card:hover::before { opacity: 1; }
.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

/* ====== ÍCONE ====== */
.icon-wrapper {
  width: 80px;
  height: 80px;
  background: #fff7d1;
  color: #c39200;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}
.servico-card:hover .icon-wrapper {
  background: #FFC03D;
  color: #4B4F58;
  transform: scale(1.1) rotate(8deg);
}

/* ====== TEXTOS ====== */
.servico-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}
.servico-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
}

/* ====== ANIMAÇÃO GERAL ====== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 1024px) {
  .servico-card { flex: 1 1 calc(45% - 30px); max-width: 400px; }
}
@media (max-width: 700px) {
  .servico-card { flex: 1 1 100%; max-width: 100%; }
  .servicos-modern {
    margin-top: 0;
    padding: 100px 20px;
  }
  .servicos-modern h2 {
    font-size: 1.9rem;
    margin-bottom: 40px;
  }
  .icon-wrapper {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }
  .servico-card {
    padding: 30px 20px 40px;
  }
}

/* ===========================
   SEÇÃO: ÚLTIMAS NOTÍCIAS
=========================== */

.noticias-home {
  background: #fafafa;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.noticias-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

/* ===== Título com faixa decorativa (igual ao Nossos Serviços) ===== */
.titulo-decorado {
  position: relative;
  text-align: center;
  flex: 1 1 100%;
}

.titulo-decorado h2 {
  color: #222;
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  margin-bottom: 30px;
}

.titulo-decorado h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #FFC03D;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== Botão “Ver todas” ===== */
.btn-ver-todas {
  background: #FFC03D;
  color: #000;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-ver-todas:hover {
  background: #4B4F58;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== GRID ===== */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

/* ===== CARD ===== */
.noticia-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.noticia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.noticia-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.noticia-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}
.noticia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.noticia-card:hover .noticia-img img {
  transform: scale(1.08);
}

.noticia-info {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.noticia-data {
  font-size: 0.9rem;
  color: #888;
  display: block;
  margin-bottom: 8px;
}
.noticia-data i {
  color: #FFC03D;
  margin-right: 6px;
}

.noticia-titulo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.3;
}

.noticia-resumo {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.noticia-leia-mais {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFC03D;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
}
.noticia-card:hover .noticia-leia-mais {
  color: #4B4F58;
}
.noticia-leia-mais i {
  font-size: 0.85rem;
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .noticias-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .titulo-decorado h2 {
    font-size: 1.9rem;
    margin-bottom: 40px;
  }

  .btn-ver-todas {
    margin-top: -20px;
  }
}

@media (max-width: 600px) {
  .titulo-decorado h2 {
    font-size: 1.7rem;
    margin-bottom: 35px;
  }
}


/* ===== Título com faixa decorativa (igual ao Nossos Serviços) ===== */
.titulo-decorado {
  position: relative;
  text-align: center;
  flex: 1 1 100%;
}

.titulo-decorado h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 60px;
  position: relative;
}

.titulo-decorado h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #FFC03D;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== Botão “Ver todas” ===== */
.btn-ver-todas {
  background: #FFC03D;
  color: #000;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-ver-todas:hover {
  background: #4B4F58;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .noticias-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .titulo-decorado h2 {
    font-size: 1.9rem;
    margin-bottom: 40px;
  }

  .btn-ver-todas {
    margin-top: -20px;
  }
}

@media (max-width: 600px) {
  .titulo-decorado h2 {
    font-size: 1.7rem;
    margin-bottom: 35px;
  }
}




/* ==========================================
   HOME — SEÇÃO DE NOTÍCIAS
   ==========================================

.noticias {
  padding: 60px 0;
  background: #f9f9f9;
}
.noticias h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 35px;
  color: #222;
}
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.noticia-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}
.noticia-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.noticia-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.noticia-conteudo {
  padding: 15px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.noticia-conteudo .data {
  color: #777;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}
.noticia-conteudo h3 {
  font-size: 1.05rem;
  color: #222;
  margin: 0 0 10px;
  line-height: 1.3;
}
.noticia-conteudo p {
  flex: 1;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 10px;
}
.leia-mais {
  color: #FFC03D;
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}
.noticia-card:hover .leia-mais {
  color: #4B4F58;
}*/

/* ===== BOTÃO “VER TODAS” ===== */
.ver-todas {
  margin-top: 40px;
  text-align: center;
}

.btn-ver-todas {
  background-color: var(--amarelo, #FFC03D);
  color: #000;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ver-todas:hover {
  background-color: #4B4F58;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== RESPONSIVO ===== 
@media (max-width: 992px) {
  .noticias h2 {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }

  .noticia-card img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .noticias {
    padding: 60px 0 40px;
  }

  .noticia-card h3 {
    font-size: 1rem;
  }

  .noticia-card p {
    font-size: 0.85rem;
  }

  .btn-ver-todas {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}

@media (max-width: 480px) {
  .noticias h2 {
    font-size: 1.6rem;
  }

  .noticia-card img {
    height: 150px;
  }
}*/


/* ===============================
   RODAPÉ
=============================== */
footer { font-family: 'Open Sans', sans-serif; color: #fff; }
.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 40px 10%;
    background-color: #FFC03D;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-left, .footer-right {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
}
.footer-left .footer-logo { width: 200px; height: auto; margin-bottom: 5px; }
.footer-left p {
    margin: 1px 0; font-size: 14px; color: #4B4F58;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.footer-left i { color: #4B4F58; font-size: 16px; }
.footer-redes { display: flex; justify-content: center; gap: 15px; margin-bottom: 10px; }
.footer-redes a { color: #4B4F58; font-size: 20px; transition: color 0.3s; }
.footer-redes a:hover { color: #222; }
.footer-menu { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-menu a { color: #4B4F58; text-decoration: none; font-weight: 500; transition: color 0.3s; }
.footer-menu a:hover { color: #222; }
.footer-bottom { text-align: center; background-color: #222; padding: 15px 10%; font-size: 13px; color: #fff; }
@media (max-width: 900px) {
    .footer-top { flex-direction: column; align-items: center; padding: 30px 5%; gap: 20px; }
    .footer-menu { display: none; }
}

/* =====================================================
   LINHAS & HORÁRIOS — BANNER INTERNO / TÍTULO / DATA
===================================================== */
.page-banner {
    background: url('../imagens/banner.jpg') center center / cover no-repeat;
    padding: 90px 0;
    color: #fff; text-align: center; position: relative;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
    font-family: 'Montserrat', sans-serif; font-size: 48px; font-weight: 700; margin-bottom: 10px;
}
.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
.page-banner .container { position: relative; z-index: 2; }
@media (max-width: 1000px) { .page-banner h1 { font-size: 36px; } }
@media (max-width: 600px)  { .page-banner h1 { font-size: 28px; } }
@media (max-width: 400px)  { .page-banner h1 { font-size: 22px; } }
.ultima-atualizacao {
    font-family: 'Open Sans', sans-serif; font-size: 13px;
    color: rgba(255,255,255,0.85); margin-top: -5px;
}

/* ===============================
   LISTA DE LINHAS (cards)
=============================== */
.lista-linhas { padding: 20px 0 40px; }
.titulo-linhas {
    font-family: 'Montserrat', sans-serif; font-size: 32px; color: #222; margin: 40px 0 20px;
}
.linhas-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 1024px) { .linhas-grid { grid-template-columns: 1fr; } }
.linha-card {
    display: flex; align-items: stretch; background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 6px; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.linha-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.linha-numero {
    background-color: #FFC03D; color: #4B4F58; padding: 15px 20px;
    display: flex; flex-direction: column; justify-content: center; text-align: center; min-width: 90px;
}
.linha-numero span { font-size: 13px; font-family: 'Open Sans', sans-serif; }
.linha-numero strong { font-size: 30px; font-family: 'Montserrat', sans-serif; font-weight: 700; }
.linha-info {
    flex: 1; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}
.linha-info h2 { font-family: 'Montserrat', sans-serif; font-size: 20px; color: #222; margin: 0; }
.btn-linha {
    background-color: #FFC03D; color: #4B4F58; text-decoration: none;
    padding: 8px 14px; font-family: 'Open Sans', sans-serif; font-size: 14px;
    border-radius: 4px; transition: 0.3s;
}
.btn-linha:hover { background-color: #4B4F58; color: #fff; }
@media (max-width: 768px) {
    .linha-card { flex-direction: column; }
    .linha-numero { min-width: 100%; padding: 10px 0; }
    .linha-info { flex-direction: column; gap: 10px; text-align: center; }
    .btn-linha { max-width: 200px; width: 100%; }
    .linha-numero strong { font-size: 24px; }
    .linha-info h2 { font-size: 16px; }
}

/* ===============================
   HORÁRIOS — BLOCO / TÍTULOS / BOTÃO
=============================== */
.horarios-linha { padding: 40px 0; position: relative; }
.horarios-linha h2 {
    font-family: 'Montserrat', sans-serif; font-size: 28px; text-align: center; margin-bottom: 20px;
}
.print-container { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.btn-print {
    background-color: #FFC03D; color: #4B4F58; padding: 10px 20px;
    font-family: 'Open Sans', sans-serif; font-size: 14px; border: none; border-radius: 4px;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s;
}
.btn-print:hover { background-color: #4B4F58; color: #fff; }

.lado-a-lado {
    display: inline-flex; gap: 30px; flex-wrap: wrap; justify-content: center; align-items: flex-start; width: 100%;
}
.horario-card + .horario-card { margin-top: 40px; }
.horario-card h3 {
    font-family: 'Montserrat', sans-serif; font-size: 22px; margin-bottom: 12px; text-align: center; color: #4B4F58; font-weight: 700;
}
.sentido {
    display: inline-flex; flex-direction: column; background: #fff; border: 1px solid #ddd; border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); overflow: visible; max-width: 550px; min-width: 300px; isolation: isolate;
}
.sentido h4 {
    background-color: #FFC03D; color: #4B4F58;
    font-family: 'Montserrat', sans-serif; font-size: 18px; padding: 10px 0; text-align: center; text-transform: uppercase; font-weight: 700;
}

/* ===============================
   HORÁRIOS — LISTA E TOOLTIP
=============================== */
.horarios-lista {
    list-style: none; padding: 15px; margin: 0;
    display: flex; flex-wrap: wrap; column-gap: 6px; row-gap: 6px;
    justify-content: center; align-content: flex-start; position: relative;
}
.horarios-lista li {
    background: #f9f9f9; border: 1px solid #ddd; width: 70px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 4px; font-family: 'Open Sans', sans-serif; font-size: 14px; color: #222;
    position: relative; transition: background 0.2s ease; z-index: 2;
}
.horarios-lista li:hover { background: #eee; }
.tooltip {
    background: none; color: #4B4F58; font-size: 10px; font-weight: 600; vertical-align: super; z-index: 9999;
}
.tooltip::after {
    content: attr(data-tooltip);
    position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%);
    background: #333; color: #fff; padding: 6px 8px; border-radius: 4px; font-size: 12px;
    opacity: 0; visibility: hidden; white-space: nowrap; transition: 0.2s; z-index: 10000; pointer-events: none;
}
.tooltip:hover::after, .tooltip:focus::after { opacity: 1; visibility: visible; }

/* ===============================
   LEGENDA (lado a lado)
=============================== */
.legenda-horarios {
    background-color: #f1f1f1; padding: 15px; border-radius: 6px; margin-top: 20px; border: 1px solid #ddd;
}
.legenda-horarios h4 {
    font-family: 'Montserrat', sans-serif; font-size: 18px; margin-bottom: 10px; text-align: center; font-weight: 700;
}
.legenda-horarios ul {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none;
}
.legenda-horarios li {
    font-family: 'Open Sans', sans-serif; font-size: 14px; display: flex; align-items: center; gap: 4px;
}
.legenda-horarios strong {
    background: #FFC03D; color: #4B4F58; padding: 2px 6px; border-radius: 3px; font-size: 12px;
}

/* ===============================
   ITINERÁRIO
=============================== */
.itinerario { padding: 40px 0; background-color: #f9f9f9; }
.itinerario h2 {
    font-family: 'Montserrat', sans-serif; font-size: 28px; margin-bottom: 15px; color: #222;
}
.itinerario-bloco { margin-bottom: 20px; }
.itinerario-bloco h4 {
    font-family: 'Montserrat', sans-serif; font-size: 18px; margin-bottom: 6px; color: #4B4F58;
}
.itinerario-bloco p {
    font-family: 'Open Sans', sans-serif; font-size: 14px; color: #555;
}

/* ===============================
   RESPONSIVIDADE — BLOCOS DE HORÁRIOS
=============================== */
@media (max-width: 768px) {
    .sentido { max-width: 100%; min-width: 100%; }
    .horarios-lista li { width: 56px; height: 34px; font-size: 13px; }
    .tooltip { font-size: 9px; }
    .tooltip::after { font-size: 11px; max-width: 220px; white-space: normal; text-align: center; }
    .print-container { justify-content: center; }
}

/* ===============================
   PRINT HEADER (só na impressão)
=============================== */
.print-header { display: none; }

/* ===============================
   IMPRESSÃO — A4, 1 FOLHA PARA HORÁRIOS + LEGENDA
=============================== */
@media print {
    /* Oculta elementos visuais da tela */
    header, footer, .top-bar, .btn-print, .anuncios-linha, .page-banner { display: none !important; }

    @page { size: A4 portrait; margin: 0.5cm 0.8cm 0.7cm 0.8cm; }

    body { color: #000; background: #fff; font-size: 9px; margin: 0; padding: 0; }

    .print-header {
        display: flex !important; flex-direction: column; align-items: center; text-align: center; margin-bottom: 10px;
    }
    .print-header img { max-height: 40px; margin-bottom: 5px; }
    .print-header h1 { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; }

    .horarios-linha h2 { font-size: 13px; margin: 5px 0 15px; text-align: center; }
    .horario-card h3 { font-size: 12px; margin-bottom: 6px; text-align: center; }
    .sentido h4 { font-size: 11px; padding: 4px 0; }

    .horarios-lista { justify-content: flex-start; gap: 4px; padding: 8px; }
    .horarios-lista li { width: 36px; height: 20px; font-size: 9px; background: none; border: 1px solid #ccc; }

    .tooltip { font-size: 7px; }
    .tooltip::after { font-size: 8px; padding: 4px 6px; max-width: 140px; }

    .legenda-horarios { padding: 8px; margin-top: 10px; }
    .legenda-horarios h4 { font-size: 11px; margin-bottom: 6px; }
    .legenda-horarios ul { gap: 6px; }
    .legenda-horarios li { font-size: 9px; }
    .legenda-horarios strong { font-size: 8px; padding: 1px 4px; }

    /* Itinerário em nova página */
    .itinerario { page-break-before: always; font-size: 10px; }
    .itinerario h2 { font-size: 12px; }
    .itinerario h4 { font-size: 11px; }
    .itinerario p { font-size: 9px; }

}
/* =====================
   FORMULÁRIO TRABALHE CONOSCO
===================== */

.formulario-trabalhe {
    padding: 60px 0;
}

.tc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.tc-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.tc-form input,
.tc-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tc-form input:focus,
.tc-form textarea:focus {
    border-color: var(--amarelo, #FFC03D);
    box-shadow: 0 0 0 3px rgba(255, 192, 61, 0.25);
    outline: none;
}

.tc-form textarea {
    min-height: 120px;
    resize: vertical;
}

.lgpd-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.tc-actions {
    margin-top: 15px;
}

.btn-padrao {
    background: var(--amarelo, #FFC03D);
    color: #000;
    padding: 14px 22px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    text-align: center;
}
.btn-padrao:hover {
    background: #4B4F58;
    color: #fff;
    transform: translateY(-2px);
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.alert-success {
    background: #e8f7ed;
    border: 1px solid #b7e2c3;
    color: #22623a;
}
.alert-error {
    background: #fdeaea;
    border: 1px solid #f2c0c0;
    color: #7b2727;
}
.alert-error ul {
    margin-top: 6px;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   Ajustes Trabalhe Conosco - layout e banner
===================== */

/*.page-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Layout principal com 2 colunas (form + contatos) */
.formulario-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.formulario-contatos {
    background: #f9f9f9;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.formulario-contatos h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #333;
}

.formulario-contatos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.formulario-contatos li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.formulario-contatos i {
    color: var(--amarelo, #FFC03D);
    font-size: 1.1rem;
}

/* LGPD - corrigir espaçamento */
.lgpd-check {
    display: flex;
    align-items: center;
}

.lgpd-check label {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* bem próximo */
    line-height: 1.3;
    cursor: pointer;
    white-space: normal; /* permite quebrar naturalmente */
}

.lgpd-check input[type="checkbox"] {
    margin: 0;
    padding: 0;
    transform: scale(1.1);
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    border-radius: 4px;
    position: relative;
    background: #fff;
}

.lgpd-check input[type="checkbox"]:checked {
    background: var(--amarelo, #FFC03D);
    border-color: var(--amarelo, #FFC03D);
}

.lgpd-check input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: -1px;
    left: 2px;
    font-size: 14px;
    color: #000;
}

.lgpd-check span {
    display: inline-block;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}


/* Contatos - ocultar no mobile */
@media (max-width: 992px) {
    .formulario-layout {
        grid-template-columns: 1fr;
    }
    .formulario-contatos {
        display: none;
    }
}
.institucional-content {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.institucional-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #333;
}

.institucional-content p,
.institucional-content ul {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.institucional-content ul {
  list-style: disc inside;
  margin-left: 10px;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.mvv-item h3 {
  font-size: 1.2rem;
  color: var(--amarelo, #FFC03D);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mvv-item ul {
  list-style: none;
  padding: 0;
}

.mvv-item ul li::before {
  content: "•";
  color: var(--amarelo, #FFC03D);
  margin-right: 6px;
}

.cta-final {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* Evita que qualquer float anterior “invada” a próxima seção */
.intro, .evolucao, .estrutura, .mvv, .servicos-institucional {
  display: flow-root;       /* cria novo contexto de formatação */
  clear: both;              /* garante separação de blocos */
}

/* Espaçamento vertical consistente entre blocos */
.institucional-content > * {
  margin-block: 40px;       /* top e bottom uniformes */
}

/* Ajustes específicos da MVV (caso o grid estoure) */
.mvv {
  margin-bottom: 20px;
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) {
  .mvv-grid { grid-template-columns: 1fr; }
}

/* ======= Nossos Serviços (NOMES ÚNICOS) ======= */
.servicos-institucional {
  margin-top: 10px;         /* depois da MVV */
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.servicos-institucional h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 16px;
}

.servicos-institucional p {
  margin-bottom: 18px;
  color: #555;
  line-height: 1.6;
}

.servicos-institucional-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.servicos-institucional-lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  color: #444;
}

.servicos-institucional-lista i {
  color: var(--amarelo, #FFC03D);
  font-size: 1.2rem;
  margin-top: 2px;
}
/* ===== SEÇÕES SOCIAIS E MAPA ===== */
.acoes-sociais {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.acoes-sociais h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.acoes-sociais h3 {
  font-size: 1.2rem;
  margin-top: 25px;
  color: var(--amarelo, #FFC03D);
  display: flex;
  align-items: center;
  gap: 8px;
}

.acoes-sociais p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.acoes-sociais ul {
  list-style: disc inside;
  color: #444;
  margin-left: 10px;
  line-height: 1.5;
}

.mapa-localizacao {
  margin-top: 60px;
}

.mapa-localizacao h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.mapa-iframe {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.mapa-info {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}
.mapa-info strong {
  color: #222;
}

/* ===== AJUSTES DE ESPAÇAMENTO ===== */
.acoes-sociais {
  margin-bottom: 50px;
}

.cta-final {
  text-align: center;
  margin: 60px 0 80px;
}

/* ===== BOTÃO CENTRALIZADO PADRÃO ===== */
.btn-centralizado {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 26px;
  background: var(--amarelo, #FFC03D);
  color: #000;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-centralizado:hover {
  background: #4B4F58;
  color: #fff;
  transform: translateY(-2px);
}
/* ===============================
   FRETAMENTO & TURISMO (SEM IMAGENS)
=============================== */
.fretamento-content {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.fretamento-intro p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
}

.fretamento-destaques {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
}
.fretamento-destaques li {
  background: #FFF7D6;
  border: 1px solid #FFE08A;
  color: #4B4F58;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fretamento-destaques i { color: #C39200; }

/* blocos */
.fretamento-bloco {
  display: flex;
  justify-content: center;
  text-align: justify;
}
.fretamento-texto {
  max-width: 900px;
}
.fretamento-texto h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fretamento-texto p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
}
.fretamento-texto ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.fretamento-texto ul li {
  color: #444;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}
.fretamento-texto ul li::before {
  content: "•";
  color: var(--amarelo, #FFC03D);
  position: absolute;
  left: 0;
}

/* Responsivo */
@media (max-width: 992px) {
  .fretamento-destaques { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fretamento-destaques { grid-template-columns: 1fr; }
  .fretamento-texto h2 { font-size: 1.4rem; }
}


/* ===============================
   BOTÃO PADRÃO (unificado)
=============================== */

.btn-padrao {
  display: inline-block;
  background-color: var(--amarelo, #FFC03D);
  color: #000;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-padrao:hover {
  background-color: #4B4F58;
  color: #fff;
  transform: translateY(-2px);
}

.btn-padrao i {
  margin-right: 8px;
  font-size: 1rem;
}
.midia-content {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
/* ===== Correção: espaçamento entre título e texto na introdução da página de mídia ===== */
.midia-content .intro {
  margin-bottom: 20px;
}

.midia-content .intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 12px; /* 🔹 garante espaçamento entre o título e o texto */
}

.midia-content .intro p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0; /* evita espaço duplo */
}
.midia-bloco {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.midia-bloco.invertido {
  flex-direction: row-reverse;
}

.midia-texto {
  flex: 1;
  min-width: 300px;
}

.midia-texto h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 10px;
}

.midia-texto p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.midia-texto ul {
  list-style: none;
  padding: 0;
}

.midia-texto ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #444;
  margin-bottom: 8px;
}

.midia-texto ul li i {
  color: var(--amarelo, #FFC03D);
  font-size: 1rem;
  margin-top: 4px;
}

.midia-img {
  flex: 1;
  text-align: center;
}

.midia-img img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
  .midia-bloco,
  .midia-bloco.invertido {
    flex-direction: column;
  }
}
.midia-futuro {
  text-align: center;
  background: #fffbea;
  border: 1px solid #ffe08a;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.midia-futuro h3 {
  color: #4B4F58;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.midia-futuro p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}
/* ============================================================
   PADRONIZAÇÃO — INTRODUÇÕES DAS PÁGINAS INTERNAS
   (Institucional, Mídia, Fretamento, Contato, etc.)
============================================================ */

.section-intro,
.midia-content .intro,
.institucional-content .intro,
.fretamento-content .intro,
.contato-content .intro {
  margin-bottom: 40px;
}

.section-intro h2,
.midia-content .intro h2,
.institucional-content .intro h2,
.fretamento-content .intro h2,
.contato-content .intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 12px; /* espaçamento entre título e texto */
  font-weight: 700;
}

.section-intro p,
.midia-content .intro p,
.institucional-content .intro p,
.fretamento-content .intro p,
.contato-content .intro p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0;
}
/* ============================================================
   CORREÇÃO DE TÍTULOS — PÁGINA INSTITUCIONAL
============================================================ */

/* Garante que todos os títulos principais (como "Nossa História", "Evolução" etc.)
   tenham o mesmo tamanho, peso e espaçamento */
.institucional-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem; /* igual para todos */
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.3;
  border-left: 5px solid var(--amarelo, #FFC03D);
  padding-left: 10px;
}

/* Ajusta os subtítulos dentro da seção (como “Missão”, “Visão”, “Valores” etc.) */
.institucional-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #4B4F58;
  margin-bottom: 10px;
}

/* Adiciona espaçamento vertical uniforme entre blocos */
.institucional-content > div,
.institucional-content > section {
  margin-top: 50px;
}

/* Ajuste de espaçamento na introdução */
.institucional-content .intro {
  margin-bottom: 40px;
}

.institucional-content .intro h2 {
  font-size: 1.9rem !important;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.institucional-content .intro p {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.6;
}
/* ============================================================
   JUSTIFICAÇÃO DE TEXTO — PÁGINA INSTITUCIONAL
============================================================ */

.institucional-content p,
.institucional-content ul,
.institucional-content li {
  text-align: justify;
  text-justify: inter-word;
}
/* ==========================================
   PÁGINA DE NOTÍCIAS — LISTAGEM E PAGINAÇÃO
   ========================================== */

.page-banner-noticias {
  background: url('../imagens/banner-noticias.jpg') center center / cover no-repeat;
  padding: 90px 0;
  color: #fff;
  text-align: center;
  position: relative;
}
.page-banner-noticias::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.page-banner-noticias .container {
  position: relative;
  z-index: 2;
}
.page-banner-noticias h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-banner-noticias p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}
@media (max-width: 1000px) {
  .page-banner-noticias h1 { font-size: 36px; }
}
@media (max-width: 600px) {
  .page-banner-noticias h1 { font-size: 26px; }
}

/* ==========================================
   PÁGINA NOTÍCIAS — LISTAGEM COMPLETA
   ========================================== */

.noticias-page {
  background-color: #f9f9f9;
  padding: 80px 0 60px;
}

.noticias-page .titulo-secao {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #222;
}

/* ====== GRID ====== */
.noticias-page .grid-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* ====== CARD ====== */
.noticias-page .noticia-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.noticias-page .noticia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.noticias-page .noticia-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ====== IMAGEM ====== */
.noticias-page .noticia-card .thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.noticias-page .noticia-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.noticias-page .noticia-card:hover .thumb img {
  transform: scale(1.05);
}

/* ====== CONTEÚDO ====== */
.noticias-page .noticia-card .conteudo {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.noticias-page .noticia-card h3 {
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
  color: #222;
  line-height: 1.3;
}

.noticias-page .noticia-card .data {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}

.noticias-page .noticia-card .data i {
  color: var(--amarelo, #FFC03D);
  margin-right: 6px;
}

.noticias-page .noticia-card .resumo {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 14px;
  line-height: 1.6;
  text-align: justify;
  flex-grow: 1;
}

.noticias-page .noticia-card .ler-mais {
  color: var(--amarelo, #FFC03D);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  margin-top: auto;
  transition: 0.2s;
}
.noticias-page .noticia-card .ler-mais i {
  transition: transform 0.2s;
}
.noticias-page .noticia-card:hover .ler-mais i {
  transform: translateX(4px);
}
.noticias-page .noticia-card:hover .ler-mais {
  color: #4B4F58;
}

/* ====== PAGINAÇÃO ====== */
.noticias-page .paginacao {
  text-align: center;
  margin: 50px 0 20px;
}

.noticias-page .paginacao a {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}
.noticias-page .paginacao a:hover {
  background: var(--amarelo, #FFC03D);
  color: #000;
  border-color: var(--amarelo, #FFC03D);
}
.noticias-page .paginacao a.ativo {
  background: var(--amarelo, #FFC03D);
  color: #000;
  border-color: var(--amarelo, #FFC03D);
}
/* ==========================================
   AJUSTE DE ALTURA — PÁGINA DE NOTÍCIAS
   ========================================== */

/* Resumo limitado com altura uniforme e corte visual elegante */
.noticias-page .noticia-card .resumo {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* limite de linhas visíveis */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  height: calc(1.6em * 3); /* altura exata para 3 linhas */
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 14px;
  text-align: justify;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 768px) {
  .noticias-page {
    padding: 60px 0 40px;
  }
  .noticias-page .titulo-secao {
    font-size: 1.7rem;
  }
  .noticias-page .noticia-card .thumb {
    height: 180px;
  }
  .noticias-page .noticia-card h3 {
    font-size: 1.1rem;
  }
  .noticias-page .noticia-card .resumo {
    font-size: 0.9rem;
  }
}

/* ===== Ajuste do botão de orçamento no fretamento ===== */
.cta-final {
  text-align: center;
  margin: 60px 0 80px;
}

.cta-final .btn-padrao {
  width: auto; /* remove largura total */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #FFC03D;
  color: #000;
  border-radius: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.cta-final .btn-padrao:hover {
  background-color: #4B4F58;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
  .cta-final .btn-padrao {
    width: 90%;
  }
}
/* ===== Botão Voltar ao Topo ===== */
#btnTopo {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #FFC03D;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

#btnTopo:hover {
  background-color: #4B4F58;
  color: #fff;
  transform: translateY(-3px);
}

/* Visível */
#btnTopo.mostrar {
  opacity: 1;
  visibility: visible;
}

/* Quando estiver sobre o rodapé */
#btnTopo.sobre-footer {
  background-color: #4B4F58;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Mobile */
@media (max-width: 600px) {
  #btnTopo {
    width: 44px;
    height: 44px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }
}
