* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
.sobre-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.sobre-coluna.texto {
  flex: 1 1 55%;
}

.sobre-coluna.imagem {
  flex: 1 1 40%;
  text-align: center;
}

.sobre-coluna.imagem .imagem-sobre {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.sobre-coluna.texto p {
  margin-bottom: 1em;
  font-size: 1.05em;
  line-height: 1.6;
}

.sobre-coluna.texto i {
  margin-right: 8px;
  color: #F57C00; /* Laranja da tua paleta */
}

.sobre-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.sobre-coluna.texto {
  flex: 1 1 55%;
}

.sobre-coluna.imagem {
  flex: 1 1 40%;
  text-align: center;
}

.sobre-coluna.imagem .imagem-sobre {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.sobre-coluna.texto p {
  margin-bottom: 1em;
  font-size: 1.05em;
  line-height: 1.6;
}

.sobre-coluna.texto i {
  margin-right: 8px;
  color: #F57C00; /* Laranja da tua paleta */
}

body {
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #333;
  background-color: #f4f7fa;
  overflow-x: hidden;


    
}


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

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

header {
  background-color: #0D47A1;
  color: white;
  padding: 20px 0;
}


.logo-container {
  flex-shrink: 0;
  text-align: center;
  width: 100%;
}

.logo {
  max-width: 240px;
  height: auto;
  object-fit: contain;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #2196F3;
}

.secao {
  padding: 60px 0;
}


.secao h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  color: #0D47A1;
  font-weight: 700;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

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

.btn-categoria {
  background-color: #0D47A1;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-categoria:hover {
  background-color: #2196F3;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form label {
  font-weight: bold;
}

form input,
form select,
form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
}

form button {
  background-color: #0D47A1;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #2196F3;
}

.destaque {
  background-color: #e8f4ff;
}

footer {
  background-color: #0D47A1;
  color: white;
  padding: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  margin-top: auto;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 100px;
  margin-right: 20px;
  border-radius: 8px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-right a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s;
}

.footer-right a:hover {
  opacity: 0.8;
}

.erro {
  color: #e53935;
  font-weight: bold;
  margin-bottom: 15px;
}

.sucesso {
  color: #4caf50;
  font-weight: bold;
  margin-bottom: 15px;
}

/* === HERO / VIDEO === */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  color: white;
  font-family: "Share Tech", sans-serif;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.35);
  padding: 40px 60px;
  border-radius: 16px;
  max-width: 850px;
  min-height: 300px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}

.hero p {
  font-size: 3rem;
  font-weight: 600;
  margin-top: 18px;
}

/* === SEC�0�5�0�1O SOBRE E CARROSSEL BONITO === */
.sobre-isa {
  background-color: #e8f4ff;
  padding: 80px 0;
}

.sobre-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.titulo-secao {
  text-align: center;
  font-size: 2.5rem;
  color: #0D47A1;
  font-weight: 700;
  margin-bottom: 20px;
}

.sobre-bloco {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sobre-texto {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.sobre-imagem {
  flex: 1;
  text-align: center;
}

.sobre-imagem img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.carrossel-sec {
  padding-top: 20px;
}

.carrossel-titulo {
  text-align: center;
  margin-bottom: 20px;
}

.carrossel-titulo h3 {
  font-size: 2rem;
  color: #0D47A1;
  font-weight: bold;
}

.carousel-wrapper {
  width: 600px;
  height: 350px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.carousel.moderno {
  display: flex;
  width: 1000%;
  height: 100%;
  animation: slideShow10 30s infinite;
}

.carousel.moderno img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.carousel.moderno img:hover {
  transform: scale(1.02);
}

.fade-slideshow {
  position: relative;
  width: 600px;
  height: 350px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.fade-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeSlide 30s infinite;
  transition: opacity 1s ease-in-out;
}

/* Cada imagem com delay espec��fico para sequ��ncia */
.fade-slideshow img:nth-child(2)  { animation-delay: 3s; }
.fade-slideshow img:nth-child(3)  { animation-delay: 6s; }
.fade-slideshow img:nth-child(4)  { animation-delay: 9s; }
.fade-slideshow img:nth-child(5)  { animation-delay: 12s; }
.fade-slideshow img:nth-child(6)  { animation-delay: 15s; }
.fade-slideshow img:nth-child(7)  { animation-delay: 18s; }
.fade-slideshow img:nth-child(8)  { animation-delay: 21s; }
.fade-slideshow img:nth-child(9)  { animation-delay: 24s; }
.fade-slideshow img:nth-child(10) { animation-delay: 27s; }
.fade-slideshow img:nth-child(11) { animation-delay: 30s; }
.fade-slideshow img:nth-child(12) { animation-delay: 33s; }
.fade-slideshow img:nth-child(13) { animation-delay: 36s; }
.fade-slideshow img:nth-child(14) { animation-delay: 39s; }
.fade-slideshow img:nth-child(15) { animation-delay: 42s; }
.fade-slideshow img:nth-child(16) { animation-delay: 45s; }
.fade-slideshow img:nth-child(17) { animation-delay: 48s; }
.fade-slideshow img:nth-child(18) { animation-delay: 51s; }

@keyframes fadeSlide {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  20%  { opacity: 1; }
  28%  { opacity: 0; }
  100% { opacity: 0; }
}


/* Banner de cookies */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner.show {
  display: flex !important;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #F57C00;
  text-decoration: underline;
}

.cookie-banner button {
  background-color: #F57C00;
  color: white;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 6px;
}
/* === Bal�0�0o de Pol��tica de Privacidade === */
.popup-politica {
  display: none;
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 10px;
  z-index: 9999;
  max-width: 320px;
  width: 90%;
  animation: fadeIn 0.3s ease-in-out;
  text-align: left;
}


.popup-conteudo {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.popup-conteudo h3 {
  color: #0D47A1;
  margin-top: 0;
}

.popup-conteudo a {
  color: #F57C00;
  text-decoration: underline;
}

.popup-conteudo .fechar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #999;
}

.popup-conteudo .fechar:hover {
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Modo Escuro */
body.modo-escuro {
  background-color: #121212;
  color: #e0e0e0;
}

body.modo-escuro header,
body.modo-escuro footer {
  background-color: #1e1e1e;
}

body.modo-escuro .secao {
  background-color: #1a1a1a;
}

body.modo-escuro h1,
body.modo-escuro h2,
body.modo-escuro h3 {
  color: #0D47A1; /* Mant��m o azul original */
}

/* �9�9 CORRIGIDO: Texto comum vis��vel */
body.modo-escuro p,
body.modo-escuro li,
body.modo-escuro span,
body.modo-escuro .sobre-texto,
body.modo-escuro .secao p,
body.modo-escuro .container p {
  color: #f0f0f0 !important;
}

body.modo-escuro .btn-categoria {
  background-color: #F57C00;
  color: white;
}

body.modo-escuro .btn-categoria:hover {
  background-color: #BF360C;
  color: white;
}

body.modo-escuro .card {
  background-color: #222;
  color: #fff;
}

body.modo-escuro input,
body.modo-escuro textarea,
body.modo-escuro select {
  background-color: #333;
  color: #fff;
  border: 1px solid #666;
}

body.modo-escuro form button {
  background-color: #F57C00;
  color: white;
}

body.modo-escuro form button:hover {
  background-color: #BF360C;
  color: white;
}


body.modo-escuro p,
body.modo-escuro .sobre-texto p,
body.modo-escuro .secao p,
body.modo-escuro .container p {
  color: #f0f0f0 !important;
}

.footer-certificado {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  font-size: 0.95rem;
  gap: 10px;
}

.footer-certificado i {
  color: #FFD700;
  font-size: 1.2rem;
}

.footer-certificado a {
  color: white;
  text-decoration: none;
}

.footer-certificado a:hover {
  color: #F57C00;
  text-decoration: underline;
}

.contador {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.contador div {
  background-color: #0D47A1;
  color: white;
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.8rem;
  min-width: 80px;
}

.contador small {
  display: block;
  font-size: 0.8rem;
  margin-top: 6px;
}

/* Layout normal (desktop) */
.menu-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.menu-principal ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu-principal ul li a {
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.menu-principal ul li a:hover {
  background-color: #2196F3;
}

#toggle-darkmode {
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.3s ease;
}


/* Responsivo para ecr�0�0s < 768px */
@media (max-width: 768px) {
  .contador {
    gap: 12px;
    justify-content: center;
  }

  .contador div {
    padding: 12px;
    min-width: 60px;
    max-width: 80px;
  }

  .contador span {
    font-size: 1.4rem;
  }

  .contador small {
    font-size: 0.75rem;
  }
}


/* Responsivo */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }

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

  .card {
    width: 90%;
  }

  .carousel img {
    height: 240px;
  }
}

@media (max-width: 768px) {

  nav {
    margin-top: 15px;
  }
    nav ul {
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    padding: 30px;
    max-width: 90%;
  }

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

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

  .sobre-container {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
   .container {
    padding: 10px;
  }

  .carousel-wrapper,
  .fade-slideshow {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .fade-slideshow img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .sobre-bloco {
    flex-direction: column;
  }

  .sobre-texto,
  .sobre-imagem {
    width: 100%;
  }

  .card {
    width: 100%;
  }

  .popup-politica {
    bottom: 80px;
    padding: 15px;
    font-size: 0.85rem;
  }
  
 

}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.4rem;
  }

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

  .hero-content {
    padding: 20px;
    min-height: auto;
  }

  .popup-politica {
    max-width: 95%;
    padding: 15px;
    font-size: 0.8rem;
  }

  .footer-certificado {
    flex-direction: column;
    padding: 10px;
    text-align: center;
  }

  .btn-categoria {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .carousel.moderno img,
  .fade-slideshow img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  form {
    padding: 0 10px;
  }

  .form button {
    font-size: 1rem;
  }
  .logo {
  max-width: 320px;
  height: auto;
  object-fit: contain;
}
    
  nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav ul {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 12px 40px;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  nav ul li {
    list-style: none;
    text-align: center;
  }

  nav ul li a {
    display: inline-block;
    padding: 10px 15px;
  }

  #toggle-darkmode {
    margin-top: 12px;
    font-size: 1.6rem;
    align-self: center;
  }



}

/* Corrige layout desktop */
@media (min-width: 769px) {
  header {
    display: block; /* ou flex se necess��rio */
    text-align: left;
    padding: 20px 0;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .logo-esquerda {
    flex-shrink: 0;
  }

  .menu-principal {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .menu-principal ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .menu-principal ul li a {
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
  }

  #toggle-darkmode {
    font-size: 1.6rem;
    color: white;
    margin-left: 20px;
  }
}


.sobre-isa {
  background-color: #e8f4ff;
  padding: 80px 0;
}

.sobre-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.sobre-coluna.texto {
  flex: 1 1 55%;
}

.sobre-coluna.imagem {
  flex: 1 1 40%;
  text-align: center;
}

.sobre-coluna.imagem .imagem-sobre {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.sobre-coluna.texto p {
  margin-bottom: 1em;
  font-size: 1.05em;
  line-height: 1.6;
}

.sobre-coluna.texto i {
  margin-right: 8px;
  color: #F57C00; /* Laranja da tua paleta */
}

@media (max-width: 768px) {
  .sobre-grid {
    flex-direction: column;
  }

  .sobre-coluna.texto,
  .sobre-coluna.imagem {
    width: 100%;
  }

  .sobre-coluna.imagem img {
    max-width: 90%;
  }
}


.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ou center, se quiser centralizar */
}

.footer-logo-container {
  margin-bottom: 8px;
}

.footer-creditos-logo {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-creditos-logo a {
  color: #F57C00;
  text-decoration: underline;
  font-weight: bold;
}

.footer-creditos-logo a:hover {
  color: #FF9800;
}

.btn-manutencao {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  color: white;
}

.btn-on {
  background-color: #0D47A1;
}

.btn-on:hover {
  background-color: #2196F3;
}

.btn-off {
  background-color: #e53935;
}

.btn-off:hover {
  background-color: #ef5350;
}

.etiqueta-destaque {
  background-color: #F57C00;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 30px;
  display: inline-block;
  margin: 0 auto 20px auto;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: pulseEtiqueta 1.5s ease-in-out infinite;
}

@keyframes pulseEtiqueta {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.05); opacity: 0.95; }
}

/* Cores din�0�9micas (mesmos slugs gerados no PHP) */
.etiqueta-destaque.etiqueta-nova {
  background-color: #388E3C;
}

.etiqueta-destaque.etiqueta-promocao {
  background-color: #D32F2F;
}

.etiqueta-destaque.etiqueta-escolha-do-mes {
  background-color: #7B1FA2;
}

.etiqueta-destaque.etiqueta-escolha-de-muitos-viajantes {
  background-color: #0D47A1;
}

/* Estilos animados por tipo de etiqueta */
.badge-etiqueta.etiqueta-promocao {
  background: #D32F2F;
  animation: pulsePromo 1.5s infinite;
}

.badge-etiqueta.etiqueta-nova {
  background: #388E3C;
  animation: bounceNova 1.5s infinite;
}

.badge-etiqueta.etiqueta-escolha-do-mes {
  background: #7B1FA2;
  animation: shimmerEscolha 3s linear infinite;
}

@keyframes pulsePromo {
  0%, 100% { box-shadow: 0 0 8px #FFCDD2; }
  50%      { box-shadow: 0 0 14px #F44336; }
}

@keyframes bounceNova {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

@keyframes shimmerEscolha {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.badge-etiqueta.etiqueta-escolha-do-mes {
  background: linear-gradient(90deg, #7B1FA2, #AB47BC, #7B1FA2);
  background-size: 300% 100%;
  color: white;
}
/* PORQU�0�8 ESCOLHER */
.diferenciais {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}
.diferenciais-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.diferenciais-grid .item {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  text-align: center;
}
.diferenciais-grid .item:hover {
  transform: translateY(-5px);
}
.diferenciais-grid i {
  font-size: 2rem;
  color: #F57C00;
  margin-bottom: 10px;
}
.diferenciais-grid h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #0D47A1;
}
.diferenciais-grid p {
  color: #333;
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  background-color: #fff;
  padding: 60px 20px;
}
.faq h2 {
  text-align: center;
  margin-bottom: 30px;
}
.faq-item {
  max-width: 800px;
  margin: 0 auto 20px auto;
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 12px;
  transition: background 0.3s;
}
.faq-item:hover {
  background-color: #e9e9e9;
}
.faq-item h4 {
  margin-bottom: 10px;
  color: #0D47A1;
  font-size: 1.1rem;
}
.faq-item p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .diferenciais-grid {
    flex-direction: column;
    align-items: center;
  }

  .diferenciais-grid .item {
    width: 90%;
    max-width: 400px;
  }

  .faq-item {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .diferenciais-grid .item i {
    font-size: 1.6rem;
  }

  .diferenciais-grid h4 {
    font-size: 1rem;
  }

  .faq-item h4 {
    font-size: 1rem;
  }

  .faq-item p {
    font-size: 0.9rem;
  }
}

/*Faixa destaque*/

.faixa-destaque {
  background: #F57C00;
  color: white;
  text-align: center;
  padding: 12px 20px;
  font-weight: bold;
  font-size: 1rem;
  position: relative;
  z-index: 999;
  animation: pulse-destaque 2s infinite alternate;
}

.faixa-destaque a.btn-faixa {
  background: white;
  color: #F57C00;
  padding: 6px 12px;
  margin-left: 10px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.faixa-destaque a.btn-faixa:hover {
  background: #fff3e0;
  color: #E65100;
}

@keyframes pulse-destaque {
  from { background-color: #F57C00; }
  to { background-color: #FF9800; }
}


/*Anima�0�4�0�0o fade in*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Barra de progresso*/
.explora-programas {
  background: #0D47A1;
  color: white;
  padding: 40px 0;
  position: relative;
}

.titulo-faixa {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.faixa-scroll {
  overflow-x: auto;                /* Permite scroll horizontal com o dedo */
  -webkit-overflow-scrolling: touch; /* Suaviza o scroll no iOS */
  white-space: nowrap;
  position: relative;
  scroll-behavior: smooth;
}

.conteudo-scroll {
  display: inline-flex;
  animation: scroll-loop 25s linear infinite;
}

.item-scroll {
  font-size: 1rem;
  font-weight: bold;
  background: #F57C00;
  color: white;
  padding: 10px 30px;
  margin-right: 20px;
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: background 0.3s;
}

.item-scroll:hover {
  background: #FF9800;
}

@keyframes scroll-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* A mover metade da largura */
}

.btn-categorias-todos {
  text-align: center;
  margin-top: 30px;
}

.btn-categoria {
  background: #2196F3;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-categoria:hover {
  background: #1976D2;
}

@media (max-width: 768px) {
  .conteudo-scroll {
  animation: none; /* Desativa animação no telemóvel */
}

  .item-scroll {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
}


.contacto-index form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.contacto-index label {
  font-weight: bold;
  margin-top: 5px;
}

.contacto-index input,
.contacto-index select,
.contacto-index textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.contacto-index textarea {
  resize: vertical;
}

.mensagem-sucesso, .mensagem-erro {
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 4px;
  font-weight: bold;
}

.mensagem-sucesso {
  background-color: #C8E6C9;
  color: #2E7D32;
}

.mensagem-erro {
  background-color: #FFCDD2;
  color: #C62828;
}
#popup-darkmode {
  position: absolute;
  background: #0D47A1;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 9999;
  font-size: 13px;
}

#popup-darkmode::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #0D47A1 transparent transparent transparent;
}

#popup-darkmode.mostrar {
  opacity: 1;
}
@media (min-width: 769px) {
  .conteudo-scroll {
    animation: scroll-loop 25s linear infinite;
  }
}

@media (max-width: 768px) {
  .item-scroll {
    font-size: 0.85rem;
    padding: 8px 20px;
    margin-right: 12px;
  }

  .conteudo-scroll {
    animation-duration: 18s; /* um pouco mais r��pido nos telem��veis */
  }
}


/* Layout padr�0�0o desktop */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-principal {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background-color: #0D47A1;
    margin-top: 10px;
    padding: 10px 0;
  }

  .menu-principal.active {
    display: flex;
  }

  .menu-principal ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-left: 20px;
  }

  .menu-principal ul li a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  #toggle-darkmode {
    margin: 10px 20px;
  }
}


.recordacoes-destaque {
  background-color: #fefefe;
  padding: 50px 20px;
  border-top: 1px solid #ddd;
}

.recordacoes-destaque h2 {
  color: #0D47A1;
  font-size: 2rem;
  margin-bottom: 10px;
}

.recordacoes-destaque p {
  color: #444;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}


/*Botão voltar ao topo 
#btn-topo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: none;
  background-color: #F57C00;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#btn-topo:hover {
  background-color: #FF9800;
  transform: scale(1.1);
}
*/