:root {
    --primary: #6b1c23;
    --primary-dark: #4a1218;
    --primary-light: #8b2a33;
    --gold: #c9a45c;
    --gold-light: #d4b872;
    --gold-dark: #a3843e;
    --dark: #1a0f10;
    --dark-light: #2c181c;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d4;
    --white: #ffffff;
    --gray: #8a7a72;
    --text: #f5f0e8;
    --text-muted: #c4b8ab;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25);
    --radius: 18px;
    --radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 15, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 164, 92, 0.12);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 15, 16, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 56px;
}

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: var(--radius-sm);
    z-index: 1001;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(201, 164, 92, 0.1);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

.main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 15, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: var(--transition);
}

.main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

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

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 76px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 15, 16, 0.7) 0%, rgba(26, 15, 16, 0.85) 60%, rgba(26, 15, 16, 1) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 120px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 20px;
    padding: 8px 18px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    background: rgba(107, 28, 35, 0.4);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--gold);
    font-style: italic;
}

.hero-text {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(107, 28, 35, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(107, 28, 35, 0.5);
    border-color: var(--gold);
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll a {
    display: block;
    width: 32px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    position: relative;
}

.hero-scroll a span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 10px;
    background: var(--gold);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--dark);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--dark-light);
    border: 1px solid rgba(201, 164, 92, 0.15);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 28, 35, 0.3);
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

/* Menu */
.menu {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 50%, var(--dark) 100%);
}

.menu-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(201, 164, 92, 0.08);
    border: 1px solid rgba(201, 164, 92, 0.2);
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 164, 92, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(107, 28, 35, 0.4);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.menu-card {
    background: var(--dark-light);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(201, 164, 92, 0.12);
    transition: var(--transition);
    opacity: 1;
    transform: scale(1);
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-card);
}

.menu-card.hidden {
    display: none;
}

.menu-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--primary-dark);
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.menu-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.7;
}

.menu-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.menu-badge.badge-doces {
    background: linear-gradient(135deg, #8b4a5e 0%, #b86b7e 100%);
}

.menu-badge.badge-salgados {
    background: linear-gradient(135deg, #6b5a1c 0%, #9a8332 100%);
}

.menu-badge.badge-quentes {
    background: linear-gradient(135deg, #6b4a1c 0%, #9a6b32 100%);
}

.menu-badge.badge-sucos {
    background: linear-gradient(135deg, #1c6b4a 0%, #32a374 100%);
}

.menu-badge.badge-geladas {
    background: linear-gradient(135deg, #1c4a6b 0%, #3283a3 100%);
}

.menu-badge.badge-acai {
    background: linear-gradient(135deg, #4a1c6b 0%, #7432a3 100%);
}

.menu-badge.badge-bolos {
    background: linear-gradient(135deg, #8b4a1c 0%, #b86b32 100%);
}

.menu-badge.badge-bomboniere {
    background: linear-gradient(135deg, #6b1c4a 0%, #a33274 100%);
}

.menu-info {
    padding: 22px;
}

.menu-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 8px;
}

.menu-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold);
}

.menu-note {
    text-align: center;
    margin-top: 40px;
    color: var(--gray);
    font-size: 0.85rem;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 164, 92, 0.08) 0%, transparent 70%);
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

/* Location */
.location {
    padding: 80px 0;
    background: var(--dark);
}

.location-map {
    width: 100%;
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(201, 164, 92, 0.15);
    box-shadow: var(--shadow-card);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%) contrast(1.1);
}

.location-info {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.location-info strong {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 4px;
}

.location-actions {
    text-align: center;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: var(--dark-light);
    padding: 60px 0 24px;
    border-top: 1px solid rgba(201, 164, 92, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 18px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 164, 92, 0.08);
    border: 1px solid rgba(201, 164, 92, 0.2);
    color: var(--text);
    transition: var(--transition);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    transform: translateY(-4px);
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 164, 92, 0.15);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: var(--white);
    border-color: transparent;
}

.social-link.facebook:hover {
    background: #1877f2;
    color: var(--white);
    border-color: transparent;
}

.social-link.tiktok:hover {
    background: #000000;
    color: var(--white);
    border-color: transparent;
}

.social-link.maps:hover {
    background: #ea4335;
    color: var(--white);
    border-color: transparent;
}

.social-link.ifood:hover {
    background: #ea1d2c;
    color: var(--white);
    border-color: transparent;
}

.footer-bottom {
    border-top: 1px solid rgba(201, 164, 92, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer-bottom .credit {
    color: var(--gold);
    opacity: 0.8;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(107, 28, 35, 0.5);
    border: 2px solid var(--gold);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(107, 28, 35, 0.6);
}

.floating-cta svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
    }

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

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

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        backdrop-filter: none;
    }

    .nav-list {
        flex-direction: row;
        gap: 32px;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
    }

    .location-map {
        height: 420px;
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero .container {
        padding-bottom: 80px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
