/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
--blue:        #0077cc;
  --blue-light:  #e8f4fd;
  --blue-mid:    #3399dd;
  --blue-dim:    rgba(0,119,204,0.55);
  --blue-border: rgba(0,119,204,0.2);
  --white:       #ffffff;
  --bg-light:    #f4f8fd;
  --bg-section:  #f0f5fb;
  --border:      #e0eaf5;
  --text:        #1a1a2e;
  --text-dark:   #1a1a2e;
  --text-medium: #555566;
  --primary-blue:#0077cc;
  --gold:        #c8902a;
  --gold-light:  #e0a53d;
  --gold-dim:    #a0550f;
  --gold-pale:   rgba(200,144,42,0.1);
  --dim-blue:    #0047ab;
  --light-blue:  #3399dd;
  --pale-blue:   #e8f4fd;
  --gold-border: rgba(200,144,42,0.2);
  --text-mid:    #555566;
  --text-light:  #888899;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 10px 30px rgba(0,119,204,0.08);
  --shadow-md:   0 20px 50px rgba(0,119,204,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── Utility ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-label {
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-dim); font-weight: 500; margin-bottom: 10px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 38px);
  font-style: italic; font-weight: 400; color: var(--cream);
  line-height: 1.2; margin-bottom: 14px;
}

.hero-with-photo {
  position: relative;
}

.hero-with-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/fer-guia.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* garante que o conteúdo fica por cima */
.hero-with-photo > * {
  position: relative;
  z-index: 1;
}

.section-title em { color: var(--gold-light); font-style: italic; }
.section-sub {
  font-size: 14px; color: var(--cream-dim); font-weight: 300;
  max-width: 520px; line-height: 1.7;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;  /* ← tem de ter right: 0 */
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-links a {
  font-size: 12px;
  color: var(--text-medium);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 22px;
  list-style: none;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  text-decoration: none;
}

.nav-logo span {
  color: var(--primary-blue);
}

.nav-cta {
  background: var(--gold);
  border: none;
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}



.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  z-index: 101;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: italic;
  color: var(--text-dark);
  transition: color 0.2s;
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--primary-blue);
}

.menu-link-cta {
  color: var(--primary-blue) !important;
  font-size: 18px !important;
}

/* ── COMMON COMPONENTS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: #0c1020; font-weight: 500; font-size: 13.5px;
  padding: 13px 26px; border-radius: 30px;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white10);
  border: 0.5px solid var(--gold-border);
  color: var(--cream-dim); font-weight: 400; font-size: 13.5px;
  padding: 13px 26px; border-radius: 30px;
  transition: all 0.2s; cursor: pointer;
}
.btn-outline:hover { background: var(--gold-pale); border-color: var(--gold-dim); color: var(--cream); }

.tip-box {
  background: rgba(200,144,42,0.06);
  border: 0.5px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-top: 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.tip-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.tip-text { font-size: 12px; color: var(--cream-dim); line-height: 1.6; font-weight: 300; }
.tip-text strong { color: var(--cream); font-weight: 500; }

/* ── FOOTER ── */
footer {
  border-top: 0.5px solid var(--gold-border);
  padding: 40px 20px;
}
.footer-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 20px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-style: italic; color: var(--cream-faint);
}
.footer-links {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.footer-links a {
  font-size: 11.5px; color: rgba(200,144,42,0.35);
  transition: color 0.2s; letter-spacing: 0.3px;
}
.footer-links a:hover { color: var(--gold-dim); }
.footer-copy {
  font-size: 10.5px; color: rgba(200,144,42,0.2);
  letter-spacing: 1px; text-transform: uppercase; width: 100%;
  text-align: center; padding-top: 20px;
  border-top: 0.5px solid rgba(200,144,42,0.08);
  margin-top: 10px;
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; 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,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-pulse {
  position: absolute; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(37,211,102,0.3);
  animation: wa-ring 2.5s infinite;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ── FADE-IN ANIMATION ── */
.fade-in {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE NAV ── */
@media (max-width:700px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }
  .subhero {
    padding: 72px 20px 40px;
  }

  .mobile-menu {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    gap: 14px;
    z-index: 999;
  }
}

/* ── SUBHERO (Used in Gastronomía and Experiencias) ── */
.subhero {
  padding: 80px 20px 56px;
  position: relative; overflow: hidden;
}
.subhero-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 500px; height: 500px; top: -180px; right: -100px;
  background: radial-gradient(circle, rgba(160,85,15,0.18) 0%, transparent 68%);
}
.subhero-inner {
  max-width: 960px; margin: 0 auto;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--cream-faint); margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.breadcrumb a { color: var(--gold-dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.subhero-label {
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-dim); font-weight: 500; margin-bottom: 10px;
}
.subhero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 400; font-style: italic;
  line-height: 1.08; color: var(--cream); margin-bottom: 14px;
}
.subhero-title em { color: var(--gold-light); }
.subhero-desc {
  font-size: 14px; color: var(--cream-dim); font-weight: 300;
  max-width: 480px; line-height: 1.75;
}
.subhero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-pale); border: 0.5px solid var(--gold-border);
  border-radius: 20px; padding: 5px 14px;
  font-size: 11.5px; color: var(--cream-dim); font-weight: 300;
}

/* ── CAT NAV (Sticky navigation in subpages) ── */
.cat-nav {
  background: var(--bg2);
  border-top: 0.5px solid var(--gold-border);
  border-bottom: 0.5px solid var(--gold-border);
  overflow-x: auto; scrollbar-width: none;
  position: sticky; top: 60px; z-index: 90;
}
.cat-nav::-webkit-scrollbar { display: none; }
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
  width: 100%;  /* ← adiciona isto */
}
.cat-nav-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 14px 18px;
  font-size: 12.5px; color: var(--cream-faint);
  border-bottom: 2px solid transparent;
  transition: all 0.2s; cursor: pointer;
  font-weight: 400; background: none; border-top: none; border-left: none; border-right: none;
  flex-shrink: 0;
}
.cat-nav-btn:hover { color: var(--cream-dim); border-bottom-color: var(--gold-border); }
.cat-nav-btn.active { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ── STATS BAR ── */
.stats-bar {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 0;
}
.stats-bar-inner {
  display: flex;
  flex-wrap: wrap;
}
.stats-bar-inner .hero-stat {
  flex: 1;
  min-width: 140px;
  padding: 24px 32px;
  border-right: 1px solid #eee;
}
.stats-bar-inner .hero-stat:last-child {
  border-right: none;
}

/* ── INTRO SECTION ── */
.intro-section {
  padding: 72px 0;
  background: #fff;
}
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-label {
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
  font-weight: 500;
}
.intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}
.intro-title em {
  font-style: italic;
  color: var(--gold-light);
}
.intro-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.75;
  font-weight: 300;
}
.review-prompt {
  background: var(--bg-light);
  border: 1px solid #eee;
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 28px 28px 24px;
}
.review-stars {
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.review-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text-medium);
  line-height: 1.5;
  margin-bottom: 20px;
}
.review-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00aa6c;        /* verde oficial do Tripadvisor */
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 30px;
  transition: all 0.2s;
  text-decoration: none;
}
.review-cta:hover {
  background: #008f5b;
  transform: translateY(-1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .intro-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar-inner .hero-stat { padding: 16px 20px; }
}

.list-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-card-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 0.5px solid var(--gold-border);
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}
.lightbox-close:hover {
  opacity: 1;
}

/* ── FOOTER DARK ── */
.footer-dark {
  background: #0c1020;
  padding: 48px 20px 32px;
  text-align: center;
  border-top: 0.5px solid rgba(200,144,42,0.15);
}

.footer-dark-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-dark-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
}

.footer-dark-logo span {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer-social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}

.footer-dark-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}

.footer-dark-nav a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-dark-nav a:hover {
  color: var(--gold-light);
}

.footer-dark-copy {
  font-size: 10.5px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  width: 100%;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.footer-social-btn:hover {
  transform: scale(1.08);
}

/* Cores individuais */
.footer-social-btn.instagram {
  color: #E4405F;
}

.footer-social-btn.whatsapp {
  color: #25D366;
}

.footer-social-btn.tripadvisor {
  color: #34E0A1;
}

.footer-social-btn.email {
  color: #EA4335;
}

/* ── MASIRA INSTAGRAM POPUP ── */
.ig-popup {
  /* Paleta propia del popup */
  --gold: #c9973a;
  --gold-light: #e5b860;
  --gold-dark: #9e7428;
  --sand: #f5edd8;
  --sand-mid: #ead9b5;
  --sand-dark: #d4be8e;
  --terracotta: #b85c2e;
  --night: #0d1b2a;
  --night-mid: #1a3350;
  --night-light: #2a4a6a;
  --text: #1c1c1c;
  --text-muted: #6b6b6b;
  --text-light: #9b9b9b;
  --bg: #fafaf8;
  --bg-warm: #f7f3ec;
  --white: #ffffff;

  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.65);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ig-popup.open {
  display: flex;
}
.ig-popup-card {
  position: relative;
  background: var(--bg-warm);
  max-width: 420px;
  width: 100%;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(13, 27, 42, 0.28);
  padding: 36px 32px 28px;
  text-align: center;
  animation: igPopIn 0.4s ease;
}
@keyframes igPopIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ig-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--night-mid);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.ig-popup-close:hover {
  opacity: 1;
}
.ig-popup-logo {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--night-mid);
  margin-bottom: 14px;
}
.ig-popup-mark {
  color: var(--gold);
  margin-right: 4px;
}
.ig-popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--night);
  margin: 0 0 12px;
}
.ig-popup-title em {
  font-style: italic;
  color: var(--terracotta);
}
.ig-popup-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.ig-popup-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-bottom: 22px;
}
.ig-popup .masira-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  color: var(--gold-dark);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
}
.ig-popup-cta {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(45deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--night);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ig-popup-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 151, 58, 0.4);
}
.ig-popup-social {
  font-size: 12px;
  color: var(--text-light);
  margin: 14px 0 0;
}
@media (max-width: 700px) {
  .ig-popup-card {
    padding: 30px 22px 24px;
  }
  .ig-popup-title {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ig-popup-card {
    animation: none;
  }
}

/* MASIRA POPUP IMAGE + WATERMARK */
.ig-popup-image { position: relative; margin: 12px 0 18px; }
.ig-popup-photo { width: 100%; height: auto; border-radius: 10px; display: block; object-fit: cover; }
.ig-watermark {
  position: absolute;
  right: 8%;
  bottom: 8%;
  font-size: 20px;
  color: rgba(255,255,255,0.78);
  background: rgba(0,0,0,0.28);
  padding: 6px 10px;
  border-radius: 6px;
  transform: rotate(-12deg);
  pointer-events: none;
  mix-blend-mode: overlay;
  font-weight: 700;
}
@media (max-width:700px){
  .ig-watermark { font-size: 16px; right: 6%; bottom: 6%; }
  .ig-popup-photo { border-radius: 8px; }
}