@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@700;900&display=swap');

:root {
  --color-black: #0f0f0f;
  --color-white: #fafafa;
  --color-grey-100: #f5f5f5;
  --color-grey-200: #e0e0e0;
  --color-grey-400: #999999;
  --color-grey-700: #222222;
  --color-grey-800: #1a1a1a;
  --color-accent: #c8a25c;
  --color-accent-hover: #dbb76e;
  --color-whatsapp: #25D366;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1240px;
  --nav-height: 80px;
  --section-padding: 10rem 0;
  --section-padding-mobile: 6rem 0;
  --border-radius: 20px;
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-medium: 0 20px 40px rgba(0,0,0,0.15);
}

/* Global Typography Hard-Reset */
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif !important; font-weight: 900 !important; }
body, p, a, span, div, li, input, button, select { font-family: 'Inter', sans-serif; }

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--color-black); background: var(--color-white); line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

/* Layout */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-padding-mobile); }
.section--black { background: var(--color-black); color: var(--color-white); }
.section--white { background: var(--color-white); color: var(--color-black); }
.section__title { font-family: 'Montserrat', sans-serif !important; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; text-align: center; margin-bottom: 1.5rem; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.1; color: inherit; }
.section__title--white { color: var(--color-white) !important; }
.section__subtitle { text-align: center; color: var(--color-grey-400); margin-bottom: 4rem; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; font-family: 'Inter', sans-serif; }
.section__subtitle--white { color: rgba(255,255,255,0.6) !important; }

/* Buttons */
.btn { display: inline-block; padding: 1rem 2.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; border: none; border-radius: var(--border-radius); cursor: pointer; transition: all var(--transition-fast); text-align: center; position: relative; overflow: hidden; z-index: 1; }
.btn--accent { background: linear-gradient(135deg, var(--color-accent), #b08d4b); color: var(--color-black); box-shadow: 0 4px 15px rgba(200,162,92,0.3); }
.btn--accent::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #dbb76e, var(--color-accent)); opacity: 0; transition: opacity var(--transition-fast); z-index: -1; }
.btn--accent:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(200,162,92,0.4); }
.btn--accent:hover::after { opacity: 1; }
.btn--accent:active { transform: translateY(-1px) scale(0.98); }
.btn--outline { background: transparent; color: var(--color-white); border: 2px solid rgba(255,255,255,0.2); }
.btn--outline:hover { background: var(--color-white); color: var(--color-black); border-color: var(--color-white); transform: translateY(-2px); }
.btn--large { padding: 1rem 2.5rem; font-size: 1rem; }
.btn--small { padding: 0.5rem 1.25rem; font-size: 0.75rem; }
.btn--full { width: 100%; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.5rem 0; transition: all var(--transition-fast); }
.nav--scrolled { background: rgba(15,15,15,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; }
.logo-img { height: 80px; width: auto; object-fit: contain; transition: transform var(--transition-fast); }
.nav--scrolled .logo-img { height: 60px; }
.nav__logo:hover .logo-img { transform: scale(1.05); }
.nav__links { display: none; gap: 2.5rem; align-items: center; }
.nav__links a { color: var(--color-white); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; transition: color var(--transition-fast); }
.nav__links a:hover { color: var(--color-accent); }
.nav__hamburger { display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1002; }
.nav__hamburger span { width: 28px; height: 1.5px; background: var(--color-white); transition: all var(--transition-fast); border-radius: 2px; }
.nav__hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Language Switcher */
.nav__lang { display: flex; gap: 0.75rem; align-items: center; margin-left: 1rem; }
.lang-link { opacity: 0.6; transition: opacity var(--transition-fast), transform var(--transition-fast); display: flex; align-items: center; }
.lang-link:hover, .lang-link.active { opacity: 1; transform: scale(1.1); }
.lang-link img { border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }

/* Mobile menu overlay */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(10,10,10,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 1001; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: all 0.5s cubic-bezier(0.77,0,0.175,1); opacity: 0; }
.mobile-menu--open { right: 0; opacity: 1; }
.mobile-menu__close { display: none; } /* Handled by hamburger animation now */
.mobile-menu__links { display: flex; flex-direction: column; gap: 2.5rem; text-align: center; }
.mobile-menu__links a { color: var(--color-white); font-size: 2rem; font-weight: 900; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.2em; transition: all var(--transition-fast); opacity: 0; transform: translateY(20px); }
.mobile-menu--open .mobile-menu__links a { opacity: 1; transform: translateY(0); transition-delay: calc(0.1s * var(--i)); }
.mobile-menu__links a:hover { color: var(--color-accent); letter-spacing: 0.25em; }

.mobile-menu__lang { margin-top: 4rem; display: flex; gap: 2rem; padding-top: 3rem; position: relative; opacity: 0; transition: opacity 0.5s 0.4s; }
.mobile-menu--open .mobile-menu__lang { opacity: 1; }
.mobile-menu__lang::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 1px; background: rgba(255,255,255,0.1); }
.lang-link-mobile { color: rgba(255,255,255,0.4); font-size: 0.9rem; letter-spacing: 0.2em; font-weight: 700; transition: color var(--transition-fast); }
.lang-link-mobile.active { color: var(--color-accent); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
}

/* Hero */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--color-black); }
.hero__media { position: absolute; inset: 0; }
.hero__image { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%); }
.hero__content { position: relative; z-index: 2; text-align: center; color: var(--color-white); padding: 0 1rem; }
.hero__title { font-family: 'Montserrat', sans-serif !important; font-size: clamp(3.5rem, 12vw, 8rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1.5rem; text-transform: uppercase; line-height: 0.85; color: var(--color-white); }
.hero__subtitle { font-family: 'Inter', sans-serif; font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 400; margin-bottom: 4rem; color: rgba(255,255,255,0.9); max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.4; }
.hero__scroll-indicator { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); z-index: 2; opacity: 0.6; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -10px); } 60% { transform: translate(-50%, -5px); } }

/* Features */
.features { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
.feature { text-align: center; padding: 2rem; }
.feature__icon { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--color-accent); }
.feature__icon svg { width: 100%; height: 100%; }
.feature__title { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.feature__text { color: var(--color-grey-400); font-size: 0.95rem; }

@media (min-width: 768px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* Tour Cards */
.tours-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.tour-card { background: var(--color-grey-800); border-radius: var(--border-radius); overflow: hidden; transition: all var(--transition-fast); border: 1px solid rgba(255,255,255,0.03); box-shadow: var(--shadow-soft); }
.tour-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-medium); border-color: rgba(200,162,92,0.2); }
.tour-card__image { overflow: hidden; height: 280px; position: relative; }
.tour-card__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,15,0.8), transparent); opacity: 0.6; }
.tour-card__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%) brightness(0.9); transition: all var(--transition-slow); }
.tour-card:hover .tour-card__image img { filter: grayscale(0%) brightness(1); transform: scale(1.05); }
.tour-card__content { padding: 2rem; }
.tour-card__badge { display: inline-block; background: var(--color-accent); color: var(--color-black); font-size: 0.65rem; padding: 0.35rem 1rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 800; margin-bottom: 1rem; }
.tour-card__title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-white); }
.tour-card__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.25rem; font-size: 0.8rem; color: var(--color-grey-400); font-weight: 500; }
.tour-card__description { font-size: 0.95rem; color: var(--color-grey-200); line-height: 1.8; margin-bottom: 2rem; opacity: 0.8; }
.tour-card__footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; }
.tour-card__price { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 900; color: var(--color-accent); letter-spacing: 0.05em; }

/* Difficulty dots */
.difficulty-dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.dot { width: 12px; height: 12px; border-radius: 2px; border: 1px solid var(--color-grey-400); }
.dot--filled { background: var(--color-accent); border-color: var(--color-accent); }

@media (min-width: 640px) { .tours-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tours-grid { grid-template-columns: repeat(3, 1fr); } }

/* Reviews */
.reviews__header { text-align: center; margin-bottom: 2rem; }
.reviews__stars { color: var(--color-accent); font-size: 1.5rem; letter-spacing: 4px; }
.reviews__score { font-family: var(--font-heading); font-size: 1.5rem; margin: 0 0.5rem; }
.reviews-carousel { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 1rem 0 2rem; scrollbar-width: none; }
.reviews-carousel::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 320px; scroll-snap-align: start; background: var(--color-white); border: none; border-radius: var(--border-radius); padding: 2.5rem; box-shadow: var(--shadow-soft); transition: transform var(--transition-fast); }
.review-card:hover { transform: translateY(-5px); }
.review-card__stars { color: var(--color-accent); margin-bottom: 1.25rem; font-size: 1.1rem; letter-spacing: 2px; }
.review-card__text { font-size: 1rem; line-height: 1.8; color: var(--color-grey-700); margin-bottom: 2rem; font-style: normal; opacity: 0.9; }
.review-card__author { display: flex; flex-direction: column; gap: 0.25rem; }
.review-card__name { font-weight: 700; color: var(--color-black); font-size: 0.9rem; }
.review-card__date { font-size: 0.75rem; color: var(--color-grey-400); font-weight: 500; }
.reviews__link { display: inline-block; text-align: center; margin-top: 3rem; color: var(--color-accent); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.15em; border-bottom: 2px solid rgba(200,162,92,0.2); padding-bottom: 4px; transition: border-color var(--transition-fast); }
.reviews__link:hover { border-color: var(--color-accent); }

/* Booking Form */
.booking-form { max-width: 700px; margin: 0 auto; }
.booking-discount { text-align: center; background: rgba(200,162,92,0.15); border: 1px solid var(--color-accent); border-radius: var(--border-radius); padding: 0.75rem; margin-bottom: 2rem; color: var(--color-accent); font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; color: var(--color-grey-200); }
.form-group input, .form-group select { padding: 0.875rem 1rem; background: rgba(255,255,255,0.08); border: 1px solid var(--color-grey-700); border-radius: var(--border-radius); color: var(--color-white); font-size: 1rem; transition: border-color var(--transition-fast); }
.form-group input::placeholder { color: var(--color-grey-400); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--color-accent); }
.form-group select option { background: var(--color-black); color: var(--color-white); }
.booking-success { text-align: center; padding: 3rem; }
.booking-success h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 1rem; color: var(--color-accent); }

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Mini-Jogo */
#mini-jogo { padding: var(--section-padding-mobile); }
.game-wrapper { 
  text-align: center; 
  max-width: 800px; 
  margin: 0 auto; 
  position: relative; 
  background: var(--color-grey-800);
  padding: 2rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.05);
}
#game-canvas { 
  width: 100%; 
  max-width: 100%; 
  height: auto; 
  aspect-ratio: 16/9; 
  background: #1a1a1a; 
  border-radius: 12px; 
  border: 2px solid var(--color-accent);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  cursor: pointer;
  touch-action: none;
}
.game-ui { 
  display: flex; 
  justify-content: space-between; 
  padding: 1rem; 
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--color-white);
  font-size: 1.2rem;
}
.game-instructions { 
  font-size: 0.85rem; 
  color: var(--color-grey-400); 
  margin-top: 1.5rem; 
  font-family: var(--font-body);
}
.game-result { 
  text-align: center; 
  padding: 3rem 1rem;
  animation: fadeIn 0.5s ease-out;
}

@media (min-width: 1024px) {
  #mini-jogo { padding: var(--section-padding); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer { background: var(--color-black); color: rgba(255,255,255,0.6); padding: 6rem 0 3rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 4rem; margin-bottom: 5rem; }
.footer h4 { font-family: var(--font-heading); font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2rem; color: var(--color-white); font-size: 0.8rem; }
.footer__logo { height: 60px; width: auto; margin-bottom: 1.5rem; }
.footer__tagline { font-size: 0.95rem; line-height: 1.7; opacity: 0.7; max-width: 300px; }
.footer__contact a { display: block; margin-bottom: 1rem; color: rgba(255,255,255,0.8); transition: color var(--transition-fast); font-size: 0.95rem; font-weight: 500; }
.footer__contact a:hover { color: var(--color-accent); }
.footer__social-icons { display: flex; gap: 1.5rem; }
.footer__social-icons a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; transition: all var(--transition-fast); }
.footer__social-icons a:hover { border-color: var(--color-accent); background: rgba(200,162,92,0.1); transform: translateY(-3px); }
.footer__social-icons svg { width: 20px; height: 20px; fill: var(--color-white); }
.footer__map iframe { border-radius: var(--border-radius); filter: grayscale(1) invert(0.9) contrast(0.8); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; flex-direction: column; gap: 2rem; text-align: center; font-size: 0.85rem; }
.footer__links { display: flex; gap: 2.5rem; justify-content: center; }
.footer__links a { color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.1em; transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--color-white); }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 767px) {
  header.nav .logo-img { height: 60px !important; }
  header.nav .nav__lang, .nav__lang { display: none !important; visibility: hidden !important; }
  header.nav { padding: 0.75rem 0 !important; background: rgba(15,15,15,0.95) !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
  .section { padding: var(--section-padding-mobile) !important; }
  .section__title { font-size: 2.2rem !important; margin-bottom: 1rem !important; }
  .section__subtitle { font-size: 1rem !important; margin-bottom: 3rem !important; padding: 0 1rem; }
}

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 56px; height: 56px; background: var(--color-whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 999; transition: transform var(--transition-fast); }
.whatsapp-float:hover { transform: scale(1.1); }

@media (min-width: 1024px) {
  .section { padding: var(--section-padding); }
}
