/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-primary: #1a6b4a;
  --clr-primary-light: #239864;
  --clr-accent: #e8a838;
  --clr-dark: #0f1c14;
  --clr-text: #2d3a30;
  --clr-muted: #6b7a6e;
  --clr-bg: #f8faf8;
  --clr-white: #ffffff;
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.16);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--clr-primary);
  color: var(--clr-white);
}
.btn--primary:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,107,74,.35);
}
.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: var(--clr-white);
}
.btn--outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--clr-white);
}
.btn--sm {
  padding: .55rem 1.2rem;
  font-size: .85rem;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: 50px;
}
.btn--sm:hover { background: var(--clr-primary-light); }
.btn--full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(15,28,20,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  color: var(--clr-white);
  letter-spacing: -.02em;
}
.nav__logo span { color: var(--clr-accent); margin: 0 .15em; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__link:hover { color: var(--clr-white); }
.nav__link--cta {
  background: var(--clr-accent);
  color: var(--clr-dark);
  padding: .6rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
}
.nav__link--cta:hover { background: #f0b84a; color: var(--clr-dark); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=1600&q=80')
    center / cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,30,15,.78) 0%, rgba(10,30,15,.45) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: 7rem 5rem;
}
.hero__tag {
  display: inline-block;
  background: rgba(232,168,56,.2);
  border: 1px solid rgba(232,168,56,.5);
  color: var(--clr-accent);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: italic;
  color: var(--clr-accent);
}
.hero__subtitle {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.5); opacity: .4; }
}

/* ===== STATS ===== */
.stats {
  background: var(--clr-dark);
  padding: 3rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stats__item strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 2.4rem;
  color: var(--clr-accent);
}
.stats__item span {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

/* ===== SECTION HELPERS ===== */
.section { padding: 6rem 0; }
.section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.section__tag {
  display: inline-block;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--clr-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section__desc { color: var(--clr-muted); }

/* ===== DESTINOS ===== */
.destinos__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--clr-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.card:hover .card__img { transform: scale(1.04); }
.card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.card__tag {
  font-size: .75rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.card__title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  color: var(--clr-dark);
}
.card__desc { color: var(--clr-muted); font-size: .9rem; flex: 1; }
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #eee;
}
.card__price { font-size: .88rem; color: var(--clr-muted); }
.card__price strong { color: var(--clr-primary); font-size: 1rem; }

/* Layout do grid de destinos */
.card--featured { grid-column: span 5; }
.card--featured .card__img { height: 260px; }
.destinos__grid .card:not(.card--featured) { grid-column: span 3.5; }
/* fallback para colunas corretas */
.destinos__grid > .card:nth-child(2) { grid-column: span 4; }
.destinos__grid > .card:nth-child(3) { grid-column: span 3; }
.destinos__grid > .card:nth-child(4) { grid-column: span 4; }
.destinos__grid > .card:nth-child(5) { grid-column: span 4; }
.destinos__grid > .card:nth-child(6) { grid-column: span 4; }

/* ===== EXPERIÊNCIAS ===== */
.experiencias { background: linear-gradient(135deg, #f0f7f3 0%, #e8f4ec 100%); }
.experiencias__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.exp-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.exp-card:hover { transform: translateY(-4px); }
.exp-card__icon { font-size: 3rem; margin-bottom: 1.25rem; }
.exp-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--clr-dark);
  margin-bottom: .75rem;
}
.exp-card p { color: var(--clr-muted); font-size: .95rem; }

/* ===== DEPOIMENTOS ===== */
.depoimentos { background: var(--clr-dark); }
.depoimentos .section__tag { color: var(--clr-accent); }
.depoimentos .section__title { color: var(--clr-white); }
.depoimentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.depo-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: background var(--transition);
}
.depo-card:hover { background: rgba(255,255,255,.1); }
.depo-card p {
  color: rgba(255,255,255,.8);
  font-size: .97rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.depo-card footer { display: flex; align-items: center; gap: 1rem; }
.depo-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 700;
  font-size: .85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.depo-card footer strong { display: block; color: var(--clr-white); font-size: .95rem; }
.depo-card footer span { color: rgba(255,255,255,.5); font-size: .82rem; }

/* ===== CONTATO ===== */
.contato__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contato__info .section__title { text-align: left; }
.contato__info p { color: var(--clr-muted); margin-bottom: 2rem; }
.contato__details { display: flex; flex-direction: column; gap: .75rem; color: var(--clr-muted); }
.contato__details li { font-size: .95rem; }

.contato__form {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form__group { display: flex; flex-direction: column; gap: .45rem; }
.form__group label { font-size: .88rem; font-weight: 600; color: var(--clr-text); }
.form__group input,
.form__group select,
.form__group textarea {
  padding: .85rem 1rem;
  border: 1.5px solid #dde5de;
  border-radius: 10px;
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--clr-text);
  background: var(--clr-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(26,107,74,.12);
}
.form__group textarea { resize: vertical; }
.form__notice {
  font-size: .88rem;
  text-align: center;
  min-height: 1.2em;
  color: var(--clr-primary);
}
.form__notice.error { color: #c0392b; }

/* ===== FOOTER ===== */
.footer {
  background: var(--clr-dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer p { color: rgba(255,255,255,.4); font-size: .85rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { color: rgba(255,255,255,.4); font-size: .85rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--clr-white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .destinos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card--featured,
  .destinos__grid > .card:nth-child(n) { grid-column: span 1; }
  .card--featured .card__img { height: 200px; }
  .contato__wrapper { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .nav__menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,25,15,.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav__menu.open { display: flex; }
  .nav__link { font-size: 1.3rem; }
  .nav__toggle { display: flex; z-index: 200; }
  .destinos__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; text-align: center; }
  .contato__form { padding: 1.5rem; }
}
