:root {
  --primary-blue: #2563eb;
  --dark-blue: #0f172a;
  --gold: #f1b345;
  --gold-hover: #d99e32;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --radius-xl: 40px;
  --radius-lg: 20px;
  --card-radius: 35px;
  --input-radius: 18px;
  --border-light: #e2e8f0;
  --search-box-shadow: 0 40px 100px rgba(15, 23, 42, 0.15);
  --card-shadow: 0 30px 60px rgba(0,0,0,0.06);
  --nav-z: 1001;
  /* overlay menos intrusiva e abaixo do header */
  --nav-overlay-z: 900;
  --nav-overlay-bg: rgba(0,0,0,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 95px; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 30px; }

/* SUBTITLES */
.section-subtitle {
  color: var(--text-light);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  margin-top: 12px;
}

/* HEADER */
.header {
  height: 95px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.04);
}

.header-flex {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.8px;
}

.logo span { color: var(--gold); }

/* telefone centrado */
.header-phone-center {
  justify-self: center;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* nav */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--primary-blue); }

/* Phone button */
.phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-blue);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: var(--primary-blue);
  justify-content: center;
  align-items: center;
  padding: 0; /* remove padding so icons can be perfectly centered */
  /* ensure a consistent box-sizing for centering */
  box-sizing: border-box;
}

/* ensure the menu-icon wrapper centers the active SVG */
.mobile-menu-btn .menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0; /* avoid baseline shift on some browsers */
  position: relative; /* allow absolute-centering of svg */
  overflow: hidden;
}

/* ensure SVGs behave as true blocks and are centered absolutely */
.mobile-menu-btn svg {
  display: block;
  margin: 0;
  width: 18px;    /* slight size tweak for balance */
  height: 18px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* perfect center */
  vector-effect: non-scaling-stroke;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1;
}

/* initial states + open-state scales keep the translate center */
.mobile-menu-btn .icon-close { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
.mobile-menu-btn.open .icon-menu { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
.mobile-menu-btn.open .icon-close { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ensure visibility/focus styles */
.mobile-menu-btn:focus { outline: 2px solid rgba(37,99,235,0.14); outline-offset: 2px; }

/* HERO */
.hero {
  height: 90vh;
  background: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 25px;
  font-weight: 900;
}

.hero h1 span { color: var(--gold); }

.hero-subtitle-top {
  font-size: 1.4rem;
  max-width: 750px;
  margin: 0 auto 45px;
  font-weight: 300;
  opacity: 0.95;
}

/* SEARCH BOX - sem tabs */
.search-container {
  margin-top: -140px;
  position: relative;
  z-index: 10;
}

.search-box {
  background: white;
  padding: 60px 60px 55px;
  border-radius: var(--radius-xl);
  box-shadow: var(--search-box-shadow);
  border: 1px solid var(--border-light);
}

.search-header {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  text-align: center;
}

.search-box-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin: 0;
  width: 100%;
  max-width: 720px; /* evita que o título fique demasiado largo em telas grandes */
  text-align: center;
}

.search-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Make the search inputs layout explicit and spaced */
.search-grid {
  display: grid;
  /* Destino | Datas | Pessoas */
  grid-template-columns: 1fr 360px 360px;
  gap: 22px;
  align-items: start;          /* alinha rótulos/inputs no topo para ficarem na mesma linha */
  max-width: 2000px;
  margin: 0 auto;             /* centraliza o bloco dentro do search-box */
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0; /* evita overflow de conteúdo dentro do grid */
}

.input-group input,
.sub-input input {
  height: 58px;
}

.input-group label {
  display: flex;
  align-items: center;
  justify-content: center; /* center horizontally */
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px; /* space between label and input */
  text-align: center;
  min-height: 40px;     /* uniform label height so all labels align */
  padding-top: 6px;     /* small top padding to match vertical visual */
  padding-bottom: 6px;
}

/* Slight spacing for the icon inside the label */
.input-group label i {
  margin-right: 8px;
  display: inline-flex;
  align-items: center; /* ensure svg/icon centers vertically */
}

.input-group input {
  width: 100%;
  padding: 18px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--input-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
  background: var(--bg-light);
}

.input-group input:focus {
  border-color: var(--primary-blue);
  outline: none;
  background: white;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.date-inputs,
.traveler-inputs {
  display: flex;
  gap: 16px;
}

.sub-input {
  flex: 1;
  min-width: 0;
}

.sub-input small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.sub-input input {
  width: 100%;
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
}

.search-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  margin-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.search-options {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap; /* evita overflow em telas pequenas */
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
}

.checkbox-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-blue);
}

/* BUTTONS */
button,
.btn-primary,
.btn-search,
.btn-details {
  font-family: var(--font-main) !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.btn-primary {
  background: var(--gold);
  color: white;
  border: none;
  padding: 22px 55px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(241, 179, 69, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  background: var(--gold-hover);
  box-shadow: 0 15px 35px rgba(241, 179, 69, 0.5);
}

.btn-search {
  background: var(--primary-blue);
  color: white;
  border: none;
  height: 64px;
  padding: 0 54px;
  border-radius: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-search:hover {
  transform: translateY(-3px);
  background: var(--dark-blue);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

/* DESTINATIONS */
.destinations { padding: 160px 0; }

.section-title {
  text-align: center;
  margin-bottom: 90px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  color: var(--dark-blue);
  font-weight: 900;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
  /* make each grid row behave uniformly so cards in the same row share height */
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.card {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  /* ensure card fills the grid cell height */
  height: 100%;
}

/* Hint GPU for image transforms */
.card-img {
  /* force consistent image area and prevent image from shrinking */
  flex: 0 0 320px;
  height: 320px;
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
}

.card:hover .card-img img {
  transform: scale(1.12);
}

.rating {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating i {
  color: var(--gold);
  width: 16px;
}

.card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* occupy remaining vertical space so items like the button align to bottom */
  flex: 1 1 auto;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dark-blue);
  margin-bottom: 6px;
  font-weight: 800;
}

.card-header p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-light);
}

.price { text-align: right; }

.price span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-top: 4px;
}

.hotel-option {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--text-light);
  cursor: pointer;
}

.hotel-option input {
  width: 22px;
  height: 22px;
  accent-color: var(--primary-blue);
}

.btn-details {
  width: 100%;
  padding: 18px;
  border: 2.5px solid #e2e8f0;
  background: transparent;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark-blue);
  margin-top: auto;
}

.btn-details:hover {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

/* TESTIMONIALS */
.testimonials { padding-bottom: 160px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.testimony-card {
  padding: 50px;
  background: var(--bg-light);
  border-radius: 35px;
  border: 1px solid #f1f5f9;
  transition: 0.3s;
}

.testimony-card:hover {
  background: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.stars {
  color: var(--gold);
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.testimony-card p {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 35px;
  font-size: 1.15rem;
  line-height: 1.8;
}

.user {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.user strong { display: block; font-size: 1.1rem; }
.user span { font-size: 0.9rem; color: var(--text-light); }

/* FAQ */
.faq {
  padding-bottom: 160px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
  background: white;
}

.faq-item.active {
  border-color: var(--primary-blue);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.08);
}

.faq-question {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-blue);
}

.faq-answer {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-light);
  font-size: 1rem;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  max-height: 300px;
}

/* SUPPORT */
.support { padding-bottom: 160px; }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.support-text h2 {
  font-size: 3.8rem;
  margin-bottom: 25px;
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 900;
}

.support-info-list {
  list-style: none;
  margin-top: 45px;
}

.support-info-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 1.2rem;
}

.support-info-list i {
  color: var(--primary-blue);
  width: 28px;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: white;
  padding: 60px;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
  border: 1px solid #f1f5f9;
}

.support-form input,
.support-form textarea {
  padding: 22px 28px;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-light);
  transition: 0.3s;
}

.support-form input:focus,
.support-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: white;
}

.support-form textarea {
  height: 180px;
  resize: none;
}

/* FOOTER */
.footer {
  background: var(--dark-blue);
  color: white;
  padding: 120px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 100px;
  margin-bottom: 100px;
}

.footer-brand .logo { margin-bottom: 35px; }

.footer-brand p {
  opacity: 0.6;
  max-width: 380px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.footer-links h4,
.footer-trust h4 {
  margin-bottom: 35px;
  font-size: 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.footer-links a {
  display: block;
  color: white;
  opacity: 0.6;
  text-decoration: none;
  margin-bottom: 18px;
  transition: 0.3s;
  font-weight: 500;
  font-size: 1.05rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
  transform: translateX(8px);
}

.trust-icons {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0.5;
  font-size: 1rem;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up {
  opacity: 0;
  transform: translateY(80px) scale(0.96);
  transition: 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.active-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.animate-up {
  animation: fadeInUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RIPPLE */
.ripple { position: relative; overflow: hidden; }

.ripple-span {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  animation: ripple-anim 0.8s linear;
}

@keyframes ripple-anim {
  from { width: 0; height: 0; opacity: 0.5; }
  to { width: 700px; height: 700px; opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .search-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .search-box { padding: 48px 36px; }
}

@media (max-width: 992px) {
  .header-flex {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    row-gap: 10px;
  }

  .header-phone-center {
    grid-column: 1 / 3;
    justify-self: center;
  }

  .header-right {
    justify-self: end;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    padding: 150px 50px;
    /* animação de slide + fade */
    transition: right 0.7s cubic-bezier(0.8, 0, 0.1, 1), opacity 0.32s ease;
    z-index: var(--nav-z);
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0;
    pointer-events: none;
    will-change: right, opacity;
  }

  .nav-menu.active { right: 0; opacity: 1; pointer-events: auto; }

  /* overlay behind the menu to dim page and catch outside clicks */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--nav-overlay-bg);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: var(--nav-overlay-z);
    pointer-events: none;
  }
  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* ensure each nav li has base transition so JS-only sets delay */
  .nav-links li {
    opacity: 0;
    transform: translateX(40px);
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.5s;
  }
  .nav-menu.active .nav-links li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 30px;
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(40px);
  }

  .nav-menu.active .nav-links li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--dark-blue);
  }

  .search-box { padding: 50px 30px; }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    /* center items horizontally and vertically inside each grid cell */
    place-items: center;
    text-align: center;
  }

  /* ensure each footer column's content is centered on mobile */
  .footer-brand,
  .footer-links,
  .footer-trust {
    text-align: center;
    align-self: center;
  }

  /* make links inline-block so they center and keep spacing on hover */
  .footer-links a {
    display: inline-block;
    margin: 6px 0;
  }

  /* center the trust icons row */
  .trust-icons {
    justify-content: center;
  }

  /* keep brand paragraph nicely centered */
  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .faq-container {
    padding: 0 10px;
  }

  /* additional small overrides from second @media block */
  .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu { padding-top: 140px; }
  .logo { z-index: 1002; }
  .phone-link { padding: 12px 16px; }
}

/* Mantém ícone do telefone no mobile */
@media (max-width: 600px) {
  /* evita arrastar para o lado e controla comportamento de scroll em mobile */
  html, body {
    overscroll-behavior-x: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden; /* reforça a proteção contra scroll horizontal */
  }

  /* Aumenta padding lateral para que cards não fiquem encostados */
  .container { padding: 0 20px; } /* antes: 16px, agora 20px */

  /* Mantém apenas o ícone do telefone e centraliza-o no mobile */
  .phone-link {
    padding: 10px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
  }
  .phone-link span { display: none; }
  .phone-link i { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; }

  /* evita que o search "vaze" para fora do viewport e reduz sobreposição */
  .search-container { margin-top: -70px; } /* menos negativo no mobile */
  .search-box {
    padding: 28px 18px;
    width: calc(100% - 36px);
    max-width: 100vw;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden; /* evita que filhos causem overflow horizontal */
  }
  .search-grid { gap: 12px; }

  /* força empilhamento vertical dos sub-inputs para não se sobreporem */
  .date-inputs,
  .traveler-inputs {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .traveler-inputs .sub-input,
  .date-inputs .sub-input {
    width: 100%;
    min-width: 0;
  }
  .sub-input input { text-align: left; }

  /* garante que o menu mobile não exceda o viewport e possa rolar verticalmente */
  .nav-menu {
    width: 100vw;
    right: -100vw; /* mantém o mesmo off-canvas sem criar overflow */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* reaplica layout das opções de busca em mobile (2 colunas) */
  .search-footer {
    flex-direction: column;
    gap: 14px;
    align-items: center;
    padding-top: 16px;
  }

  .search-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    justify-items: center;
  }

  .checkbox-option {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 12px;
    width: 100%;
    max-width: 260px; /* evita que fiquem largos demais */
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--text-dark);
  }

  .checkbox-option input {
    margin-bottom: 8px;
  }

  /* reduz padding do formulário de suporte para caber sem sobrepor */
  .support-form {
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
  }

  /* torna botão de busca responsivo, já estava, reforçamos limites */
  .btn-search {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: block;
  }

  /* centraliza cards de destinos e evita overflow em telemóveis pequenos */
  .destinations-grid {
    grid-template-columns: 1fr;     /* uma coluna só no mobile */
    justify-items: center;         /* centra cada card dentro da grelha */
    gap: 18px;
    padding: 0 6px;                /* espaço interno extra para segurar as laterais */
  }

  .card {
    width: 100%;
    max-width: 420px;              /* mantém a largura do card confortável em telemóveis */
    margin: 0 auto;                /* centra o card */
    box-sizing: border-box;
  }

  /* imagens ligeiramente menores para ficar melhor em ecrãs reduzidos */
  .card-img {
    flex: 0 0 240px;
    height: 240px;
  }

  /* reduz padding para evitar sensação de "aperto" */
  .card-body {
    padding: 28px;
  }

  /* --- NOVO: centralizar cartões de testemunhos no mobile --- */
  .testimonials-grid {
    grid-template-columns: 1fr;   /* uma coluna para testemunhos no mobile */
    justify-items: center;        /* centra cada cartão */
    gap: 18px;
    padding: 0 6px;
  }

  .testimony-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 30px; /* reduzido de 50px para ficar melhor em ecrãs pequenos */
  }
}