:root {
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background: #f4f7fe;
  --bg: #f8faff;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(239, 247, 255, 0.8);
  --text: #0f172a;
  --muted: #5f6472;
  --primary: #0b4b90;
  --secondary: #1d4ed8;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.14), transparent 30%),
    linear-gradient(180deg, #f4f7fe 0%, #ffffff 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 1.25rem));
  min-width: 0;
  margin: 0 auto;
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  width: 100%;
  padding: 1rem 0;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.navbar__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  position: relative;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.navbar__brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.navbar__brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.navbar__logo {
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #fff;
  text-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
  white-space: nowrap;
}

.navbar.scrolled .navbar__logo {
  color: var(--primary);
  text-shadow: none;
}

.navbar__menu {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
  color: rgba(255, 255, 255, 0.94);
}

.navbar.scrolled .navbar__menu {
  color: var(--text);
}

.navbar__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.7rem 0.65rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.scrolled .navbar__toggle {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(11, 75, 144, 0.05);
}

.navbar.scrolled .navbar__toggle span {
  background: var(--primary);
}

.navbar__toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navbar__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 7rem 0 3rem;
  background:
    linear-gradient(135deg, rgba(6, 24, 49, 0.52) 0%, rgba(9, 64, 120, 0.38) 45%, rgba(15, 18, 30, 0.54) 100%),
    url('./public/hero-main.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
}

.hero::before {
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: -80px;
  background: var(--accent);
}

.hero::after {
  width: 280px;
  height: 280px;
  right: -100px;
  top: -80px;
  background: #93c5fd;
}

.hero__content {
  width: 100%;
  max-width: 860px;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(7, 20, 38, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
}

.hero__eyebrow,
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero__eyebrow {
  color: #dbeafe;
}

.section__eyebrow {
  color: var(--primary);
}

.hero__title {
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.hero__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  line-height: 1.8;
  margin: 0 auto 2rem;
  max-width: 700px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  min-height: 52px;
  min-width: 180px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-115%);
  transition: transform 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::before {
  transform: translateX(115%);
}

.btn:focus-visible {
  outline: 3px solid rgba(147, 197, 253, 0.8);
  outline-offset: 3px;
}

.btn--light {
  background: rgba(255, 255, 255, 0.96);
  color: #111;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
}

.section {
  padding: clamp(3.2rem, 7vw, 5rem) 0;
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 0.75rem;
  line-height: 1.15;
  text-wrap: balance;
}

.section__subtitle {
  margin: 0 auto 0.5rem;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.text-center {
  text-align: center;
}

.mb-5 {
  margin-bottom: 2rem;
}

.text-muted {
  color: var(--muted);
  line-height: 1.7;
}

.stats {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: 2.2rem;
}

.stats__item,
.diff-card,
.contact__card,
.trip-card,
.faq__item,
.gallery__tile {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stats__item {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 255, 0.94));
  border-radius: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.stats__item:hover,
.diff-card:hover,
.trip-card:hover,
.gallery__tile:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.stats__icon,
.diff-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(245, 158, 11, 0.15));
  color: var(--primary);
}

.stats__icon svg,
.diff-card__icon svg,
.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.stats__item h3,
.diff-card h4,
.contact__card h2,
.trip-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
}

.trip-card {
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  display: grid;
  gap: 1rem;
  position: relative;
  transform-style: preserve-3d;
  min-width: 0;
}

.trip-card--spotlight {
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.trip-card__image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b4b90 0%, #081a33 100%);
  transform: translateZ(0);
}

.trip-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trip-card:hover .trip-card__image img {
  transform: scale(1.03);
}

.trip-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.trip-card__body {
  padding: 2rem;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.trip-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  background: rgba(11, 75, 144, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.trip-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.8rem;
}

.encomendas-section {
  padding-top: 1rem;
}

.encomendas {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.9));
  box-shadow: var(--shadow);
}

.encomendas__image {
  min-height: 300px;
  overflow: hidden;
  border-radius: 24px;
  background: #dbeafe;
}

.encomendas__image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.encomendas__content {
  min-width: 0;
}

.encomendas__content .section__subtitle {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
}

.about {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.about__visual {
  display: flex;
  justify-content: center;
}

.about__image {
  position: relative;
  min-height: 420px;
  width: min(100%, 500px);
  border-radius: 32px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: none;
  transform: none;
}

.about__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.14));
}

.timeline {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.timeline__item {
  padding-left: 2.3rem;
  position: relative;
}

.timeline__item h4 {
  margin: 0 0 0.75rem;
}

.timeline__item p {
  margin: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.diff-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin-top: 2rem;
}

.diff-card {
  padding: 1.6rem;
  border-radius: 24px;
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin-top: 2rem;
}

.gallery__tile {
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  background: #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__tile:hover img {
  transform: scale(1.04);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 26, 51, 0.86);
}

.gallery-lightbox__inner {
  position: relative;
  max-width: min(920px, 100%);
  max-height: 92vh;
}

.gallery-lightbox img {
  max-height: 92vh;
  width: auto;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox button {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 26, 51, 0.78);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.faq__item {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq__question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--muted);
  margin-top: 0.85rem;
}

.faq__item.open .faq__content {
  max-height: 320px;
}

.contact {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.contact__card {
  padding: 2rem;
  border-radius: 28px;
  background: var(--surface);
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact__info {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  color: var(--muted);
}

.contact__location {
  display: grid;
  gap: 0.5rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 75, 144, 0.08);
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.map-link:hover {
  transform: translateY(-2px);
  background: rgba(11, 75, 144, 0.12);
}

.contact__map {
  margin: 1rem 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 1px solid rgba(11, 75, 144, 0.08);
}

.contact__map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  pointer-events: auto;
}

.contact__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(11, 75, 144, 0.08);
  color: var(--primary);
  font-weight: 700;
}

.footer {
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, #081a33 0%, #0f2546 100%);
  color: rgba(255, 255, 255, 0.88);
}

.footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer__copyright {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.floating-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 30;
}

.floating-whatsapp a {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #1ca74b 100%);
  color: #fff;
  box-shadow: 0 25px 50px rgba(37, 211, 102, 0.24);
  animation: pulse 1.8s infinite;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 7.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  box-shadow: 0 20px 40px rgba(11, 75, 144, 0.25);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.04);
  }
}

@media (max-width: 1024px) {
  .navbar__menu {
    gap: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .about,
  .contact,
  .trip-card--spotlight,
  .encomendas {
    grid-template-columns: 1fr;
  }

  .trip-card__image {
    min-height: clamp(220px, 42vw, 320px);
  }

  .encomendas__image,
  .encomendas__image img {
    min-height: clamp(220px, 48vw, 300px);
  }
}

@media (max-width: 900px) {
  .navbar__toggle {
    display: inline-flex;
  }

  .navbar__menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(250px, calc(100vw - 2rem));
    padding: 0.75rem;
    background: rgba(8, 26, 51, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
    color: #fff;
  }

  .navbar__menu.is-open {
    display: flex;
  }

  .navbar__menu a {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    transition: background 0.2s ease;
  }

  .navbar__menu a:hover,
  .navbar__menu a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .navbar.scrolled .navbar__menu {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
  }

  .navbar.scrolled .navbar__menu a:hover,
  .navbar.scrolled .navbar__menu a:focus-visible {
    background: rgba(11, 75, 144, 0.08);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 1rem, 100%);
  }

  .hero {
    padding-top: 6rem;
    min-height: 100svh;
  }

  .navbar__logo {
    max-width: calc(100vw - 8rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero__pill {
    font-size: 0.92rem;
    padding: 0.7rem 1rem;
  }

  .trip-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .trip-card__footer .btn {
    align-self: stretch;
  }

  .encomendas {
    padding: 1rem;
  }

  .encomendas__content .btn {
    width: 100%;
  }

  .contact__card,
  .stats__item,
  .faq__item,
  .diff-card {
    padding: 1.1rem;
  }

  .faq__question {
    font-size: 1rem;
  }

  .contact__info p {
    font-size: 0.96rem;
  }

  .floating-whatsapp {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .floating-whatsapp a {
    width: 56px;
    height: 56px;
  }

  .back-to-top {
    right: 0.75rem;
    bottom: 5.25rem;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 430px) {
  .navbar__logo {
    letter-spacing: 0.12em;
    font-size: 0.82rem;
  }

  .hero__title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero__text {
    font-size: 0.95rem;
  }

  .section__title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .trip-card__body {
    padding: 1.2rem;
  }

  .trip-card__meta {
    gap: 0.5rem;
  }

  .badge {
    font-size: 0.8rem;
    padding: 0.52rem 0.8rem;
  }

  .contact__map iframe {
    height: 240px;
  }
}

@media (min-width: 1441px) {
  .container {
    width: min(1280px, calc(100% - 3rem));
  }
}
