/* ════════════════════════════════════════
   ONDA SOL — style.css  v2
   ════════════════════════════════════════ */

:root {
  --night:    #03111C;
  --deep:     #061E2E;
  --ocean:    #0B3D58;
  --teal:     #1A8FAA;
  --amber:    #D4A84B;
  --amber-lt: #E8C97A;
  --sand:     #F5F0E8;
  --sand-dim: #C8BFB0;
  --white:    #FFFFFF;
  --body-bg:  #050F17;
  --r-sm: 6px;
  --r-md: 12px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body);
  background: var(--body-bg);
  color: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }


/* ════ NAV — SEMPRE OPACO ════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(3, 17, 28, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.04em; line-height: 1;
}
.nav-logo em { color: var(--amber); font-style: normal; }

.nav-center { display: flex; align-items: center; gap: 2.2rem; }
.nav-link {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,240,232,0.65);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--amber); }

/* ── Language switcher com bandeiras ── */
.lang-switcher { display: flex; gap: 4px; align-items: center; margin-left: 1.4rem; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  padding: 4px 8px; border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.lang-btn.active { color: var(--amber); background: rgba(212,168,75,0.12); }
.flag {
  width: 18px; height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

.nav-cta-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--amber); color: var(--night);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.55rem 1.3rem; border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.15s;
}
.nav-cta-btn:hover { background: var(--amber-lt); transform: translateY(-1px); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--sand); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — sempre sólido */
.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 190;
  background: #03111C;
  padding: 1.5rem 5vw 2rem;
  flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: 0.95rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--sand);
}
.mobile-lang {
  display: flex; gap: 8px; margin-top: 1.2rem; flex-wrap: wrap;
}
.mobile-lang .lang-btn {
  font-size: 0.8rem; padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  color: rgba(245,240,232,0.55);
}
.mobile-lang .lang-btn.active {
  border-color: var(--amber); color: var(--amber); background: rgba(212,168,75,0.1);
}

/* ════ HERO ════ */
.hero {
  position: relative;
  height: 100svh; min-height: 600px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('hero.png');
  background-size: cover; background-position: center 50%;
}
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,17,28,1) 0%, rgba(3,17,28,0.72) 45%, rgba(3,17,28,0.15) 100%);
}

/* Modo gradiente */
.hero-gradient-mode .hero-bg {
  background: linear-gradient(135deg, #041525 0%, #0B3D58 40%, #0d5a7a 65%, #082030 100%) !important;
  background-image: none !important;
}
.hero-gradient-mode .hero-grad {
  background: linear-gradient(to top, rgba(3,17,28,0.9) 0%, transparent 60%);
}

/* Modo foto */
.hero-photo-mode .hero-grad {
  background: linear-gradient(to top, rgba(3,17,28,1) 0%, rgba(3,17,28,0.85) 40%, rgba(3,17,28,0.5) 100%);
}

/* Modo split */
.hero-split-mode {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.hero-split-mode::before {
  content: '';
  position: absolute; inset: 0 50% 0 0;
  background: var(--night);
  z-index: 1;
}
.hero-split-mode::after {
  content: '';
  position: absolute; inset: 0 0 0 50%;
  background: url('hero.png') center/cover;
  filter: brightness(0.65);
}
.hero-split-mode .hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(3,17,28,0) 40%, rgba(3,17,28,0.6) 100%);
  z-index: 2;
}
.hero-split-mode .hero-content {
  grid-column: 1; z-index: 3;
  padding: 0 7vw;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start;
}
.hero-split-mode .scroll-cue { z-index: 3; }

.hero-content {
  position: relative; z-index: 2;
  padding: 0 6vw 8vh; max-width: 700px;
}
.hero-loc {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.4rem;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.7s 0.2s forwards;
}
.hero-loc::before {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: var(--teal); border-radius: 2px;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700; line-height: 1.03; color: var(--white);
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.85s 0.4s forwards;
}
.line-gold { display: block; color: var(--amber); position: relative; }
.line-gold::before {
  content: ''; display: block; width: 100%; height: 1.5px;
  background: linear-gradient(to right, var(--amber), rgba(212,168,75,0));
  margin-bottom: 0.12em; opacity: 0.55;
}
.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  font-weight: 300; color: rgba(245,240,232,0.72);
  line-height: 1.65; max-width: 480px;
  opacity: 0; animation: fadeUp 0.8s 0.65s forwards;
}
.hero-btns {
  display: flex; gap: 0.85rem; margin-top: 2rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.9s forwards;
}
.btn-amber {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--amber); color: var(--night);
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.9rem 2rem; border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.15s;
}
.btn-amber:hover { background: var(--amber-lt); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid rgba(245,240,232,0.3); color: var(--sand);
  font-weight: 500; font-size: 0.88rem; letter-spacing: 0.05em;
  padding: 0.9rem 1.8rem; border-radius: var(--r-sm);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--sand); background: rgba(245,240,232,0.07); }

.scroll-cue {
  position: absolute; bottom: 2rem; right: 6vw; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; animation: fadeUp 0.6s 1.3s forwards;
}
.scroll-cue span {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,240,232,0.3); writing-mode: vertical-rl;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(245,240,232,0.35), transparent); }

/* ════ BADGES ════ */
.badges-strip {
  background: var(--ocean);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 5vw;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.badges-strip::-webkit-scrollbar { display: none; }
.badges-inner { display: flex; align-items: center; gap: 2rem; min-width: max-content; }
.badge { display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
.badge-icon {
  width: 30px; height: 30px;
  background: rgba(212,168,75,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.badge-text { font-size: 0.82rem; color: rgba(245,240,232,0.65); }
.badge-text strong { color: var(--white); font-weight: 600; }
.badge-sep { width: 1px; height: 24px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ════ SECTIONS ════ */
.section { padding: 6rem 6vw; }
.section-dark { background: var(--deep); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-style: italic;
  font-size: 0.95rem; color: var(--teal); letter-spacing: 0.08em; margin-bottom: 0.8rem;
}
.eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--teal); }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700; line-height: 1.1; color: var(--white); margin-bottom: 1rem;
}
.sec-lead { font-size: 1rem; font-weight: 300; color: var(--sand-dim); line-height: 1.75; max-width: 500px; }

/* ════ ESPECIALIDADES ════ */
.esp-header { margin-bottom: 3rem; }
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.dish-card { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--deep); }
.dish-card.featured { grid-row: span 2; }
.dish-img-wrap { position: absolute; inset: 0; }
.dish-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.dish-card:hover .dish-img-wrap img { transform: scale(1.06); }
.dish-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,17,28,0.95) 0%, rgba(3,17,28,0.25) 65%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.3rem;
}
.dish-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); background: rgba(212,168,75,0.15);
  border: 1px solid rgba(212,168,75,0.3); border-radius: 20px;
  padding: 0.2rem 0.7rem; margin-bottom: 0.45rem; width: fit-content;
}
.dish-name {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 0.3rem;
}
.dish-card.featured .dish-name { font-size: 1.85rem; }
.dish-desc { font-size: 0.8rem; color: rgba(245,240,232,0.65); line-height: 1.5; }

/* ════ SOBRE ════ */
.sobre-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.sobre-text .sec-lead { max-width: 440px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r-md); padding: 1.3rem 1rem; text-align: center;
}
.stat-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--amber); line-height: 1; margin-bottom: 0.3rem;
}
.stat-lbl { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand-dim); }
.sobre-imgs { position: relative; height: 520px; }
.sobre-img-main {
  position: absolute; top: 0; right: 0;
  width: 80%; height: 80%; object-fit: cover; border-radius: var(--r-md);
}
.sobre-img-sec {
  position: absolute; bottom: 0; left: 0;
  width: 50%; height: 50%; object-fit: cover;
  border-radius: var(--r-md); border: 4px solid var(--deep);
}

/* ════ EMENTA ════ */
.ementa-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.ementa-col { display: flex; flex-direction: column; gap: 2rem; }
.menu-group-title {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.9rem; padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(26,143,170,0.22);
}
.menu-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-size: 0.9rem; font-weight: 500; color: var(--sand); margin-bottom: 0.12rem; }
.menu-item-sub { font-size: 0.72rem; color: rgba(200,191,176,0.5); font-style: italic; }
.menu-price { font-family: var(--font-display); font-size: 0.88rem; color: var(--amber); white-space: nowrap; flex-shrink: 0; }
.ementa-cta-row { margin-top: 2.5rem; display: flex; justify-content: center; }

/* ════ CONTACTO ════ */
.contacto-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; margin-top: 3rem; align-items: start; }
.info-group { margin-bottom: 1.8rem; }
.info-lbl { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.45rem; }
.info-val { font-size: 0.93rem; color: var(--sand); line-height: 1.65; }
.info-val a { color: var(--amber); }
.info-val a:hover { text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.hours-table tr:last-child { border-bottom: none; }
.day-cell { padding: 0.48rem 0; font-size: 0.86rem; color: rgba(200,191,176,0.55); width: 140px; vertical-align: middle; }
.time-cell { padding: 0.48rem 0; font-size: 0.86rem; color: var(--sand); vertical-align: middle; }
.hours-table tr.today .day-cell,
.hours-table tr.today .time-cell { color: var(--amber); font-weight: 600; }
.hours-table tr.closed-row .day-cell,
.hours-table tr.closed-row .time-cell { color: rgba(200,191,176,0.28); }
.today-dot { display: inline-block; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; margin-left: 5px; vertical-align: middle; }
.map-frame { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 4px 32px rgba(0,0,0,0.45); }
.map-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.map-btns { display: flex; gap: 0.8rem; margin-top: 1rem; flex-wrap: wrap; }
.btn-outline-sm {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 500; color: var(--sand-dim);
  border: 1px solid rgba(200,191,176,0.2); border-radius: var(--r-sm); padding: 0.5rem 1rem;
  transition: color 0.2s, border-color 0.2s;
}
.btn-outline-sm:hover { color: var(--white); border-color: rgba(200,191,176,0.5); }
.btn-call-big {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; background: var(--amber); color: var(--night);
  font-weight: 700; font-size: 1rem; padding: 1.1rem; border-radius: var(--r-sm); margin-top: 1.5rem;
  transition: background 0.2s;
}
.btn-call-big:hover { background: var(--amber-lt); }

/* ════ FOOTER — SEMPRE SÓLIDO ════ */
footer {
  background: #020C14;
  padding: 2rem 6vw;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-logo em { color: var(--amber); font-style: normal; }
.footer-copy { font-size: 0.76rem; color: rgba(200,191,176,0.35); }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a { font-size: 0.78rem; color: rgba(200,191,176,0.4); transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }

/* ════ FLOATING CTA ════ */
.floating-cta {
  display: none;
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 180; background: var(--amber); color: var(--night);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em;
  padding: 0.9rem 2rem; border-radius: 40px;
  box-shadow: 0 8px 32px rgba(212,168,75,0.4);
  align-items: center; gap: 0.5rem; white-space: nowrap;
  transition: opacity 0.3s, box-shadow 0.3s;
}
.floating-cta:hover { box-shadow: 0 12px 40px rgba(212,168,75,0.55); }

/* ════ ANIMATIONS ════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ════ TABLET 768–1024 ════ */
@media (max-width: 1024px) {
  .nav-center { display: none; }
  .nav-cta-btn { display: none; }
  .burger { display: flex; }
  .dishes-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .dish-card.featured { grid-column: span 2; grid-row: span 1; }
  .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-imgs { height: 360px; }
  .contacto-layout { grid-template-columns: 1fr; }
  .ementa-layout { grid-template-columns: 1fr; }
  .floating-cta { display: flex; }
}

/* ════ MOBILE < 600px ════ */
@media (max-width: 600px) {
  :root { --nav-h: 58px; }
  .section { padding: 3.5rem 5vw; }
  .hero-content { padding: 0 5vw 10vh; }
  .dishes-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .dish-card.featured { grid-column: span 1; grid-row: span 1; }
  .dish-card.featured .dish-name { font-size: 1.4rem; }
  .sobre-imgs { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row .stat-card:last-child { display: none; }
  .map-frame { aspect-ratio: 1/1; }
  .footer-links { display: none; }
  footer { justify-content: center; text-align: center; flex-direction: column; }
  .floating-cta { display: flex; bottom: 1rem; }
  body { padding-bottom: 76px; }
  .scroll-cue { display: none; }
  .hmodal-options { grid-template-columns: 1fr; }
  .hmodal-box { padding: 1.5rem; }
  .hero-split-mode { grid-template-columns: 1fr !important; }
  .hero-split-mode::after { display: none; }
  .hero-split-mode .hero-content { grid-column: 1; padding: 0 5vw 10vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
