/* =========================================
   DOM ZEFERINO — RESTAURANTE
   Estilos Principais
   ========================================= */

/* ---- VARIÁVEIS CSS ---- */
:root {
    --olive: #4a5240;
    --olive-dark: #2e3328;
    --olive-light: #6b7560;
    --olive-pale: #8a9480;
    --ivory: #f5f0e8;
    --ivory-dark: #ede5d4;
    --ivory-warm: #e8ddc8;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-dark: #a8871f;
    --cream: #faf7f2;
    --text-dark: #1a1a14;
    --text-medium: #3d3d30;
    --text-light: #6b6b58;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Full-page scroll snap sections */
.hero,
.sobre,
.quote-section,
.ementa,
.galeria,
.testemunhos,
.reservas,
.contactos {
    scroll-snap-align: start;
    min-height: 100vh;
}

.footer {
    scroll-snap-align: end;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

/* ---- PAGE LOADER ---- */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--olive-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.3em;
    animation: loaderPulse 1.5s ease infinite;
}

.loader-line {
    width: 0;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem auto 0;
    animation: loaderLine 1.8s ease forwards;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes loaderLine {
    to { width: 120px; }
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.4rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
    background: var(--gold);
    color: var(--olive-dark);
}

.btn-primary:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--ivory);
    border: 1px solid rgba(245, 240, 232, 0.5);
}

.btn-secondary:hover {
    background: rgba(245, 240, 232, 0.15);
    border-color: var(--ivory);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--olive);
    border: 1.5px solid var(--olive);
}

.btn-outline:hover {
    background: var(--olive);
    color: var(--ivory);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--olive-dark);
    border: 1.5px solid var(--olive-dark);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.8rem 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background: var(--olive-dark);
    color: var(--ivory);
}

.btn-gold {
    background: var(--gold);
    color: var(--olive-dark);
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 1rem 2rem;
    font-weight: 700;
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

/* ---- SECTION SHARED STYLES ---- */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.section-label.light { color: var(--gold-light); }

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    color: var(--olive-dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--gold-dark);
}

.section-title.light {
    color: var(--ivory);
}

.section-title.light em {
    color: var(--gold-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.divider-ornament span {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.divider-ornament i {
    color: var(--gold);
    font-size: 0.9rem;
}

.divider-ornament.light span { background: var(--gold-light); }
.divider-ornament.light i { color: var(--gold-light); }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.2rem 0;
}

#navbar.scrolled {
    background: rgba(30, 34, 24, 0.97);
    backdrop-filter: blur(12px);
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1;
}

.nav-right {
    justify-content: flex-end;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.85);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--ivory); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    background: var(--gold);
    color: var(--olive-dark) !important;
    padding: 0.55rem 1.4rem;
    font-weight: 700;
}

.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-dark); color: var(--white) !important; }

.nav-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

#navbar.scrolled .logo-img {
    height: 60px;
}

.logo-text-fallback {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--ivory);
    display: none;
}

/* When logo fails to load */
.logo-img.error { display: none !important; }
.logo-img.error + .logo-text-fallback { display: block !important; }

/* Logo Monogram Fallback Styling */
.logo-text-fallback {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: var(--ivory);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--ivory);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--olive-dark);
    padding: 1rem 2rem 2rem;
    gap: 0.2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.mobile-menu.open { display: flex; }

.mobile-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.8);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-link:hover { color: var(--gold); }

.mobile-cta {
    margin-top: 1rem;
    background: var(--gold);
    color: var(--olive-dark) !important;
    text-align: center;
    padding: 0.9rem;
    font-weight: 700;
    border-bottom: none;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            160deg,
            rgba(30, 34, 24, 0.92) 0%,
            rgba(46, 51, 40, 0.85) 40%,
            rgba(20, 24, 16, 0.95) 100%
        ),
        url('../images/landing/restaurante.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    animation: heroFadeIn 1.2s ease 0.5s both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.badge-line {
    display: block;
    width: 50px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

.badge-text {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-logo-wrap {
    margin-bottom: 2rem;
}

.hero-logo {
    height: 200px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    animation: heroLogoFloat 3s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold-light);
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 300;
    color: rgba(245, 240, 232, 0.75);
    letter-spacing: 0.05em;
    line-height: 1.9;
    margin-bottom: 3rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: scrollBounce 2s ease infinite;
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.5);
}

.scroll-arrow {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* =============================================
   SOBRE / HISTÓRIA
   ============================================= */
.sobre {
    padding: 8rem 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.sobre-image-col {
    position: relative;
}

.sobre-img-frame {
    position: relative;
}

.sobre-img-inner {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 2px;
}

.sobre-img-inner img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.sobre-img-inner:hover img { transform: scale(1.04); }

.img-accent-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1.5px solid var(--gold);
    opacity: 0.3;
    z-index: 0;
    border-radius: 2px;
}

.sobre-badge-year {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--olive-dark);
    color: var(--ivory);
    padding: 1.5rem 2rem;
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.year-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.year-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 0.3rem;
}

.sobre-text-col {
    padding-left: 1rem;
}

.sobre-text {
    font-size: 1.02rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.sobre-values {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.value-icon {
    width: 44px;
    height: 44px;
    background: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.value-text {
    display: flex;
    flex-direction: column;
}

.value-text strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--olive-dark);
    letter-spacing: 0.05em;
}

.value-text span {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* =============================================
   QUOTE SECTION
   ============================================= */
.quote-section {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
}

.quote-bg::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: 5%;
    font-family: var(--font-serif);
    font-size: 20rem;
    color: rgba(201, 168, 76, 0.06);
    line-height: 1;
    pointer-events: none;
}

.main-quote {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quote-mark {
    display: block;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--gold);
    line-height: 0.5;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.main-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-style: italic;
    font-weight: 400;
    color: var(--ivory);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.main-quote cite {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
}

/* =============================================
   EMENTA
   ============================================= */
.ementa {
    padding: 8rem 0;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tabs */
.ementa-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3.5rem;
    border: 1px solid rgba(74, 82, 64, 0.2);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 0.8rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn + .tab-btn {
    border-left: 1px solid rgba(74, 82, 64, 0.2);
}

.tab-btn.active {
    background: var(--olive-dark);
    color: var(--ivory);
}

.tab-btn:hover:not(.active) {
    background: var(--ivory-dark);
    color: var(--olive-dark);
}

/* Tab Panels */
.tab-panel {
    display: none;
    animation: tabFadeIn 0.4s ease;
}

.tab-panel.active { display: block; }

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dishes Grid */
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dish-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.dish-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.dish-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.dish-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dish-card:hover .dish-img img { transform: scale(1.08); }

.dish-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.dish-card:hover .dish-overlay { opacity: 1; }

.dish-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--olive-dark);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
}

.dish-info {
    padding: 1.5rem;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.7rem;
}

.dish-header h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--olive-dark);
}

.dish-price {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-dark);
    white-space: nowrap;
}

.dish-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

.ementa-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--ivory-dark);
}

.ementa-cta p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* =============================================
   GALERIA
   ============================================= */
.galeria {
    padding: 4rem 0;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 4px;
    margin-top: 3rem;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-tall {
    grid-row: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 260px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    min-height: inherit;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 34, 24, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

.gallery-social {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--olive-dark);
}

.gallery-social p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.7);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: var(--white);
}

.social-btn.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.4);
}

.social-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.social-btn.facebook:hover {
    background: #0d5ebf;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* =============================================
   RESERVAS
   ============================================= */
.reservas {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservas-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            135deg,
            rgba(30, 34, 24, 0.97) 0%,
            rgba(46, 51, 40, 0.95) 100%
        ),
        url('https://sspark.genspark.ai/cfimages?u1=hKxFhpHeTiTVqqkkf25ZvqzrBvp85xTU%2FkAwvImdcoJBs%2BJmIM6sGhIR%2FGof3e%2FrJyyymp%2BWcNLaYVPibzrlNXjBO%2BQHvEERXpjvPWJyYxMNXw2US7HDNLafr7jG2DOdwnqO5mzD%2FXPJCGG4AyIxspEw7OMoFbK3yiy7Vny3i9jBH33OE4mn&u2=ulffNhPUjKwWjyvd&width=2560') center/cover no-repeat;
}

.reservas-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.reservas-text p {
    color: rgba(245, 240, 232, 0.75);
    font-size: 1.02rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.info-item > i {
    width: 40px;
    height: 40px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.info-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-item strong {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.info-item span {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.7);
}

/* Form */
.reservas-form-wrap {
    background: var(--cream);
    padding: 3rem;
}

.reservas-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid rgba(74, 82, 64, 0.2);
    border-radius: 0;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5240' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group textarea { resize: vertical; }

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--olive-dark);
    margin-bottom: 0.8rem;
}

.form-success p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =============================================
   CONTACTOS
   ============================================= */
.contactos {
    padding: 8rem 0;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactos-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mapa-placeholder {
    background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mapa-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://sspark.genspark.ai/cfimages?u1=Awik3DixjItDe4KzGQY2JMbjDe7xA8ryHJhh0Q4qqoghHNaiEddEU5h7r0PQFZ7LHVj62tQsQgWmG9IdUz9gyZPLjC5pInlbqOZPWEve4YNiQsvYuf8e7hB5aQfBtuPLWFYiSC%2BRW96Oqw%3D%3D&u2=3HQMPzkloELA%2FF8T&width=2560') center/cover;
    opacity: 0.25;
}

.mapa-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--ivory);
}

.mapa-inner > i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.mapa-inner > p {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mapa-inner > span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.contactos-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem;
    background: var(--white);
    border-left: 3px solid var(--gold);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive-dark);
    margin-bottom: 0.4rem;
}

.contact-text p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-text a {
    color: var(--olive);
    text-decoration: underline;
    text-decoration-color: transparent;
}

.contact-text a:hover {
    color: var(--gold-dark);
    text-decoration-color: var(--gold-dark);
}

.contact-social {
    display: flex;
    gap: 1rem;
    padding-top: 0.5rem;
}

.contact-social a {
    width: 44px;
    height: 44px;
    background: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--gold);
    color: var(--olive-dark);
    transform: translateY(-3px);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testemunhos {
    padding: 8rem 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .tc-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testimonial-card .tc-message {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-card .tc-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card .tc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--olive-dark);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-serif);
}

.testimonial-card .tc-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.testimonial-card .tc-date {
    font-size: 0.7rem;
    color: var(--text-light);
}

.testimonial-card .tc-quote {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.15;
    font-family: var(--font-serif);
    line-height: 1;
}

/* Testimonial Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-box h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--olive-dark);
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover { color: var(--text-dark); }

.star-rating {
    display: flex;
    gap: 0.25rem;
    font-size: 1.5rem;
}

.star-rating .star {
    color: var(--ivory-dark);
    cursor: pointer;
    transition: color 0.15s;
}

.star-rating .star.active {
    color: var(--gold);
}

.star-rating .star:hover {
    color: var(--gold-light);
}

/* =============================================
   SECTION DOT NAVIGATOR
   ============================================= */
.section-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(74, 82, 64, 0.3);
    border: 1px solid rgba(74, 82, 64, 0.4);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.section-dots .dot:hover {
    background: var(--gold-light);
    transform: scale(1.3);
}

.section-dots .dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.3);
}

.section-dots .dot::after {
    content: attr(data-label);
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--olive-dark);
    color: var(--ivory);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.section-dots .dot:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .section-dots { display: none; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--olive-dark);
    color: var(--ivory);
    padding: 4rem 0 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    opacity: 0.9;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: var(--ivory);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2.5rem;
}

.footer-links a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.6);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.footer-bottom {
    width: 100%;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(245, 240, 232, 0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(245, 240, 232, 0.4);
    letter-spacing: 0.05em;
}

.footer-est {
    font-family: var(--font-serif);
    font-style: italic;
    color: rgba(201, 168, 76, 0.4) !important;
    margin-top: 0.3rem;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--olive-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .sobre-grid { grid-template-columns: 1fr; gap: 4rem; }
    .sobre-image-col { max-width: 600px; margin: 0 auto; }
    .sobre-text-col { padding-left: 0; }
    .reservas-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contactos-grid { grid-template-columns: 1fr; }
    .mapa-placeholder { height: 300px; }
}

@media (max-width: 900px) {
    .dishes-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-large, .gallery-tall { grid-row: span 1; }
}

@media (max-width: 768px) {
    html { scroll-snap-type: none; }
    .nav-left, .nav-right { display: none; }
    .hamburger { display: flex; }

    .hero-logo { height: 130px; }

    .sobre { padding: 5rem 0; }
    .quote-section { padding: 5rem 0; }
    .ementa { padding: 5rem 0; }
    .galeria { padding: 5rem 0; }
    .reservas { padding: 5rem 0; }
    .contactos { padding: 5rem 0; }

    .ementa-tabs { flex-direction: column; width: 100%; max-width: 320px; }
    .tab-btn + .tab-btn { border-left: none; border-top: 1px solid rgba(74, 82, 64, 0.2); }

    .form-row { grid-template-columns: 1fr; }
    .reservas-form-wrap { padding: 2rem 1.5rem; }
    
    .dishes-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { min-height: 220px; }

    .sobre-badge-year { right: 0; bottom: -1rem; }
}

@media (max-width: 480px) {
    .hero-cta-group { flex-direction: column; gap: 1rem; }
    .btn { width: 100%; justify-content: center; }
    .nav-container { padding: 0 1.5rem; }
    .container { padding: 0 1.5rem; }
    .hero-logo { height: 100px; }
    .social-links { flex-direction: column; align-items: center; }
}
