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

/* ===== BRAND TOKENS — Nacional Inn ===== */
:root {
  --green:       #00A651;
  --green-dk:    #007A3D;
  --green-lt:    #E8F7EF;
  --green-mid:   #00883F;
  --orange:      #FF6B00;   /* CTA secundário, ex: "Entrar" */
  --text:        #222222;
  --text-light:  #555555;
  --muted:       #888888;
  --border:      #E0E0E0;
  --bg:          #F5F7F5;
  --white:       #FFFFFF;
  --footer-bg:   #004d26;
  --radius-sm:   6px;
  --radius:      10px;
  --radius-pill: 50px;
  --shadow:      0 4px 20px rgba(0,0,0,.10);
  --shadow-card: 0 2px 12px rgba(0,0,0,.08);
  --font:        'Montserrat', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER — fundo branco, logo verde ===== */
.lp-header {
  background: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border), 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-main { height: 38px; width: auto; }

.btn-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 700;
  font-size: .9rem;
  background: var(--green-lt);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  transition: background .2s;
  border: 1.5px solid transparent;
}
.btn-phone:hover {
  background: var(--green);
  color: var(--white);
}

/* ===== RESORT TABS ===== */
.resort-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.tabs-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-inner::-webkit-scrollbar { display: none; }

.tab-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-light);
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  letter-spacing: .01em;
}
.tab-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff5ee;
}
.tab-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(255,107,0,.35);
}
.tab-logo { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-image: var(--hero-desk);
  min-height: 520px;
  display: flex;
  align-items: center;
  margin: 16px 60px 0;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .hero { background-image: var(--hero-mob, var(--hero-desk)); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: inherit;
}
.hero-overlay .container { width: 100%; }
.hero-content {
  max-width: 540px;
  color: var(--white);
  padding: 48px 0;
}
.hero-logo   { height: 72px; margin-bottom: 20px; }
.hero-title  {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.hero-subtitle {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 28px;
  font-weight: 500;
}

/* ===== SECTION NAV ===== */
.section-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 62px;
  z-index: 90;
}
.section-nav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  padding: 12px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: all .2s;
}
.section-nav a:hover { color: var(--green); border-bottom-color: var(--green); }

/* ===== MAIN LAYOUT ===== */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 64px;
  align-items: start;
}

/* ===== SECTIONS ===== */
.section { margin-bottom: 48px; }
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.section-title-bar {
  width: 40px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 18px;
}
.section-text {
  color: var(--text-light);
  line-height: 1.85;
  font-size: .95rem;
}

/* Diferenciais — grid 2/3 colunas com ícones */
.differentials-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.differential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color .2s, background .2s;
}
.differential-item:hover {
  border-color: var(--green);
  background: var(--green-lt);
}
.differential-marker {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.differential-marker svg { display: block; }
@media (max-width: 960px) {
  .differentials-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .differentials-list { grid-template-columns: 1fr; }
}

/* Comodidades */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px 8px;
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
}
.amenity-item:hover { border-color: var(--green); background: var(--green-lt); }
.amenity-icon { font-size: 1.5rem; }

/* Galeria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.gallery-item img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity .2s, transform .3s;
}
.gallery-item:hover img { opacity: .88; transform: scale(1.02); }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  animation: fadeIn .2s ease;
}
.lightbox.open { display: flex; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 140px);
  max-height: calc(100vh - 80px);
}
.lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  animation: zoomIn .2s ease;
}
@keyframes zoomIn { from { transform: scale(.95); opacity: 0 } to { transform: scale(1); opacity: 1 } }

.lightbox-caption {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,.12);
  border: none;
  color: white;
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 1001;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

.lightbox-prev,
.lightbox-next {
  background: rgba(255,255,255,.12);
  border: none;
  color: white;
  font-size: 2.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
  line-height: 1;
  padding-bottom: 3px;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--green); }

/* Cursor pointer nas thumbnails */
.gallery-item { cursor: zoom-in; }
.gallery-item img { pointer-events: none; }

/* ===== FORMULÁRIO ===== */
.form-col { position: sticky; top: 110px; }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border-top: 4px solid var(--green);
}
.form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -.02em;
}
.form-subtitle { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 13px;
}
.form-group label { font-size: .8rem; font-weight: 700; color: var(--text); letter-spacing: .02em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .88rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,166,81,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-privacy { font-size: .75rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
  letter-spacing: .01em;
}
.btn-cta--hero {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,166,81,.45);
}
.btn-cta--hero:hover {
  background: var(--green-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,166,81,.5);
}
.btn-cta--form {
  background: var(--green);
  color: var(--white);
  width: 100%;
  font-size: 1rem;
  padding: 15px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0,166,81,.35);
  letter-spacing: .02em;
}
.btn-cta--form:hover { background: var(--green-dk); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 2px 10px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { background: #1ebe5b; }

/* ===== TRUST BAR (opcional, abaixo do hero) ===== */
.trust-bar {
  background: var(--green-lt);
  border-top: 1px solid #c8ecd9;
  border-bottom: 1px solid #c8ecd9;
  padding: 12px 0;
}
.trust-bar .container {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-dk);
}

/* ===== MAPA ===== */
.map-section {
  padding: 48px 0 0;
}
.map-wrapper {
  margin-top: 0;
  overflow: hidden;
  border-top: 3px solid var(--green);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
}

/* ===== FOOTER ===== */
.lp-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.85);
  padding: 48px 0 36px;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-logo { filter: brightness(0) invert(1); height: 36px; width: auto; max-width: 180px; }
.footer-contacts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-contacts a { color: rgba(255,255,255,.8); font-size: .88rem; }
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  transition: color .2s;
}
.footer-email:hover { color: var(--white); }
.footer-copy {
  background: var(--green-dk);
  text-align: center;
  padding: 10px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}

/* ===== FAB WHATSAPP ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.55);
  transition: transform .2s, box-shadow .2s;
}
.fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.65); }

/* ===== THANK YOU ===== */
.thankyou-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.thankyou-card {
  text-align: center;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px 40px;
  border-top: 4px solid var(--green);
}
.thankyou-icon  { font-size: 3rem; margin-bottom: 16px; }
.thankyou-title { font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 12px; letter-spacing: -.02em; }
.thankyou-text  { color: var(--text-light); margin-bottom: 28px; line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .main-layout {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
  .form-col {
    position: static;
    order: -1;
  }
}
@media (max-width: 600px) {
  .hero { min-height: 360px; margin: 10px 16px 0; border-radius: 14px; }
  .hero-content { padding: 32px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tab-btn { padding: 12px 14px; font-size: .78rem; }
}
