*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --areia: #F5E6C8;
  --areia-escura: #D4B483;
  --mar: #1A6B8C;
  --mar-claro: #3A9BBF;
  --mar-profundo: #0D4A61;
  --verde: #2D6A4F;
  --laranja: #E07B39;
  --laranja-vivo: #F4A261;
  --branco: #FDFAF4;
  --texto: #2C1810;
  --texto-suave: #5C4033;
}
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: var(--branco); color: var(--texto); overflow-x: hidden; }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--mar-profundo) 0%, var(--mar) 50%, var(--mar-claro) 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 8rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: 0.18;
}
.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; width: 100%; height: 130px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 130'%3E%3Cpath fill='%23FDFAF4' d='M0,65 C360,120 720,10 1080,65 C1260,92 1380,30 1440,65 L1440,130 L0,130 Z'/%3E%3C/svg%3E") center/cover no-repeat;
  z-index: 2;
}
.bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.06); animation: float 8s ease-in-out infinite; }
.b1 { width:200px; height:200px; top:8%; left:3%; animation-delay:0s; }
.b2 { width:110px; height:110px; top:15%; right:6%; animation-delay:2s; }
.b3 { width:70px;  height:70px;  bottom:28%; left:12%; animation-delay:4s; }
.b4 { width:160px; height:160px; bottom:22%; right:4%; animation-delay:1.5s; }
@keyframes float { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-22px) scale(1.05)} }

.hero-content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.logo-img {
  width: 180px; height: 180px; border-radius: 50%; object-fit: cover;
  border: 5px solid var(--areia);
  box-shadow: 0 0 0 10px rgba(245,230,200,0.2), 0 20px 50px rgba(0,0,0,0.35);
  margin-bottom: 1.5rem;
  animation: fadeDown 0.9s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 900;
  color: var(--areia);
  line-height: 1; text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  animation: fadeDown 0.9s 0.15s ease both;
}
.hero-praia {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: rgba(245,230,200,0.8);
  margin-top: 0.4rem;
  font-weight: 300; letter-spacing: 4px; text-transform: uppercase;
  animation: fadeDown 0.9s 0.3s ease both;
}
.hero-tagline {
  margin-top: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  color: var(--laranja-vivo);
  animation: fadeDown 0.9s 0.45s ease both;
}
.hero-ctas {
  margin-top: 2.2rem;
  display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center;
  animation: fadeDown 0.9s 0.6s ease both;
}
@keyframes fadeDown { from{opacity:0;transform:translateY(-18px)} to{opacity:1;transform:translateY(0)} }

.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.8rem 1.8rem; border-radius: 50px;
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.25); }
.btn-primary { background: var(--laranja); color: white; }
.btn-outline { background: transparent; border: 2.5px solid var(--areia); color: var(--areia); }
.btn-outline:hover { background: var(--areia); color: var(--mar-profundo); }
.btn-wpp { background: #25D366; color: white; }
.btn-insta { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--mar-profundo);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.nav-primary-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
nav a {
  color: rgba(245,230,200,0.8); text-decoration: none;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 1rem 1.3rem; transition: color 0.2s, background 0.2s; white-space: nowrap;
}
nav a:hover { color: var(--areia); background: rgba(255,255,255,0.08); }
.nav-more { position: relative; flex-shrink: 0; }
.nav-toggle {
  display: flex; align-items: center; background: none; border: none;
  color: rgba(245,230,200,0.9); font-size: 1.7rem; cursor: pointer;
  padding: 0.85rem 1.2rem; line-height: 1; flex-shrink: 0;
}
.nav-dropdown {
  display: none; position: absolute; right: 0; top: 100%;
  background: var(--mar-profundo); min-width: 230px; flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45); border-radius: 0 0 14px 14px;
  border-top: 2px solid rgba(255,255,255,0.12); z-index: 300; overflow: hidden;
}
.nav-dropdown.open { display: flex; }
.nav-dropdown a { padding: 0.9rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.07); display: block; text-align: left; white-space: nowrap; }
.nav-dropdown a:last-child { border-bottom: none; }
.mobile-only { display: none !important; }

/* SECTIONS */
section { padding: 5.5rem 1.5rem; }
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--laranja); margin-bottom: 0.4rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: var(--mar-profundo); line-height: 1.15; margin-bottom: 1.4rem; }
.section-title span { color: var(--laranja); }
.divider { width: 60px; height: 4px; background: var(--laranja); border-radius: 2px; margin: 0 auto 2.5rem; }

/* SOBRE */
#sobre { background: var(--branco); }
.sobre-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.sobre-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 2rem; text-align: left; }
.sobre-img-wrap { border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.sobre-img-wrap img { width: 100%; display: block; }
.sobre-text p { font-size: 1.05rem; line-height: 1.85; color: var(--texto-suave); margin-bottom: 1rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }
.badge { background: var(--areia); color: var(--mar-profundo); border-radius: 50px; padding: 0.45rem 1.1rem; font-size: 0.82rem; font-weight: 700; border: 1.5px solid var(--areia-escura); }

/* CARDÁPIO */
#cardapio { background: #EEF7F4; }
.cardapio-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.menu-tabs { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.6rem 1.5rem; border-radius: 50px; border: 2px solid var(--mar);
  background: transparent; color: var(--mar); font-weight: 700; font-size: 0.88rem;
  cursor: pointer; transition: all 0.2s; font-family: 'Lato', sans-serif;
}
.tab-btn.active, .tab-btn:hover { background: var(--mar); color: white; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.cardapio-img-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 35px rgba(0,0,0,0.12);
  max-width: 820px; margin: 0 auto 2rem;
  cursor: zoom-in;
}
.cardapio-img-wrap img { width: 100%; height: auto; display: block; object-fit: contain; }

/* Lightbox */
.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.88); z-index:9999; align-items:center; justify-content:center; padding:1rem; }
.lightbox.open { display:flex; }
.lightbox img { max-width:90vw; max-height:90vh; border-radius:8px; }
.lightbox-close { position:fixed; top:1.2rem; right:1.5rem; font-size:2.5rem; color:white; cursor:pointer; line-height:1; }

/* Tabela de preços */
.preco-table { width:100%; border-collapse: collapse; margin: 1.5rem 0; }
.preco-table th { background: var(--mar-profundo); color: var(--areia); padding: 0.75rem 1rem; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }
.preco-table td { padding: 0.65rem 1rem; border-bottom: 1px solid #d1e8dc; font-size: 0.9rem; color: var(--texto); background: white; }
.preco-table tr:last-child td { border-bottom: none; }
.preco-table .item-nome { font-weight: 700; color: var(--mar-profundo); }
.preco-table .item-desc { font-size: 0.78rem; color: var(--texto-suave); display: block; font-weight: 400; }
.preco-table .preco { font-weight: 700; color: var(--laranja); white-space: nowrap; }
.preco-table tr:nth-child(even) td { background: #f7fbf9; }

.section-divider { border: none; border-top: 2px dashed #c5dfd6; margin: 1.5rem 0; }

.cardapio-link-box { margin-top: 2rem; display:flex; flex-direction:column; align-items:center; gap:0.85rem; }

/* EXCURSÕES */
#excursoes { background: var(--laranja); text-align: center; padding: 4.5rem 1.5rem; }
#excursoes .section-title { color: white; }
#excursoes .section-label { color: rgba(255,255,255,0.75); }
#excursoes .divider { background: white; }
#excursoes p { color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; line-height: 1.85; }
.btn-excursao { background:white; color:var(--laranja); padding:1rem 2.5rem; border-radius:50px; font-weight:700; font-size:1rem; text-decoration:none; display:inline-flex; align-items:center; gap:0.5rem; transition:transform 0.2s, box-shadow 0.2s; box-shadow:0 4px 18px rgba(0,0,0,0.15); }
.btn-excursao:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(0,0,0,0.22); }

/* GALERIA */
#galeria { background: var(--mar-profundo); }
.galeria-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.galeria-inner .section-title { color: var(--areia); }
.galeria-inner .section-label { color: var(--laranja-vivo); }
.galeria-inner .divider { background: var(--laranja-vivo); }
.gallery-grid { display:grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap:12px; margin-top:2rem; }
.gallery-item { border-radius:14px; overflow:hidden; background:rgba(255,255,255,0.08); }
.gallery-featured { grid-row: span 2; }
.insta-promo { margin-top:2rem; color:rgba(245,230,200,0.75); font-size:1rem; }
.insta-promo a { color:var(--laranja-vivo); font-weight:700; text-decoration:none; }

/* CONTATO */
#contato { background: var(--areia); }
.contato-inner { max-width: 920px; margin: 0 auto; display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.info-block { display:flex; align-items:flex-start; gap:1rem; margin-top:1.2rem; padding:1.1rem; background:white; border-radius:14px; box-shadow:0 2px 10px rgba(0,0,0,0.06); }
.info-icon { font-size:1.6rem; flex-shrink:0; width:46px; height:46px; background:var(--mar); border-radius:10px; display:flex; align-items:center; justify-content:center; }
.info-text h4 { font-size:0.7rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--laranja); margin-bottom:0.2rem; }
.info-text p, .info-text a { font-size:0.92rem; color:var(--texto); text-decoration:none; line-height:1.55; }
.info-text a:hover { color:var(--mar); }
.contato-mapa { border-radius:16px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,0.12); height:380px; }
.contato-mapa iframe { width:100%; height:100%; border:none; display:block; }

/* FOOTER */
footer { background:var(--mar-profundo); color:rgba(245,230,200,0.7); text-align:center; padding:2.5rem 1.5rem; font-size:0.85rem; }
footer strong { color:var(--areia); }
.footer-links { display:flex; justify-content:center; gap:1.5rem; margin-bottom:1rem; flex-wrap:wrap; }
.footer-links a { color:rgba(245,230,200,0.7); text-decoration:none; transition:color 0.2s; }
.footer-links a:hover { color:var(--laranja-vivo); }

/* WPP Float */
.wpp-float { position:fixed; bottom:1.5rem; right:1.5rem; background:#25D366; color:white; border-radius:50px; padding:0.8rem 1.4rem; font-weight:700; font-size:0.88rem; text-decoration:none; display:flex; align-items:center; gap:0.5rem; box-shadow:0 4px 20px rgba(37,211,102,0.45); z-index:999; animation:pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.45)} 50%{box-shadow:0 4px 38px rgba(37,211,102,0.7)} }

/* Scroll reveal */
.sr { opacity:0; transform:translateY(28px); transition:opacity 0.7s ease,transform 0.7s ease; }
.sr.visible { opacity:1; transform:translateY(0); }

/* Gallery featured overlay */
.gallery-featured { position: relative; }
.gallery-featured::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.45));
  border-radius: 14px; pointer-events: none;
  transition: opacity 0.35s;
}
.gallery-featured:hover::after { opacity: 0; }

/* Gallery item stagger entrance */
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.gallery-grid .gallery-item:nth-child(1) { animation: slideUp 0.55s 0.10s ease both; }
.gallery-grid .gallery-item:nth-child(2) { animation: slideUp 0.55s 0.20s ease both; }
.gallery-grid .gallery-item:nth-child(3) { animation: slideUp 0.55s 0.30s ease both; }
.gallery-grid .gallery-item:nth-child(4) { animation: slideUp 0.55s 0.40s ease both; }
.gallery-grid .gallery-item:nth-child(5) { animation: slideUp 0.55s 0.50s ease both; }

/* Gallery item hover zoom */
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition: transform 0.5s cubic-bezier(.25,.8,.25,1); }
.gallery-item:hover img { transform: scale(1.08); }

/* Badge hover bounce */
.badge { transition: transform 0.2s, box-shadow 0.2s, background 0.2s; cursor: default; }
.badge:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 6px 16px rgba(0,0,0,0.14); background: var(--areia-escura); }

/* Info block hover lift */
.info-block { transition: transform 0.25s, box-shadow 0.25s; }
.info-block:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.12); }

/* Nav link animated underline */
.nav-primary-links a { position: relative; }
.nav-primary-links a::after { content:''; position:absolute; bottom:0; left:50%; width:0; height:2px; background:var(--laranja-vivo); transition:width 0.3s ease, left 0.3s ease; }
.nav-primary-links a:hover::after { width:100%; left:0; }

/* Sobre image hover tilt */
.sobre-img-wrap { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.sobre-img-wrap:hover { transform: rotate(-1.5deg) scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }

/* Button glow on hover */
.btn-primary:hover { box-shadow: 0 8px 28px rgba(224,123,57,0.55); }
.btn-wpp:hover { box-shadow: 0 8px 28px rgba(37,211,102,0.55); }
.btn-insta:hover { box-shadow: 0 8px 28px rgba(220,39,67,0.45); }

/* Excursao button shimmer */
@keyframes shimmer { 0%{background-position:-200% center} 100%{background-position:200% center} }
.btn-excursao:hover { background: linear-gradient(90deg, white 0%, #fffde7 50%, white 100%); background-size: 200% auto; animation: shimmer 0.8s ease; }

/* Section title span glow */
.section-title span { text-shadow: 0 0 20px rgba(244,162,97,0.3); transition: text-shadow 0.3s; }
.section-title:hover span { text-shadow: 0 0 30px rgba(244,162,97,0.6); }

/* Tab button animated switch */
.tab-btn { transition: all 0.25s cubic-bezier(.25,.8,.25,1); }
.tab-btn.active { transform: scale(1.04); }

/* Scroll reveal with slide from left for sobre */
.sobre-inner.visible .sobre-img-wrap { animation: slideInLeft 0.7s ease both; }
.sobre-inner.visible .sobre-text { animation: slideInRight 0.7s 0.15s ease both; }
@keyframes slideInLeft { from{opacity:0;transform:translateX(-30px)} to{opacity:1;transform:translateX(0)} }
@keyframes slideInRight { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }

/* ══════════════════════════════════════════════
   RESPONSIVO — NOTEBOOK GRANDE (≤1280px)
══════════════════════════════════════════════ */
@media(max-width:1280px) {
  .sobre-inner { max-width: 96%; }
  .cardapio-inner { max-width: 96%; }
  .galeria-inner { max-width: 96%; }
  .contato-inner { max-width: 96%; }
}

/* ══════════════════════════════════════════════
   RESPONSIVO — NOTEBOOK (≤1024px)
══════════════════════════════════════════════ */
@media(max-width:1024px) {
  nav a { padding: 0.8rem 0.8rem; font-size: 0.74rem; letter-spacing: 0.8px; }
  .sobre-cols { gap: 2rem; }
  .gallery-grid { grid-template-rows: 190px 190px; }
  .cardapio-img-wrap { max-width: 100%; }
  .contato-inner { gap: 2rem; }
  .contato-mapa { height: 320px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVO — NAV MOBILE (≤860px)
══════════════════════════════════════════════ */
@media(max-width:860px) {
  nav { flex-direction: row; align-items: stretch; justify-content: flex-start; }
  .nav-primary-links {
    display: flex; overflow-x: auto; flex-wrap: nowrap; flex: 1 1 0; min-width: 0;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; justify-content: flex-start;
  }
  .nav-primary-links::-webkit-scrollbar { display: none; }
  .nav-primary-links a { font-size: 0.72rem; padding: 0.75rem 0.85rem; letter-spacing: 0.5px; flex-shrink: 0; }
  .nav-more { display: flex; align-items: center; position: relative; flex-shrink: 0; border-left: 1px solid rgba(255,255,255,0.12); }
  .mobile-only { display: none !important; }
  .nav-dropdown { right: 0; min-width: 200px; top: 100%; border-radius: 0 0 12px 12px; }
  .nav-dropdown a { text-align: left; }
}

/* ══════════════════════════════════════════════
   RESPONSIVO — TABLET (≤768px)
══════════════════════════════════════════════ */
@media(max-width:768px) {
  section { padding: 4rem 1.2rem; }
  .sobre-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .contato-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item { height: 180px; }
  .gallery-item.gallery-featured { grid-column: span 2; height: 260px; }
  .contato-mapa { height: 260px; }
  .preco-table th, .preco-table td { padding: 0.55rem 0.65rem; font-size: 0.82rem; }
  .cardapio-img-wrap { max-width: 100%; margin-bottom: 1.2rem; }
  .hero-ctas { gap: 0.65rem; }
  .logo-img { width: 150px; height: 150px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVO — CELULAR (≤480px)
══════════════════════════════════════════════ */
@media(max-width:480px) {
  .hero { padding: 2rem 1rem 7rem; }
  .logo-img { width: 120px; height: 120px; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 0.65rem; }
  .hero-ctas .btn { width: 100%; max-width: 280px; justify-content: center; }
  .b1 { width: 120px; height: 120px; }
  .b4 { width: 100px; height: 100px; }
  .b2, .b3 { display: none; }

  section { padding: 3.5rem 1rem; }

  .cardapio-img-wrap { border-radius: 10px; margin-bottom: 1rem; }
  .menu-tabs { gap: 0.5rem; }
  .tab-btn { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

  .btn-excursao { width: 100%; max-width: 300px; justify-content: center; text-align: center; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 185px; }
  .gallery-item.gallery-featured { grid-column: span 1; height: 220px; }

  .info-block { flex-direction: column; gap: 0.65rem; }
  .info-icon { width: 38px; height: 38px; font-size: 1.2rem; }
  .contato-mapa { height: 220px; }

  .wpp-float { padding: 0.65rem 1rem; font-size: 0.78rem; right: 0.8rem; bottom: 0.8rem; }

  .preco-table { font-size: 0.8rem; }
  .preco-table th, .preco-table td { padding: 0.45rem 0.5rem; }

  footer { padding: 2rem 1rem; }
  .footer-links { gap: 0.75rem; font-size: 0.78rem; }
  .footer-links a { font-size: 0.78rem; }
}