body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background: linear-gradient(to bottom, #f0fdf4, #ffffff);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: #eee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

header h1 {
  color: #047857;
  font-size: 1.5rem;
  font-weight: bold;
}

.custom-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  margin-top: 0.5rem;
  width: 90%;
}

.nav-link.active { color: #047857; }

.nav-link {
  text-decoration: none;
  color: #0f172a;
  font-size: 16px;
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover { background-color: #047857; color: #ffffff; }

.nav-link.login {
  background: #eee;
  border: 1px solid #ccc;
  color: #0f172a;
}

.nav-link.login:hover {
  background-color: #047857;
  color: #ffffff;
  border: 1px solid #ccc;
}
.separator { color: #047857; font-weight: bold; }

.language-dropdown { position: relative; display: inline-block; }
.language-dropdown button {
  background: #eee;
  border: 1px solid #ccc;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lang-options {
  position: absolute; top: 100%; left: 0;
  background: #eee; list-style: none; margin: 0; padding: 0.5rem 0;
  border: 1px solid #ccc; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 999;
}
.lang-options li { padding: 0.4rem 1rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; }
.lang-options li:hover { background-color: #f0f0f0; }
.flag-icon { width: 20px; height: auto; }
.hidden { display: none; }

.hero-wrapper {
  display: flex; flex-direction: column; gap: 2rem;
  justify-content: center; align-items: center; width: 100%;
}
@media (min-width: 768px) { .hero-wrapper { flex-direction: row; } }
.hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-start;     /* conteúdo no topo */
  justify-content: center;     /* centrado horizontalmente */
  padding-top: 4rem;           /* distância do topo */
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: flex;
  flex-direction: column;      /* empilha h2 e p verticalmente */
  align-items: center;         /* centra horizontalmente */
  justify-content: center;     /* centra o bloco */
  text-align: center;          /* centra o texto */
  color: white;
  padding: 1rem 2rem;
  white-space: nowrap;         /* impede quebra de texto dentro do h2 e p */
}

.hero-content h2 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.4;
  margin: 0;
  opacity: 0.95;
}

.section-slideshow { position: relative; overflow: hidden; }
.section-slideshow > * { position: relative; z-index: 1; }
.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  opacity: 1;
  z-index: 0;
}
.bg-slide.hidden { opacity: 0; }

.sobre-nos{
  width:100%;
  min-height:50vh;
  display:flex;
  align-items:stretch;
  margin: 15px 0;
}

.sobre-grid{
  display:grid;
  background: url("img/separator.png") center center / cover no-repeat;
  grid-template-columns: minmax(420px, 900px) 1fr; /* ⬅️ aumentei a largura da coluna de texto */
  width: 95%;
  min-height:80vh;
  height:100%;
}

.sobre-col.texto{
  color:#fff;
  padding: clamp(24px, 4vw, 48px);
}

.sobre-col.texto h2 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem); /* título mais imponente */
  margin: 0 0 1.25rem 0;
  font-weight: 800;                        /* reforça o impacto visual */
}

.sobre-lista {
  margin: 0 0 2rem 1.5rem;
  padding: 0;
  list-style: disc;
  line-height: 1.8;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem); /* texto visivelmente maior */
}

.sobre-col.vazia{}

.btn-saiba{
  background:#047857; color:#fff; text-decoration:none;
  padding:.75rem 1.5rem; border-radius:6px; font-weight:700; display:inline-block;
  width: 100px; text-align: center; font-size: 1rem;
}
.btn-saiba:hover{ background:#065f46; color:#ffffff; }

@media (max-width: 768px){
  .sobre-grid{ grid-template-columns: 1fr; }
  .sobre-col.texto{ background: rgba(0,0,0,0.55); }
}

.descricao-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 0 1.5rem 0;
}

.sobre-logo {
  min-width: 0; text-align: center; color: #047857;
  background: #33333391; border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 0; display: flex; flex-direction: column; gap: 1rem; justify-content: flex-start;
}
.sobre-logo img { max-width: 220px; height: auto; object-fit: contain; align-self: center; }
.logo { height: 50px; width: 225px; }

.btn-group { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block; background-color: #047857; color: white;
  padding: 0.75rem 1.5rem; border-radius: 5px; text-decoration: none; font-weight: bold; margin-top: 1rem;
}
.btn:hover { background-color: #065f46; }
.btn-white {
  display: inline-block; background-color: white; color: #047857;
  padding: 0.75rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: bold; margin-top: 1rem;
}
.btn-white:hover { background-color: #f3f4f6; }

.section { padding: 1rem 1.5rem; text-align: center; }
.bg-light { background-color: #f9fafb; }

#servicos.sobre-nos { margin: 15px 0; }
#servicos .sobre-grid { grid-template-columns: minmax(420px, 900px) 1fr; }
@media (max-width: 768px){
  #servicos .sobre-grid{ grid-template-columns: 1fr; }
}

/* ===========================
   CONTACTOS — 3 colunas modernas
   =========================== */
.contact-section {
  background: #f9fafb;
  color: #0f172a;
  padding: clamp(1rem, 3vw, 2rem) 1rem;
  margin: 0;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}
.contact-header h3 {
  margin: 0 0 .25rem 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #047857;
  font-weight: 800;
}
.contact-header p {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: #475569;
}

/* grid — agora com 3 colunas */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ⬅️ 3 colunas fixas */
  gap: clamp(0.75rem, 2vw, 1rem);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: clamp(0.6rem, 1.5vw, 0.85rem);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  border-color: #d1d5db;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  font-size: 1.2rem;
  flex: 0 0 40px;
  color: #047857;
}

.contact-info h4 {
  margin: 0 0 .2rem 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 700;
  color: #0f172a;
}
.contact-info p {
  margin: 0;
  font-size: clamp(.9rem, 1.5vw, 1rem);
  color: #334155;
}

/* CTAs */
.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: clamp(0.75rem, 2vw, 1rem);
}
.btn.btn-primary {
  background-color: #047857;
  color: #fff;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, transform .2s ease;
}
.btn.btn-primary:hover {
  background-color: #065f46;
  transform: translateY(-1px);
}
.btn.btn-outline {
  background-color: #fff;
  color: #047857;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: border-color .2s ease, transform .2s ease;
}
.btn.btn-outline:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

/* responsivo */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet → 2 colunas */
  }
}
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr; /* mobile → 1 coluna */
  }
}

/* ícone do WhatsApp dentro do cartão */
.icon-whatsapp {
  width: 22px;
  height: 22px;
  color: #25D366; /* cor oficial WhatsApp */
}

/* se quiseres o mesmo círculo verde suave à volta */
.contact-icon {
  background: #e7f9ef; /* verde muito claro */
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
}


iframe {
  display: block;
  width: 100%;
  border: 0;
  margin: 5px 0;
  line-height: 0;
  vertical-align: top;
}

.menu-toggle { display: none; font-size: 1.8rem; background: none; border: none; cursor: pointer; }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .custom-nav {
    flex-direction: column; align-items: flex-start; padding: 1rem; background-color: white;
    position: absolute; top: 100%; left: 0; width: 100%; display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .custom-nav.show { display: flex; }
  .custom-nav .separator { display: none; }
  .language-dropdown { margin-top: 1rem; }
}

.form-contato {
  display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem;
  max-width: 100%; width: 100%; margin-left: 0; margin-right: 0;
}
.form-contato span { font-size: clamp(28px, 4vw, 42px); color: #065f46; text-decoration: solid; }
.form-contato h1   { font-size: 14px; text-align: left; color: #eee; text-decoration: solid; }
.form-contato input, .form-contato textarea {
  padding: 0.5rem; font-size: 0.9rem; border: 1px solid #ccc; border-radius: 6px; width: 100%;
}
.form-contato button {
  padding: 0.5rem 1rem; font-size: 1.2rem; background-color: #047857; color: white;
  border: none; border-radius: 6px; font-weight: bold; cursor: pointer; align-self: flex-start;
  transition: background-color 0.3s ease;
}
.form-contato button:hover { background-color: #065f46; }

footer {
  text-align: center; padding: 1.5rem; background: #f3f4f6; color: #666; font-size: 0.875rem;
}

@media (max-width: 1200px) {
  .sobre-container { max-width: 100%; padding: 2rem; }
  .service-card1, .service-card2 { max-width: 560px; }
}

@media (max-width: 1024px) {
  .sobre-container { grid-template-columns: 1fr; }
  .descricao-img { aspect-ratio: 16/9; }
  .contact-section { grid-template-columns: 1fr; } /* inofensivo: não afeta porque usamos flex */
  .service-card3 { height: 300px; }
}

@media (max-width: 768px) {
  .hero { padding: 1.5rem; }
  .section { padding: 1rem 1rem; }
  .service-card1, .service-card2 { max-width: 100%; }
  .service-card { max-width: 100%; }
  .service-card3 { height: 260px; }
}

@media (max-width: 480px) {
  .sobre-texto .slogan { font-size: 1.3rem; }
  .btn { width: 100%; text-align: center; }
  .btn-white { width: 100%; text-align: center; }
  .btn-saiba { width: 100%; }
  .service-card3 { height: 220px; }
}

.marquee-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.marquee-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation-name: marquee-left;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* 🔧 Ajuste das imagens do marquee */
.marquee-track img {
  width: 3%;          /* 👈 largura fixa (ajusta conforme desejado) */
  height: 100%;         /* 👈 altura fixa (ajusta conforme o teu layout) */
  object-fit: cover;     /* mantém proporção e corta o excesso */
  flex: 0 0 auto;
  
}
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === SERVIÇOS — fundo ocupa 100% === */
#servicos .sobre-grid {
  position: relative;
  width: 100%;             /* ocupa 100% da largura total */
  margin: 0;               /* remove margens laterais */
  min-height: 80vh;
  display: grid;
  grid-template-columns: minmax(420px, 900px) 1fr;
  overflow: visible;
}

/* 2) A faixa dos cards passa a estar no fluxo normal e centrada */
.services-strip{
  grid-column: 1 / -1;   /* ocupa as duas colunas da .sobre-grid */
  position: relative;    /* sem absolute/translate */
  width: 100%;
  display: flex;
  justify-content: center;      /* centra horizontalmente */
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  padding: 0;                   /* sem padding assimétrico */
  z-index: 3;
}

/* 3) O próprio grid dos cards também fica centrado e com largura controlada */
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);   /* igual aos contactos */
  width: min(100%, 1100px);         /* limita a largura mas respeita 100% da section */
  margin: 0 auto;                   /* ⬅️ margens esquerda/direita iguais */
  justify-items: center;            /* cards centrados dentro de cada coluna */
}


/* cards */
.service-mini-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: clamp(0.6rem, 1.5vw, 0.85rem);
  text-decoration: none;
  color: #0f172a;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  overflow: visible;
  width: 100%;
  max-width: 230px;                 /* largura fixa equilibrada para os 4 */
}
.service-mini-card:hover {
  transform: translateY(-3px);
  border-color: #d1d5db;
}

/* remove qualquer fundo/gradiente no bloco de texto dos serviços */
#servicos .sobre-col.texto{
  background: transparent !important;
}

/* no mobile também fica transparente */
@media (max-width: 768px){
  #servicos .sobre-col.texto{
    background: transparent !important;
  }
}

/* imagens uniformes */
.service-mini-card img {
  width: 100%;
  height: 100px;                    /* mesma altura para todas */
  object-fit: cover;                /* corta o excesso */
  object-position: center;
  border-radius: 10px;
  background-color: #f3f4f6;
}

/* texto */
.service-mini-card span {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

/* tooltip */
.service-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: .85rem;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 5;
}
.service-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0,0,0,0.85);
}
.service-mini-card:hover .service-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* responsivo */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =========================
   CITY-TO-CITY ROUTES
   ========================= */
.city-routes {
  background: #eee;
  padding: clamp(1rem, 3vw, 2rem) 1rem;
}

/* Cabeçalho */
.city-header {
  max-width: 80%;
  margin: 0 auto clamp(0.75rem, 2vw, 1.25rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  
}
.city-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #047857;
  gap: 1rem;
}
.city-header .see-all {
  text-decoration: none;
  font-weight: 700;
  color: #0f172a;
  opacity: .8;
}
.city-header .see-all:hover { opacity: 1; }

/* Grelha — igual à dos serviços */
.city-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  width: min(100%, 100%);
  margin: 0 auto;
  justify-items: center;
}

/* Cada card de cidade igual aos service-mini-card */
.city-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: clamp(0.6rem, 1.5vw, 0.85rem);
  text-decoration: none;
  color: #0f172a;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  overflow: hidden;
  width: 100%;
  max-width: 230px;
}
.city-card:hover {
  transform: translateY(-3px);
  border-color: #d1d5db;
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}

/* imagem */
.city-thumb {
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  background-color: #f3f4f6;
}

/* texto */
.city-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
}
.city-name {
  font-weight: 700;
  font-size: 18px;
  color: #0f172a;
  line-height: 1.2;
}
.city-meta {
  font-size: .85rem;
  color: #475569;
}

/* Responsivo — igual aos serviços */
@media (max-width: 1024px) {
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .city-grid { grid-template-columns: 1fr; }
}

/* === ROTAS (cartão compacto sem imagem) */
.route-card { 
  /* reaproveita .city-card (só refinamos o conteúdo) */
  padding: clamp(0.75rem, 1.6vw, 1rem);
  gap: .6rem;
}
.route-main{
  display: flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}
.route-main .arrow{ opacity: .6; }
.route-sub{
  display: flex;
  gap: 1rem;
  font-size: .9rem;
  color: #475569;
  line-height: 1;
}

/* === TOURS POPULARES === */
#tours {
  background: #eee;
}

.tour-card {
  border: 1px solid #e2e8f0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.tour-card .city-thumb {
  height: 140px; /* um pouco maior para destaque */
}

.tour-card .city-name {
  color: #047857;
  font-size: 1rem;
}

.tour-card .city-meta {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.4;
}
