@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --forest-dark: #0a2818;
  --forest: #1a4f2e;
  --forest-mid: #2d7a50;
  --forest-light: #4a9e6e;
  --amber: #f0a520;
  --amber-dark: #c8850f;
  --amber-light: #ffd166;
  --earth: #8b5e3c;
  --cream: #faf8f3;
  --cream-dark: #f0ebe0;
  --cream-darker: #e3dace;
  --white: #ffffff;
  --text-dark: #1c1c1c;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
  --shadow-sm: 0 2px 8px rgba(10,40,24,.1);
  --shadow-md: 0 4px 20px rgba(10,40,24,.15);
  --shadow-lg: 0 8px 40px rgba(10,40,24,.2);
  --shadow-amber: 0 4px 20px rgba(240,165,32,.4);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: .3s ease;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text-dark); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* TYPOGRAPHY */
h1,h2,h3,h4 { font-family: var(--font-h); line-height: 1.2; }
.caption { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,40,24,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar.transparent { background: transparent; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
.nav-logo-img { width: 52px; height: 52px; border-radius: 50%; display: block; object-fit: contain; }
.nav-logo-text { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; }
.nav-logo-text span { color: var(--amber); }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; position: relative; transition: color .15s; }
.nav-link::after { content:''; position: absolute; bottom:-4px; left:0; right:0; height:2px; background: var(--amber); transform: scaleX(0); transition: transform .15s; }
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--amber); color: var(--forest-dark); padding: 10px 20px; border-radius: var(--radius-md); font-size: .875rem; font-weight: 600; transition: var(--transition); }
.nav-cta:hover { background: var(--amber-light); transform: translateY(-1px); box-shadow: var(--shadow-amber); }
.nav-toggle { display: none; color: var(--white); font-size: 1.5rem; }
.nav-mobile { display: none; }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('../images/hero-caparao.png'); background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,40,24,.88) 0%, rgba(10,40,24,.5) 60%, rgba(26,79,46,.55) 100%); }
.hero-content { position: relative; z-index: 1; color: var(--white); max-width: 740px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(240,165,32,.2); border: 1px solid rgba(240,165,32,.5); color: var(--amber-light); padding: 6px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; animation: fadeUp .6s ease forwards; }
.hero-title { font-size: clamp(2.8rem,7vw,5rem); font-weight: 700; line-height: 1.05; margin-bottom: 20px; animation: fadeUp .6s .1s ease both; }
.hero-title span { color: var(--amber); }
.hero-subtitle { font-size: clamp(1rem,2vw,1.2rem); color: rgba(255,255,255,.85); margin-bottom: 36px; font-weight: 300; animation: fadeUp .6s .2s ease both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp .6s .3s ease both; }
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(10,40,24,.82); backdrop-filter: blur(10px); border-top: 1px solid rgba(240,165,32,.3); }
.hero-stats-inner { display: flex; padding: 20px 0; }
.hero-stat { flex: 1; text-align: center; color: var(--white); padding: 0 20px; border-right: 1px solid rgba(255,255,255,.1); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-family: var(--font-h); font-size: 1.8rem; font-weight: 700; color: var(--amber); display: block; }
.hero-stat-label { font-size: .75rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .05em; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--radius-md); font-size: .95rem; font-weight: 600; font-family: var(--font-b); transition: var(--transition); cursor: pointer; }
.btn-primary { background: var(--amber); color: var(--forest-dark); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: var(--shadow-amber); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }
.btn-green { background: var(--forest-mid); color: var(--white); }
.btn-green:hover { background: var(--forest-light); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,211,102,.4); }
.btn-outline { background: transparent; color: var(--forest); border: 2px solid var(--forest-mid); }
.btn-outline:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* BADGES */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.badge-pousada { background: rgba(45,122,80,.15); color: var(--forest-mid); }
.badge-restaurante { background: rgba(240,165,32,.2); color: var(--amber-dark); }
.badge-entretenimento { background: rgba(139,94,60,.15); color: var(--earth); }
.badge-cafe { background: rgba(100,60,20,.15); color: #6b3e10; }

/* SECTION HEADER */
.section-header { margin-bottom: 48px; }
.section-header .caption { color: var(--forest-mid); margin-bottom: 8px; display: block; }
.section-header h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--forest-dark); margin-bottom: 12px; }
.section-header p { color: var(--text-mid); font-size: 1.05rem; max-width: 520px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* CATEGORY CARDS */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 20px; margin-top: 40px; }
.category-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 20px; text-align: center; cursor: pointer; transition: var(--transition); border: 2px solid transparent; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.category-card::before { content:''; position: absolute; inset:0; background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%); opacity:0; transition: opacity var(--transition); }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--forest-mid); }
.category-card:hover::before { opacity:1; }
.category-card:hover .cat-icon,.category-card:hover .cat-name,.category-card:hover .cat-count,.category-card:hover .cat-desc { color: var(--white); }
.category-card:hover .cat-icon { background: rgba(255,255,255,.15); }
.cat-icon { width: 68px; height: 68px; background: var(--cream-dark); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; margin: 0 auto 16px; position: relative; z-index:1; transition: all var(--transition); }
.cat-name { font-family: var(--font-h); font-size: 1.15rem; font-weight: 700; color: var(--forest-dark); margin-bottom: 4px; position: relative; z-index:1; transition: color var(--transition); }
.cat-count { font-size: .78rem; color: var(--forest-mid); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; position: relative; z-index:1; transition: color var(--transition); }
.cat-desc { font-size: .85rem; color: var(--text-light); margin-top: 8px; position: relative; z-index:1; transition: color var(--transition); }

/* BUSINESS CARDS */
.business-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 28px; }
.bc { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid rgba(0,0,0,.06); }
.bc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bc-img { height: 210px; overflow: hidden; position: relative; }
.bc-img img { width:100%; height:100%; object-fit: cover; transition: transform .5s ease; }
.bc:hover .bc-img img { transform: scale(1.08); }
.bc-badge { position: absolute; top:14px; left:14px; }
.bc-featured { position: absolute; top:14px; right:14px; background: var(--amber); color: var(--forest-dark); padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bc-body { padding: 20px; }
.bc-name { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--forest-dark); margin-bottom: 4px; }
.bc-loc { display: flex; align-items: center; gap:4px; color: var(--text-light); font-size: .83rem; margin-bottom: 10px; }
.bc-desc { color: var(--text-mid); font-size: .88rem; line-height: 1.55; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient: vertical; overflow: hidden; }
.bc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.bc-tag { background: var(--cream-dark); color: var(--text-mid); padding: 3px 10px; border-radius: 999px; font-size: .73rem; font-weight: 500; }
.bc-footer { display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--cream-darker); }

/* DARK SECTION (About) */
.dark-section { background: var(--forest-dark); color: var(--white); position: relative; overflow: hidden; }
.dark-section::before { content:''; position: absolute; top:-50%; right:-10%; width:600px; height:600px; background: radial-gradient(circle, rgba(45,122,80,.25) 0%, transparent 70%); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { border-radius: var(--radius-xl); overflow: hidden; height: 460px; box-shadow: var(--shadow-lg); }
.about-img img { width:100%; height:100%; object-fit: cover; }
.about-content .caption { color: var(--amber); }
.about-content h2 { color: var(--white); font-size: clamp(1.8rem,3vw,2.4rem); margin: 8px 0 20px; }
.about-content p { color: rgba(255,255,255,.72); line-height: 1.8; margin-bottom: 28px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 32px; }
.about-feat { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); font-size: .9rem; }
.about-feat-icon { width: 34px; height: 34px; background: rgba(240,165,32,.2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--amber); flex-shrink:0; }

/* CATEGORY PAGE HERO */
.cat-page-hero { padding: 140px 0 72px; background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%); position: relative; overflow: hidden; }
.cat-page-hero::after { content:''; position: absolute; bottom:0; left:0; right:0; height:50px; background: var(--cream); clip-path: ellipse(55% 100% at 50% 100%); }
.cat-page-hero-bg { position: absolute; right:-5%; top:50%; transform: translateY(-50%); font-family: var(--font-h); font-size: 180px; font-weight:700; color: rgba(255,255,255,.04); pointer-events: none; line-height:1; }
.cat-page-hero h1 { color: var(--white); font-size: clamp(2rem,4vw,3rem); }
.cat-page-hero .caption { color: var(--amber); margin-bottom: 8px; display: block; }
.cat-page-hero p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 520px; }

/* FILTER BAR */
.filter-bar { background: var(--white); padding: 16px 0; box-shadow: var(--shadow-sm); position: sticky; top: 72px; z-index: 100; border-bottom: 1px solid var(--cream-darker); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 18px; border-radius: 999px; font-size: .83rem; font-weight: 500; border: 2px solid var(--cream-darker); color: var(--text-mid); cursor: pointer; transition: var(--transition); background: var(--white); }
.chip:hover,.chip.active { border-color: var(--forest-mid); background: var(--forest); color: var(--white); }

/* EMPRESA SUBSITE */
.emp-hero { height: 55vh; min-height: 380px; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.emp-hero-bg { position: absolute; inset:0; background-size: cover; background-position: center; }
.emp-hero-overlay { position: absolute; inset:0; background: linear-gradient(to top, rgba(10,40,24,.95) 0%, rgba(10,40,24,.35) 55%, transparent 100%); }
.emp-hero-content { position: relative; z-index:1; padding-bottom: 48px; color: var(--white); width:100%; }
.emp-hero-badges { display: flex; gap: 8px; margin-bottom: 14px; }
.emp-hero-title { font-size: clamp(2rem,5vw,3.2rem); font-weight:700; margin-bottom: 6px; }
.emp-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.78); margin-bottom: 22px; }
.emp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.breadcrumb { padding: 14px 0; display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-light); border-bottom: 1px solid var(--cream-darker); background: var(--white); }
.breadcrumb a { color: var(--forest-mid); }
.breadcrumb a:hover { color: var(--forest); }

.emp-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.emp-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); position: sticky; top: 88px; }
.emp-info-card h3 { font-family: var(--font-h); font-size: 1.2rem; color: var(--forest-dark); margin-bottom: 20px; }
.info-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--cream-darker); }
.info-item:last-of-type { border-bottom: none; }
.info-icon { width: 38px; height: 38px; background: var(--cream-dark); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--forest-mid); font-size: 1rem; flex-shrink:0; }
.info-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); margin-bottom: 2px; }
.info-value { color: var(--text-dark); font-size: .93rem; font-weight: 500; }
.info-value a { color: var(--forest-mid); }
.emp-cta-group { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }

/* GALLERY SLIDER */
.biz-slider { position:relative; width:100%; height:400px; border-radius:var(--radius-lg); overflow:hidden; background:#111; display:flex; align-items:center; justify-content:center; }
.slider-track { display:flex; width:100%; height:100%; transition:transform 0.4s ease-in-out; }
.slide { position:relative; min-width:100%; height:100%; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.slide-blur-bg { position:absolute; top:50%; left:50%; width:120%; height:120%; object-fit:cover; transform:translate(-50%,-50%); filter:blur(25px) brightness(0.5); z-index:1; pointer-events:none; }
.slide-img { position:relative; z-index:2; max-width:100%; max-height:100%; object-fit:contain; border-radius:4px; box-shadow:0 8px 30px rgba(0,0,0,0.5); }
.slider-btn { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,0.5); color:#fff; border:none; width:44px; height:44px; border-radius:50%; cursor:pointer; z-index:10; display:flex; align-items:center; justify-content:center; font-size:1.2rem; transition: background var(--transition); }
.slider-btn:hover { background:var(--forest-mid); }
.slider-btn.prev { left:10px; }
.slider-btn.next { right:10px; }
@media (max-width: 768px) { .biz-slider { height: 280px; } }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 14px; margin-top: 20px; }
.service-item { background: var(--cream-dark); border-radius: var(--radius-md); padding: 24px 16px; text-align: center; transition: var(--transition); }
.service-item:hover { background: var(--forest); color: var(--white); transform: translateY(-4px); }
.service-item:hover .service-icon { color: var(--amber); }
.service-icon { font-size: 1.8rem; margin-bottom: 10px; color: var(--forest-mid); transition: color var(--transition); }
.service-name { font-weight: 600; font-size: .88rem; }

/* CONTENT BLOCKS */
.content-block { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.content-block h3 { font-family: var(--font-h); font-size: 1.4rem; color: var(--forest-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.content-block h3 span { font-size: 1.3rem; }
.content-block p { color: var(--text-mid); line-height: 1.78; }

/* FOOTER */
.footer { background: var(--forest-dark); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: .88rem; line-height: 1.75; margin: 16px 0 20px; color: rgba(255,255,255,.55); }
.footer-col h4 { color: var(--white); font-family: var(--font-h); font-size: 1.05rem; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { color: rgba(255,255,255,.6); font-size: .88rem; transition: color .15s; }
.footer-link:hover { color: var(--amber); }
.footer-social { display: flex; gap: 8px; margin-top: 4px; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); transition: var(--transition); font-size: .95rem; }
.footer-social a:hover { background: var(--amber); color: var(--forest-dark); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: .83rem; color: rgba(255,255,255,.4); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* UTILITIES */
.text-amber { color: var(--amber); }
.text-white { color: var(--white); }
.divider { height: 1px; background: var(--cream-darker); margin: 24px 0; }
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }

/* RESPONSIVE */

/* Telas com pouca altura (ex: 1366x768) — evita sobreposição dos botões pelo hero-stats */
@media (max-height: 800px) and (min-width: 601px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding-bottom: 120px; /* espaço para o hero-stats absoluto */
  }
  .hero-content {
    padding-top: 100px;
    padding-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { height: 300px; }
  .emp-layout { grid-template-columns: 1fr; }
  .emp-info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile.open { display: flex; flex-direction: column; position: fixed; inset:0; background: var(--forest-dark); z-index: 999; align-items: center; justify-content: center; gap: 32px; }
  .nav-mobile .nav-link { font-size: 1.5rem; color: var(--white); }
  .nav-mobile-close { position: absolute; top: 24px; right: 24px; color: var(--white); font-size: 1.8rem; cursor: pointer; }
}
@media (max-width: 600px) {
  /* Hero: muda de absolute para fluxo normal para evitar sobreposição em telas pequenas */
  .hero {
    height: auto;
    min-height: 100svh;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding-top: 88px;
  }
  .hero > .container {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 24px;
  }
  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    flex-shrink: 0;
  }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-stats-inner { flex-wrap: wrap; }
  .hero-stat { flex: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: auto; }
  .about-features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
