/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #0F172A; background: #fff; overflow-x: hidden; line-height: 1.6; padding-top: 64px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 14px; }
button { font-family: 'Montserrat', sans-serif; }

:root {
  --orange: #F97316;
  --orange-d: #EA580C;
  --dark: #0F172A;
  --dark2: #1E293B;
  --gray: #64748B;
  --light: #F8FAFC;
  --white: #fff;
  --green: #25D366;
  --r: 12px;
  --tr: 0.25s ease;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-orange { color: var(--orange); }

/* ====== NAV ====== */
.nav {
  position: fixed; inset: 0 0 auto;
  background: rgba(15,23,42,.96); backdrop-filter: blur(10px);
  z-index: 100; min-height: 64px; padding: 12px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.nav__wrap {
  max-width: 1140px; min-height: 40px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 1.2rem; color: #fff;
}
.nav__logo span { color: var(--orange); }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__links a { color: rgba(255,255,255,.75); font-weight: 600; font-size: .85rem; padding: 8px 14px; border-radius: 8px; transition: var(--tr); }
.nav__links a:hover { color: var(--orange); }
.nav__wa { background: var(--green); color: #fff !important; border-radius: 20px; padding: 8px 18px !important; }
.nav__burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; cursor: pointer; padding: 0; }
.nav__burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 5px 0; transition: var(--tr); }
.nav__burger span { margin: 0; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__burger { display: flex; }
  .nav__links { 
    position: fixed; left: 0; top: 64px; width: 100%;
    background: rgba(15,23,42,.98); backdrop-filter: blur(10px);
    flex-direction: column; gap: 0; max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: max-height 0.3s ease, opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav__links.open { max-height: 300px; opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__links a { display: block; padding: 14px 24px; border-radius: 0; }
}

/* ====== HERO ====== */
.hero {
  position: relative; min-height: calc(100vh - 64px);
  margin-top: 0;
  background: var(--dark);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: 0;
  filter: saturate(1.08) contrast(1.06);
}
.hero__overlay {
  position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.82) 0%, rgba(15,23,42,.54) 42%, rgba(15,23,42,.18) 100%), linear-gradient(to bottom, rgba(15,23,42,.12), rgba(15,23,42,.72)); z-index: 1;
}
.hero__content {
  position: relative; z-index: 2;
  min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center;
  max-width: 700px; padding: 72px 24px;
  color: #fff;
}
.hero__tag {
  display: inline-block; background: rgba(249,115,22,.2); border: 1px solid rgba(249,115,22,.4);
  color: #FED7AA; padding: 8px 18px; border-radius: 20px;
  font-size: .85rem; font-weight: 700; margin-bottom: 28px; width: fit-content;
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .95rem;
  padding: 12px 28px; border-radius: 50px;
  border: none; cursor: pointer; transition: var(--tr); white-space: nowrap;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.35); }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: #128C7E; transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* ====== PILLS ====== */
.pills {
  background: var(--dark); padding: 20px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
}
.pill {
  padding: 14px 24px; color: rgba(255,255,255,.6);
  font-size: .82rem; font-weight: 600; border-right: 1px solid rgba(255,255,255,.08);
}
.pill:last-child { border-right: none; }

/* ====== SECTIONS ====== */
.section { padding: 72px 0; }
.section--gray { background: var(--light); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head p { color: var(--gray); margin-top: 8px; font-size: 1rem; }

/* ====== ROTEIROS GRID ====== */
.roteiros {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.roteiro-card {
  display: block; background: #fff; border-radius: var(--r);
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: var(--tr);
}
.roteiro-card:hover { transform: translateY(-6px); box-shadow: 0 8px 32px rgba(0,0,0,.16); }
.roteiro-card--featured { border: 2px solid var(--orange); }

.roteiro-card__img {
  aspect-ratio: 2 / 3;
  height: auto;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.roteiro-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.roteiro-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--orange); color: #fff;
  padding: 4px 12px; border-radius: 50px;
  font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700;
  z-index: 2;
}
.roteiro-card__badge--gold { background: #F59E0B; }

.roteiro-card__body { padding: 20px; }
.roteiro-card__body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.roteiro-card__body p { color: var(--gray); font-size: .9rem; margin-bottom: 14px; }
.roteiro-card__meta {
  display: flex; gap: 14px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid #E2E8F0;
  font-size: .85rem; color: var(--gray);
}
.roteiro-card__cta {
  display: block; color: var(--orange); font-weight: 700; font-size: .9rem;
}

/* ====== SOBRE ====== */
.sobre { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center; }
.sobre__img {
  border-radius: var(--r); overflow: hidden; height: 400px;
  background: var(--dark);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  position: relative;
}
.sobre__img img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center;
}
.sobre__text p { color: var(--gray); margin-bottom: 12px; line-height: 1.75; }
.sobre__checks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 28px;
}
.sobre__checks span {
  background: #fff; padding: 9px 12px; border-radius: 8px;
  font-size: .85rem; font-weight: 600; color: var(--dark2);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

/* ====== DETAIL PAGE ====== */
.detail-hero { padding: 0; margin-top: 0; }
.carousel {
  position: relative;
  width: 100%;
  height: clamp(320px, 42vw, 680px);
  background: var(--dark);
  overflow: hidden;
}
.carousel__item {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
}
.carousel__item.active { opacity: 1; }
.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--dark);
}
.carousel__prev, .carousel__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); color: #fff; border: none;
  font-size: 2rem; padding: 12px 16px; cursor: pointer;
  z-index: 10; transition: var(--tr);
}
.carousel__prev:hover, .carousel__next:hover { background: rgba(0,0,0,.8); }
.carousel__prev { left: 20px; }
.carousel__next { right: 20px; }
.carousel__dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.carousel__dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4);
  cursor: pointer; transition: var(--tr);
}
.carousel__dot.active { background: var(--orange); width: 24px; border-radius: 5px; }

.detail { padding: 52px 0; }
.detail__head { margin-bottom: 40px; }
.detail__sub { color: var(--gray); font-size: 1rem; margin-bottom: 12px; }
.detail__stars { color: var(--orange); font-weight: 700; }
.detail__stars span { color: var(--gray); font-size: .85rem; }

.detail__grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }

.detail__main h2 { border-top: 2px solid #E2E8F0; padding-top: 28px; margin-top: 28px; }
.detail__main p { color: var(--gray); margin-bottom: 14px; }
.detail__includes { list-style: none; margin-bottom: 24px; }
.detail__includes li { color: var(--gray); padding: 8px 0; font-size: .92rem; }
.detail__specs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; padding: 16px; background: var(--light); border-radius: var(--r); }
.spec { font-size: .92rem; color: var(--gray); }
.spec strong { display: block; color: var(--dark); margin-bottom: 4px; }
.spec small { color: var(--gray); font-size: .82rem; }
.detail__whatbring { list-style: none; margin-bottom: 24px; }
.detail__whatbring li { color: var(--gray); padding: 6px 0; font-size: .9rem; }

.video-embed {
  margin: 28px 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.video-embed small { display: block; padding: 8px; background: var(--light); text-align: center; color: var(--gray); font-size: .75rem; }

.gallery-detail {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  border-radius: var(--r); overflow: hidden;
}
.gallery-detail img { width: 100%; height: 200px; object-fit: cover; }

/* ====== SIDEBAR ====== */
.checkout-box {
  background: var(--light); border: 1px solid #E2E8F0;
  border-radius: var(--r); padding: 24px;
  position: sticky; top: 90px;
}
.checkout-box h2 { font-size: 1.1rem; }
.price { font-size: 1.8rem; font-family: 'Montserrat', sans-serif; color: var(--orange); margin-bottom: 16px; }
.price small { font-size: .75rem; color: var(--gray); }

.form-group {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
}
.form-group label {
  font-weight: 600; font-size: .85rem; color: var(--dark);
}
.form-group input, .form-group select {
  padding: 10px 12px; border: 1px solid #E2E8F0; border-radius: 6px;
  font-size: .9rem; font-family: 'Inter', sans-serif;
  transition: var(--tr);
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.form-group.checkbox {
  flex-direction: row; align-items: center;
}
.form-group.checkbox input { margin: 0; width: 18px; height: 18px; }

.btn--block { margin: 20px 0; }
.checkout-info { padding-top: 16px; border-top: 1px solid #E2E8F0; }
.checkout-info p { font-size: .85rem; color: var(--gray); margin: 6px 0; }

.similar { margin-top: 24px; padding-top: 24px; border-top: 1px solid #E2E8F0; }
.similar h3 { font-size: 1rem; margin-bottom: 12px; }
.similar__link {
  display: block; padding: 10px; background: #fff;
  border: 1px solid #E2E8F0; border-radius: 6px;
  color: var(--orange); font-weight: 600; font-size: .9rem;
  text-align: center; margin-bottom: 8px;
  transition: var(--tr);
}
.similar__link:hover { background: var(--light); }

/* ====== FOOTER ====== */
.footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 28px 0; text-align: center; font-size: .85rem;
}
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__wa { color: var(--green); transition: var(--tr); }
.footer__wa:hover { transform: scale(1.1); }

/* ====== FLOATING WA ====== */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  animation: bounce 3s infinite;
  transition: var(--tr);
}
.float-wa:hover { background: #128C7E; transform: scale(1.1); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  body { padding-top: 64px; }
  .nav__wrap { padding: 0 16px; }
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero__img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: 46vh;
    object-fit: contain;
    object-position: center top;
    background: var(--dark);
  }
  .hero__overlay {
    position: absolute;
    inset: 0 0 auto;
    height: 46vh;
    background: linear-gradient(to bottom, rgba(15,23,42,.08), rgba(15,23,42,.72));
  }
  .hero__content {
    min-height: auto;
    padding: 28px 24px 40px;
    background: linear-gradient(180deg, rgba(15,23,42,.98), #0b1220);
  }
  .hero h1 { font-size: 1.6rem; }
  .hero__sub { font-size: .95rem; }
  .detail__grid { grid-template-columns: 1fr; }
  .checkout-box { position: static; }
  .detail-hero { background: var(--dark); }
  .carousel {
    height: clamp(260px, 58vw, 440px);
    background: var(--dark);
  }
  .carousel__item {
    position: absolute;
    inset: 0;
    opacity: 0;
  }
  .carousel__item.active { opacity: 1; }
  .carousel__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: var(--dark);
  }
  .carousel__prev,
  .carousel__next {
    top: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
  }
  .carousel__prev { left: 12px; }
  .carousel__next { right: 12px; }
  .carousel__dots { bottom: 10px; }
  .gallery-detail { grid-template-columns: 1fr; }
  .sobre { grid-template-columns: 1fr; gap: 30px; }
  .sobre__img { height: 300px; }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: calc(100vh - 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 44vw);
    grid-template-areas: "content image";
    overflow: hidden;
  }
  .hero__img {
    grid-area: image;
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }
  .hero__overlay {
    inset: 0;
    height: auto;
    background: linear-gradient(90deg, rgba(15,23,42,.94) 0%, rgba(15,23,42,.82) 48%, rgba(15,23,42,.24) 100%);
  }
  .hero__content {
    grid-area: content;
    min-height: calc(100vh - 64px);
    justify-content: center;
    max-width: none;
    padding: 20px 24px;
    background: transparent;
  }
  .hero__tag {
    margin-bottom: 12px;
    padding: 7px 14px;
    font-size: .78rem;
  }
  .hero h1 {
    font-size: clamp(1.35rem, 4vw, 2rem);
    margin-bottom: 10px;
  }
  .hero__sub {
    font-size: .9rem;
    margin-bottom: 16px;
  }
  .hero__cta .btn {
    padding: 10px 18px;
    font-size: .85rem;
  }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .roteiros { grid-template-columns: 1fr; }
  .hero__content { padding: 48px 16px; }
  .hero__content { padding: 24px 16px 36px; }
  .hero__tag { margin-bottom: 18px; }
  .carousel { height: clamp(240px, 62vw, 360px); }
  .detail { padding: 24px 0; }
  .section { padding: 48px 0; }
}
