:root {
  --black: #050505;
  --soft-black: #10100f;
  --charcoal: #191816;
  --cream: #f2eadf;
  --paper: #ddd1c1;
  --copper: #b77845;
  --brick: #7a2f24;
  --wine: #4a1e24;
  --teal: #1f6868;
  --line: rgba(255,255,255,.16);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Montserrat", Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--black); color: #fff; font-family: var(--body); font-size: 16px; line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: #fff; color: #000; padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: linear-gradient(180deg, rgba(0,0,0,.92), transparent); transition: .25s; }
.site-header.scrolled { background: rgba(5,5,5,.97); box-shadow: 0 12px 36px rgba(0,0,0,.3); backdrop-filter: blur(12px); }
.nav-shell { width: min(1280px, calc(100% - 34px)); height: 90px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 116px; height: 78px; overflow: hidden; flex: 0 0 auto; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-menu { display: flex; align-items: center; justify-content: flex-end; gap: clamp(11px, 1.2vw, 20px); }
.main-menu a { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; white-space: nowrap; position: relative; }
.main-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--copper); transition: right .2s; }
.main-menu a:hover::after, .main-menu a:focus-visible::after { right: 0; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 12px; }
.menu-toggle span { display: block; width: 28px; height: 1px; margin: 7px; background: #fff; transition: .2s; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); animation: heroCycle 14s infinite; }
.hero-slide-one { background-image: url("../../preciosa_hero1.png"); }
.hero-slide-two { background-image: url("../../preciosa_hero2_rabada.png"); animation-delay: 7s; }
.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.12) 74%), linear-gradient(0deg, rgba(0,0,0,.78), transparent 58%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 34px; }
.hero-kicker { max-width: 760px; margin: 0 0 7px; font-family: var(--display); font-size: clamp(2.8rem, 6vw, 5.8rem); font-weight: 600; line-height: .86; }
.hero-subtitle { margin: 0 0 25px; color: var(--paper); font-size: clamp(.9rem, 1.6vw, 1.1rem); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes heroCycle { 0% { opacity: 0; transform: scale(1.06); } 7%, 47% { opacity: 1; } 55%, 100% { opacity: 0; transform: scale(1); } }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 25px; border: 1px solid transparent; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: .2s; }
.button:hover { transform: translateY(-2px); }
.button-copper { background: var(--copper); color: #fff; }
.button-copper:hover { background: #d19662; }
.button-outline { border-color: #fff; color: #fff; }
.button-outline:hover, .button-light { background: #fff; color: #080808; }
.button-light:hover { background: var(--copper); color: #fff; }

.feature-strip { background: var(--soft-black); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-grid a { min-height: 138px; padding: 28px 32px; border-right: 1px solid var(--line); text-decoration: none; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-content: center; transition: background .2s; }
.feature-grid a:last-child { border-right: 0; }
.feature-grid a:hover { background: var(--wine); }
.feature-grid span { grid-row: span 2; align-self: start; color: var(--copper); font-family: var(--display); font-size: 2rem; line-height: 1; }
.feature-grid strong { font-family: var(--display); font-size: 1.55rem; font-weight: 600; }
.feature-grid small { color: #9e968e; }

.section { padding: clamp(70px, 8vw, 110px) 0; }
.eyebrow { margin: 0 0 14px; color: var(--copper); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.dark { color: var(--brick); }
.display-title { margin: 0 0 26px; font-family: var(--display); font-size: clamp(3.25rem, 6.5vw, 6.2rem); font-weight: 600; line-height: .82; letter-spacing: -.02em; }
.display-title em { color: var(--copper); font-weight: 500; }
.display-title.dark { color: var(--black); }
.lead { font-size: clamp(1.12rem, 2vw, 1.38rem); }
.dark-text { color: #2c2723; }
.story-section { background: var(--cream); color: var(--black); }
.story-grid, .reservation-grid, .menu-intro, .everyday-grid, .cardapio-layout, .atmosphere-grid, .info-grid, .location-grid, .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 115px); align-items: center; }
.story-copy { max-width: 570px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; margin-top: 75px; }
.photo-pair figure { margin: 0; overflow: hidden; }
.photo-pair img { width: 100%; height: 480px; object-fit: cover; filter: saturate(.82); transition: .45s; }
.photo-pair figure:first-child { transform: translateY(40px); }
.photo-pair img:hover { transform: scale(1.03); filter: saturate(1); }

.reservation-section { background: var(--wine); }
.reservation-grid { grid-template-columns: .72fr 1.28fr; align-items: start; }
.reservation-copy { position: sticky; top: 120px; }
.fine-print { color: #b9aaa5; font-size: .84rem; }
.widget-frame { padding: 12px; background: #fff; color: #333; box-shadow: 20px 20px 0 rgba(0,0,0,.22); }
.widget-frame iframe { display: block; width: 100%; height: 920px; border: 0; background: #fff; }
.widget-frame p { margin: 10px; color: #666; font-size: .76rem; text-align: center; }

.events-section { padding-block: 62px; background: var(--black); }
.events-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px, 7vw, 95px); align-items: center; }
.event-banner { margin: 0; overflow: hidden; background: #161616; }
.event-banner img { width: 100%; height: 510px; object-fit: cover; object-position: center; }
.event-copy { max-width: 610px; }

.menu-section { background: var(--paper); color: var(--black); }
.menu-intro { align-items: end; }
.daily-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 55px; }
.daily-card { min-height: 260px; padding: 28px; background: var(--black); color: #fff; border-top: 4px solid var(--copper); }
.daily-card span { color: var(--copper); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.daily-card h3 { margin: 35px 0 12px; font-family: var(--display); font-size: 2rem; line-height: 1; }
.daily-card p { color: #bcb4ad; font-size: .86rem; }
.everyday-grid { margin-top: 70px; align-items: start; }
.food-feature { width: 80%; margin: 0; justify-self: center; }
.food-feature img { width: 100%; height: 680px; object-fit: cover; box-shadow: 18px 18px 0 var(--copper); }
.everyday-copy h3 { margin: 0 0 25px; font-family: var(--display); font-size: 3.2rem; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { padding: 11px 0; border-bottom: 1px solid rgba(0,0,0,.16); display: grid; grid-template-columns: 180px 1fr; gap: 18px; }
.menu-list span { font-size: .83rem; }
.vegetarian-note { margin-top: 24px; padding: 18px; background: rgba(31,104,104,.14); border-left: 4px solid var(--teal); }

.cardapio-section { background: var(--brick); }
.cardapio-layout { grid-template-columns: .75fr 1.25fr; }
.food-collage { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; gap: 10px; }
.food-collage img { width: 100%; height: 100%; object-fit: cover; }
.food-collage img:first-child { grid-row: span 2; }

.secret-section { min-height: 720px; position: relative; display: flex; align-items: center; overflow: hidden; }
.secret-image, .secret-shade { position: absolute; inset: 0; }
.secret-image { background: url("../../preciosa_ambiente3.png") center/cover no-repeat; }
.secret-shade { background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.15)); }
.secret-content { position: relative; z-index: 1; }
.secret-content p { max-width: 620px; }

.atmosphere-section { background: var(--soft-black); }
.atmosphere-grid { grid-template-columns: .72fr 1.28fr; }
.atmosphere-grid > div:first-child p:last-child { color: #aaa29b; }
.atmosphere-photos { display: grid; grid-template-columns: 1fr .72fr; gap: 12px; align-items: end; }
.atmosphere-photos img { width: 100%; height: 580px; object-fit: cover; }
.atmosphere-photos img:last-child { height: 440px; }

.info-band { background: var(--copper); }
.info-grid { gap: 0; align-items: stretch; }
.happy-hour, .hours-card { padding: clamp(55px, 7vw, 90px); }
.happy-hour h2, .hours-card h2 { margin: 0 0 25px; font-family: var(--display); font-size: clamp(3rem, 5vw, 4.8rem); font-weight: 600; line-height: .9; }
.happy-hour { margin-left: max(calc((100vw - var(--max))/2 * -1), -40px); padding-left: max(calc((100vw - var(--max))/2), 40px); background: var(--black); }
.hours-card { background: var(--cream); color: var(--black); }
.hours-list { margin: 0; }
.hours-list div { display: flex; justify-content: space-between; gap: 25px; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.18); }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; }

.location-section { background: var(--black); }
.address { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.metro { margin: 25px 0; color: #c3b9b1; }
.map-frame { height: 510px; background: #ddd; border: 1px solid var(--line); box-shadow: 18px 18px 0 var(--copper); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.site-footer { padding: 90px 0 24px; background: #000; border-top: 1px solid var(--line); }
.footer-brand img { width: 230px; margin-bottom: 25px; }
.footer-brand p { max-width: 400px; color: #8d8782; }
.site-footer h2 { margin: 0; font-family: var(--display); font-size: 3.8rem; }
.site-footer address { font-style: normal; }
.site-footer address a:not(.button) { font-family: var(--display); font-size: 1.8rem; text-decoration: none; }
.footer-bottom { margin-top: 70px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: #696561; font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; padding: 12px 18px; border-radius: 999px; background: #25d366; color: #062d16; font-weight: 700; text-decoration: none; box-shadow: 0 12px 35px rgba(0,0,0,.4); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s, transform .65s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .main-menu { position: fixed; inset: 0; background: rgba(5,5,5,.98); display: flex; flex-direction: column; justify-content: center; gap: 13px; transform: translateX(100%); transition: transform .25s; }
  .main-menu a { font-family: var(--display); font-size: 1.7rem; text-transform: none; }
  .menu-open .main-menu { transform: none; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-shell { height: 76px; }
  .brand { width: 98px; height: 65px; }
  .hero-content { padding-bottom: 78px; }
  .hero-kicker { font-size: clamp(3rem, 14vw, 4.7rem); }
  .feature-grid, .story-grid, .reservation-grid, .menu-intro, .everyday-grid, .cardapio-layout, .atmosphere-grid, .info-grid, .location-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid a { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 8px; }
  .section { padding: 76px 0; }
  .display-title { font-size: clamp(3.4rem, 16vw, 5rem); }
  .photo-pair { grid-template-columns: 1fr; margin-top: 45px; }
  .photo-pair figure:first-child { transform: none; }
  .photo-pair img { height: 400px; }
  .reservation-copy { position: static; }
  .widget-frame { padding: 5px; box-shadow: 10px 10px 0 rgba(0,0,0,.22); }
  .widget-frame iframe { height: 950px; }
  .events-layout { grid-template-columns: 1fr; gap: 35px; }
  .event-banner { width: min(100%, 430px); margin-inline: auto; }
  .event-banner img { height: auto; }
  .daily-grid { grid-template-columns: 1fr 1fr; }
  .daily-card { min-height: 235px; padding: 22px; }
  .food-feature { width: 80%; }
  .food-feature img { height: 480px; box-shadow: 10px 10px 0 var(--copper); }
  .menu-list li { grid-template-columns: 1fr; gap: 2px; }
  .food-collage { grid-auto-rows: 190px; }
  .secret-section { min-height: 650px; }
  .atmosphere-photos img, .atmosphere-photos img:last-child { height: 400px; }
  .happy-hour { margin-left: -14px; padding-left: 28px; }
  .happy-hour, .hours-card { padding-block: 60px; }
  .map-frame { height: 390px; box-shadow: 10px 10px 0 var(--copper); }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 12px; bottom: 12px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { animation: none; transform: none; opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
