/* ========================================
   VARIÁVEIS & RESET
======================================== */

:root {
     /* Paleta sofisticada */
     --bg: #faf8f5;
     --bg-dark: #1a1410;
     --text: #2a1810;
     --text-light: #6b5546;
     --text-lighter: #9b8578;

     /* Cores de marca */
     --primary: #c17a4f;
     --primary-dark: #9d5f3d;
     --primary-light: #d9926e;

     /* Accent */
     --accent: #e8dcc8;
     --cream: #f5efe6;
     --gold: #d4a574;

     /* Sombras modernas */
     --shadow-sm: 0 2px 8px rgba(42, 24, 16, 0.08);
     --shadow-md: 0 8px 24px rgba(42, 24, 16, 0.12);
     --shadow-lg: 0 16px 48px rgba(42, 24, 16, 0.16);
     --shadow-xl: 0 24px 64px rgba(42, 24, 16, 0.2);

     /* Tipografia */
     --font-display: 'Playfair Display', serif;
     --font-body: 'Inter', sans-serif;

     /* Espaçamento */
     --spacing-xs: 0.5rem;
     --spacing-sm: 1rem;
     --spacing-md: 2rem;
     --spacing-lg: 4rem;
     --spacing-xl: 6rem;

     /* Animação */
     --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
     scroll-behavior: smooth;
}

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

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

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

/* ========================================
   NAVBAR
======================================== */

header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     background: rgba(250, 248, 245, 0.95);
     backdrop-filter: blur(12px);
     border-bottom: 1px solid rgba(42, 24, 16, 0.08);
     transition: var(--transition-fast);
}

nav {
     max-width: 1400px;
     margin: 0 auto;
     padding: 1.2rem 3rem;
     display: flex;
     justify-content: space-between;
     align-items: center;
}

.nav-logo {
     display: flex;
     align-items: center;
     gap: 0.75rem;
}

.nav-logo img {
     width: 40px;
     height: 40px;
     transition: var(--transition);
}

.nav-logo:hover img {
     transform: rotate(360deg);
}

.logo-text {
     font-family: var(--font-display);
     font-size: 1.5rem;
     font-weight: 900;
     color: var(--primary);
     letter-spacing: -0.5px;
}

.nav-links {
     display: flex;
     gap: 2.5rem;
     align-items: center;
}

.nav-links a {
     font-weight: 500;
     font-size: 0.95rem;
     color: var(--text);
     position: relative;
     transition: var(--transition-fast);
}

.nav-links a::after {
     content: '';
     position: absolute;
     bottom: -4px;
     left: 0;
     width: 0;
     height: 2px;
     background: var(--primary);
     transition: var(--transition-fast);
}

.nav-links a:hover {
     color: var(--primary);
}

.nav-links a:hover::after {
     width: 100%;
}

/* ========================================
   HERO SECTION
======================================== */

main {
     padding-top: 80px;
}

#hero {
     min-height: 90vh;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 4rem;
     align-items: center;
     max-width: 1400px;
     margin: 0 auto;
     padding: 4rem 3rem;
}

.hero-content {
     display: flex;
     flex-direction: column;
     gap: 2rem;
}

.hero-title {
     font-family: var(--font-display);
     font-size: clamp(3rem, 6vw, 5rem);
     font-weight: 900;
     line-height: 1.1;
     color: var(--bg-dark);
     letter-spacing: -2px;
}

.hero-subtitle {
     font-size: 1.25rem;
     color: var(--text-light);
     max-width: 500px;
     line-height: 1.6;
}

.hero-cta {
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
     margin-top: 1rem;
}

.btn-primary {
     display: inline-flex;
     align-items: center;
     gap: 0.75rem;
     padding: 1rem 2rem;
     background: var(--primary);
     color: white;
     font-weight: 600;
     border-radius: 50px;
     transition: var(--transition);
     box-shadow: var(--shadow-md);
}

.btn-primary:hover {
     background: var(--primary-dark);
     transform: translateY(-2px);
     box-shadow: var(--shadow-lg);
}

.btn-secondary {
     display: inline-flex;
     align-items: center;
     gap: 0.75rem;
     padding: 1rem 2rem;
     background: white;
     color: var(--text);
     font-weight: 600;
     border-radius: 50px;
     border: 2px solid var(--accent);
     transition: var(--transition);
}

.btn-secondary:hover {
     border-color: var(--primary);
     color: var(--primary);
     transform: translateY(-2px);
     box-shadow: var(--shadow-sm);
}

.hero-image {
     position: relative;
}

.hero-image img {
     width: 100%;
     height: 600px;
     object-fit: cover;
     border-radius: 24px;
     box-shadow: var(--shadow-xl);
}

/* ========================================
   SECTIONS
======================================== */

section {
     max-width: 1400px;
     margin: 0 auto;
     padding: var(--spacing-xl) 3rem;
}

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

.section-label {
     display: inline-block;
     font-size: 0.85rem;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 2px;
     color: var(--primary);
     margin-bottom: 1rem;
}

.section-header h2 {
     font-family: var(--font-display);
     font-size: clamp(2.5rem, 5vw, 4rem);
     font-weight: 900;
     line-height: 1.2;
     color: var(--bg-dark);
     letter-spacing: -1px;
}

/* ========================================
   SOBRE - CARDS
======================================== */

.about-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 2rem;
     margin-bottom: 4rem;
}

.about-card {
     background: white;
     padding: 2.5rem;
     border-radius: 20px;
     box-shadow: var(--shadow-sm);
     transition: var(--transition);
     border: 1px solid rgba(42, 24, 16, 0.06);
}

.about-card:hover {
     transform: translateY(-8px);
     box-shadow: var(--shadow-lg);
}

.card-icon {
     width: 56px;
     height: 56px;
     margin-bottom: 1.5rem;
     filter: invert(54%) sepia(41%) saturate(599%) hue-rotate(334deg) brightness(92%) contrast(88%);
}

.about-card h3 {
     font-family: var(--font-display);
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: var(--bg-dark);
}

.about-card p {
     color: var(--text-light);
     line-height: 1.7;
}

/* ========================================
   SOBRE - INFO
======================================== */

.about-info {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 3rem;
     align-items: center;
     background: var(--cream);
     padding: 3rem;
     border-radius: 24px;
}

.about-info img {
     width: 100%;
     height: 400px;
     object-fit: cover;
     border-radius: 16px;
     box-shadow: var(--shadow-md);
}

.info-content h3 {
     font-family: var(--font-display);
     font-size: 2rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     color: var(--bg-dark);
}

.info-content p {
     color: var(--text-light);
     margin-bottom: 1rem;
     line-height: 1.8;
}

.info-hours {
     display: flex;
     gap: 1rem;
     align-items: flex-start;
     margin-top: 2rem;
     padding: 1.5rem;
     background: white;
     border-radius: 12px;
     border-left: 4px solid var(--primary);
}

.info-hours .icon {
     width: 24px;
     height: 24px;
     filter: invert(54%) sepia(41%) saturate(599%) hue-rotate(334deg) brightness(92%) contrast(88%);
     flex-shrink: 0;
}

/* ========================================
   CARDÁPIO
======================================== */

.menu-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     gap: 2rem;
     margin-bottom: 3rem;
}

.menu-category {
     background: white;
     padding: 2.5rem;
     border-radius: 20px;
     box-shadow: var(--shadow-sm);
     border: 1px solid rgba(42, 24, 16, 0.06);
     transition: var(--transition);
}

.menu-category:hover {
     box-shadow: var(--shadow-md);
}

.category-header {
     display: flex;
     align-items: center;
     gap: 1rem;
     margin-bottom: 1rem;
}

.category-icon {
     width: 40px;
     height: 40px;
     filter: invert(54%) sepia(41%) saturate(599%) hue-rotate(334deg) brightness(92%) contrast(88%);
}

.category-header h3 {
     font-family: var(--font-display);
     font-size: 1.75rem;
     font-weight: 700;
     color: var(--bg-dark);
}

.category-desc {
     color: var(--text-lighter);
     margin-bottom: 2rem;
     line-height: 1.6;
}

.menu-items {
     list-style: none;
}

.menu-items li {
     display: flex;
     justify-content: space-between;
     gap: 1rem;
     padding: 1.25rem 0;
     border-bottom: 1px solid var(--accent);
}

.menu-items li:last-child {
     border-bottom: none;
}

.menu-items strong {
     display: block;
     font-weight: 600;
     color: var(--text);
     margin-bottom: 0.25rem;
}

.item-desc {
     display: block;
     font-size: 0.9rem;
     color: var(--text-lighter);
}

.price {
     font-weight: 700;
     font-size: 1.1rem;
     color: var(--primary);
     flex-shrink: 0;
}

.menu-cta {
     text-align: center;
}

/* ========================================
   CONTATO
======================================== */

.contact-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 3rem;
     align-items: start;
}

.contact-info img {
     width: 100%;
     height: 500px;
     object-fit: cover;
     border-radius: 20px;
     box-shadow: var(--shadow-lg);
     margin-bottom: 1.5rem;
}

.contact-info p {
     color: var(--text-light);
     line-height: 1.8;
     font-size: 1.1rem;
}

.contact-links {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
}

.contact-link {
     display: flex;
     align-items: center;
     gap: 1.5rem;
     padding: 1.75rem;
     background: white;
     border-radius: 16px;
     border: 1px solid rgba(42, 24, 16, 0.06);
     transition: var(--transition);
     box-shadow: var(--shadow-sm);
}

.contact-link:not(.address):hover {
     transform: translateX(8px);
     box-shadow: var(--shadow-md);
     border-color: var(--primary);
}

.contact-link .icon {
     width: 32px;
     height: 32px;
     flex-shrink: 0;
}

.contact-link strong {
     display: block;
     font-weight: 600;
     color: var(--text);
     margin-bottom: 0.25rem;
}

.contact-link span {
     display: block;
     color: var(--text-light);
     font-size: 0.95rem;
}

.contact-link.address {
     cursor: default;
     background: var(--cream);
}

/* ========================================
   FOOTER
======================================== */

footer {
     background: var(--bg-dark);
     color: white;
     padding: 3rem 3rem 2rem;
     margin-top: 6rem;
}

.footer-content {
     max-width: 1400px;
     margin: 0 auto;
     text-align: center;
}

.footer-brand {
     display: inline-flex;
     align-items: center;
     gap: 0.75rem;
     margin-bottom: 1.5rem;
}

.footer-brand img {
     width: 36px;
     height: 36px;
     filter: brightness(0) invert(1);
}

.footer-brand span {
     font-family: var(--font-display);
     font-size: 1.5rem;
     font-weight: 900;
}

footer p {
     color: rgba(255, 255, 255, 0.7);
     margin: 0.5rem 0;
}

.footer-legal {
     font-size: 0.85rem;
     margin-top: 1rem;
}

/* ========================================
   SCROLL TO TOP
======================================== */

.scroll-top {
     position: fixed;
     bottom: 2rem;
     right: 2rem;
     width: 56px;
     height: 56px;
     background: var(--primary);
     border: none;
     border-radius: 50%;
     color: white;
     cursor: pointer;
     display: none;
     align-items: center;
     justify-content: center;
     box-shadow: var(--shadow-lg);
     transition: var(--transition);
     z-index: 999;
}

.scroll-top.visible {
     display: flex;
}

.scroll-top:hover {
     background: var(--primary-dark);
     transform: translateY(-4px);
}

.scroll-top svg {
     width: 24px;
     height: 24px;
}

/* ========================================
   ICONS
======================================== */

.icon {
     width: 24px;
     height: 24px;
     object-fit: contain;
     flex-shrink: 0;
}

.btn-primary .icon {
     filter: brightness(0) invert(1);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1024px) {
     nav {
          padding: 1rem 2rem;
     }

     section {
          padding: var(--spacing-lg) 2rem;
     }

     #hero {
          grid-template-columns: 1fr;
          min-height: auto;
          padding: 3rem 2rem;
     }

     .hero-image img {
          height: 400px;
     }

     .about-info {
          grid-template-columns: 1fr;
     }

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

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

@media (max-width: 768px) {
     nav {
          flex-direction: column;
          gap: 1rem;
          padding: 1rem;
     }

     .nav-links {
          gap: 1.5rem;
     }

     .hero-title {
          font-size: 2.5rem;
     }

     .hero-subtitle {
          font-size: 1.1rem;
     }

     .section-header h2 {
          font-size: 2rem;
     }

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

     .hero-cta {
          flex-direction: column;
          width: 100%;
     }

     .btn-primary,
     .btn-secondary {
          width: 100%;
          justify-content: center;
     }
}

@media (max-width: 480px) {
     section {
          padding: var(--spacing-md) 1rem;
     }

     .hero-title {
          font-size: 2rem;
     }

     .about-card,
     .menu-category {
          padding: 1.5rem;
     }

     .contact-link {
          padding: 1.25rem;
     }

     .scroll-top {
          width: 48px;
          height: 48px;
          bottom: 1rem;
          right: 1rem;
     }
}