/* =========================================================
   TAVERNA DO MORRO — STYLE
   ========================================================= */

:root {
  --bg: #fdfaf6;
  --white: #ffffff;
  --text: #1b1b1b;
  --muted: #6b6b6b;
  --dark: #141414;
  --dark-soft: #202020;
  --red: #b93628;
  --red-dark: #922b20;
  --gold: #d4af37;
  --green: #25d366;
  --blue: #1877f2;
  --border: rgba(0,0,0,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.10);
  --radius: 16px;
  --container: 1200px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
}

.section {
  padding: 110px 0;
}

.section-head {
  max-width: 650px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 25px rgba(185,54,40,.22);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(185,54,40,.28);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  color: var(--text);
  background: #fff;
  transform: translateY(-3px);
}

/* HEADER */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(253,250,246,.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.header.scrolled {
  background: rgba(253,250,246,.98);
  border-color: var(--border);
  box-shadow: 0 5px 25px rgba(0,0,0,.07);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 145px;
  max-height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: .9rem;
  font-weight: 500;
  transition: color .25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--red);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-reserva {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease;
}

.header-reserva:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}

/* HERO */
.hero {
  isolation: isolate;
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg { position:absolute; inset:0; z-index:-2; }
.hero-bg img { width:100%; height:100%; object-fit:cover; object-position:50% 65%; }
.hero-bg::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.66) 0%,rgba(0,0,0,.50) 55%,rgba(0,0,0,.26) 100%); }

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, rgba(0,0,0,.35));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 90px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: #f4d77b;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: -.8px;
}

.hero h1 span {
  color: #f1c40f;
  font-style: italic;
}

.hero p {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.91);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  color: rgba(255,255,255,.82);
  font-size: .82rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust i {
  color: #f1c40f;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  transform: translateX(-50%);
  animation: scrollDot 1.7s infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  70% { transform: translate(-50%, 13px); opacity: .15; }
}

/* SOBRE */
.sobre {
  background: var(--bg);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 75px;
  align-items: center;
}

.sobre-img {
  position: relative;
}

.sobre-img img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.sobre-badge {
  position: absolute;
  right: -24px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,.14);
}

.sobre-badge strong {
  font-family: 'Playfair Display', serif;
  color: var(--red);
  font-size: 1.25rem;
}

.sobre-badge span {
  color: var(--muted);
  font-size: .85rem;
}

.sobre-text h2 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.sobre-text p {
  max-width: 580px;
  margin-bottom: 16px;
  color: #5b5b5b;
}

.sobre-features {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin-top: 34px;
}

.sobre-features div {
  display: flex;
  flex-direction: column;
}

.sobre-features strong {
  color: var(--red);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1;
}

.sobre-features span {
  margin-top: 7px;
  color: #888;
  font-size: .82rem;
}

/* MENU */
.menu {
  background: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.menu-card {
  overflow: hidden;
  background: #fdfaf6;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}

.menu-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.menu-card-img {
  overflow: hidden;
}

.menu-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform .5s ease;
}

.menu-card:hover img {
  transform: scale(1.045);
}

.menu-card-body {
  padding: 21px;
}

.menu-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.menu-card h3 {
  font-size: 1.22rem;
}

.menu-card p {
  margin-top: 10px;
  color: #707070;
  font-size: .88rem;
}

.price {
  flex-shrink: 0;
  color: var(--red);
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-cta {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

/* EXPERIÊNCIA */
.experiencia {
  isolation: isolate;
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.experiencia-bg { position:absolute; inset:0; z-index:-2; }
.experiencia-bg img { width:100%; height:100%; object-fit:cover; object-position:center; }
.experiencia-bg::after { content:''; position:absolute; inset:0; background:linear-gradient(rgba(0,0,0,.56),rgba(0,0,0,.60)); }

.experiencia-content {
  max-width: 750px;
  padding: 80px 0;
}

.experiencia .eyebrow {
  color: #f1c40f;
}

.experiencia h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.experiencia p {
  margin-bottom: 28px;
  color: rgba(255,255,255,.85);
}

/* GALERIA */
.galeria {
  background: var(--bg);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;
}

.galeria-item {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #ddd;
}

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 70%, rgba(0,0,0,.16));
  opacity: 0;
  transition: opacity .3s ease;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.galeria-item > span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}

.galeria-item:hover img {
  transform: scale(1.06);
}

.galeria-item:hover::after,
.galeria-item:hover > span {
  opacity: 1;
}

.galeria-item:hover > span {
  transform: translateY(0);
}

/* CONTACTO */
.contacto {
  padding: 105px 0;
  background: #fff;
}

.contacto-container {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 55px;
  align-items: stretch;
}

.contacto-info h2 {
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contacto-tagline {
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--muted);
}

.contacto-lista {
  display: grid;
  gap: 4px;
  margin-bottom: 26px;
}

.contacto-lista li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 0;
  color: #444;
  font-size: .92rem;
}

.contacto-lista i {
  width: 21px;
  flex-shrink: 0;
  color: var(--red);
  text-align: center;
}

.contacto-lista a {
  transition: color .2s ease;
}

.contacto-lista a:hover {
  color: var(--red);
}

.redes {
  display: flex;
  gap: 12px;
}

.rede {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 21px;
  transition: transform .25s ease, opacity .25s ease;
}

.rede:hover {
  transform: translateY(-4px);
  opacity: .9;
}

.rede.whatsapp {
  background: var(--green);
}

.rede.facebook {
  background: var(--blue);
}

.contacto-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 20px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #222;
  font-size: .86rem;
  font-weight: 600;
  transition: background .25s ease, transform .25s ease;
}

.contacto-btn:hover {
  background: #e7e7e7;
  transform: translateY(-2px);
}

.contacto-btn i {
  color: var(--green);
  font-size: 20px;
}

.contacto-mapa {
  min-height: 470px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contacto-mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
}

/* FOOTER */
.rodape {
  padding: 70px 0 0;
  background: var(--dark);
  color: #cfcfcf;
}

.rodape-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.25fr 1.25fr;
  gap: 45px;
}

.rodape-col h4 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 10px;
  color: #fff;
  font-size: 1rem;
}

.rodape-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--gold);
}

.rodape-logo {
  width: 145px;
  max-height: 65px;
  object-fit: contain;
  object-position: left center;
}

.rodape-marca p {
  max-width: 340px;
  margin: 18px 0 20px;
  color: #a9a9a9;
  font-size: .88rem;
}

.rodape-col ul {
  display: grid;
  gap: 10px;
}

.rodape-col ul li {
  font-size: .88rem;
}

.rodape-col a {
  transition: color .2s ease;
}

.rodape-col a:hover {
  color: var(--gold);
}

.rodape-contactos li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rodape-contactos i {
  width: 16px;
  color: var(--red);
}

.rodape-horario li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 9px;
  border-bottom: 1px solid #292929;
}

.rodape-horario li span:last-child {
  color: #fff;
}

.rodape-social {
  display: flex;
  gap: 11px;
}

.rodape-social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #232323;
  color: #fff;
  font-size: 17px;
  transition: background .25s ease, transform .25s ease;
}

.rodape-social a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.rodape-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 55px;
  padding: 22px 0;
  border-top: 1px solid #292929;
  color: #777;
  font-size: .78rem;
}

.rodape-base .fa-heart {
  color: var(--red);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(0,0,0,.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0,0,0,.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 21px;
}

/* WHATSAPP FLOAT */
.whats-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 3px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
  transition: transform .25s ease;
}

.whats-float:hover {
  transform: scale(1.08);
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .header-reserva {
    display: none;
  }

  .nav {
    gap: 22px;
  }

  .sobre-grid {
    gap: 45px;
  }

  .rodape-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }

  .rodape-grid .rodape-col:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 850px) {
  .section {
    padding: 85px 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1101;
  }

  .nav {
    position: fixed;
    top: 82px;
    right: 0;
    width: min(320px, 85vw);
    height: calc(100vh - 82px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 28px;
    background: rgba(253,250,246,.98);
    box-shadow: -15px 0 40px rgba(0,0,0,.10);
    transform: translateX(105%);
    transition: transform .3s ease;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sobre-grid,
  .contacto-container {
    grid-template-columns: 1fr;
  }

  .sobre-img img {
    height: 460px;
  }

  .sobre-badge {
    right: 18px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .contacto-mapa,
  .contacto-mapa iframe {
    min-height: 380px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .header-inner {
    min-height: 74px;
  }

  .logo-img {
    width: 125px;
  }

  .nav {
    top: 74px;
    height: calc(100vh - 74px);
  }

  .hero-content {
    padding-top: 75px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero p {
    font-size: .98rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: 9px;
  }

  .scroll-indicator {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .sobre-img img {
    height: 360px;
  }

  .sobre-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: max-content;
    margin: -30px 0 0 18px;
  }

  .sobre-features {
    gap: 25px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card img {
    height: 230px;
  }

  .experiencia {
    min-height: 410px;
  }

  .experiencia-bg {
    background-attachment: scroll;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .galeria-item > span,
  .galeria-item::after {
    opacity: 1;
  }

  .contacto {
    padding: 75px 0;
  }

  .contacto-mapa,
  .contacto-mapa iframe {
    min-height: 320px;
  }

  .rodape {
    padding-top: 55px;
  }

  .rodape-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .rodape-grid .rodape-col:last-child {
    grid-column: auto;
  }

  .rodape-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .rodape-marca p {
    margin-inline: auto;
  }

  .rodape-logo {
    margin-inline: auto;
  }

  .rodape-contactos li {
    justify-content: center;
  }

  .rodape-horario {
    max-width: 330px;
    margin-inline: auto !important;
  }

  .rodape-social {
    justify-content: center;
  }

  .rodape-base {
    flex-direction: column;
    text-align: center;
  }

  .whats-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    font-size: 27px;
  }
}

/* Photograph sources and their full-resolution views. */
.foto-detalhe { display:block; cursor:zoom-in; }
.foto-detalhe:focus-visible { outline:3px solid var(--gold); outline-offset:-4px; }
.menu-card .menu-photo-parrilhada { object-position:50% 90%; }
.foto-nota { display:block; margin-top:10px; color:var(--muted); font-size:.8rem; }
.galeria-menu { display:grid; place-items:center; color:#fff; background:var(--dark-soft); }
.galeria-menu::after { display:none; }
.galeria-menu-content { display:grid; justify-items:center; gap:12px; padding:24px; }
.galeria-menu-content > i { color:var(--gold); font-size:2rem; }
.galeria-menu-content strong { font-family:'Playfair Display',serif; font-size:1.8rem; }
.galeria-menu-content small { color:#eee; font-size:.9rem; }
