/* ===== VARIÁVEIS GLOBAIS (Cores, Fontes e Bordas) ===== */
:root {
    /* Paleta Tech/Dark (Groove Setup) */
    --clr-bg: #0d1117;           
    --clr-surface: #161b22;      
    --clr-card: #21262d;         
    --clr-text: #f0f6fc;         
    --clr-text-muted: #8b949e;   
    --clr-accent: #FF6B35;       
    --clr-accent-light: #3d2419; 
    --clr-accent-dark: #e0531f;  
    --clr-border: #30363d;       
    --clr-nav-bg: rgba(13, 17, 23, 0.92);

    /* Arredondamento de Bordas (Border-Radius) */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Fontes e Sombras */
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: 0.3s ease;
}

[data-theme="light"] {
    --clr-bg: #f8f9fa;
    --clr-surface: #ffffff;
    --clr-card: #ffffff;
    --clr-text: #212529;
    --clr-text-muted: #6c757d;
    --clr-border: #dee2e6;
    --clr-nav-bg: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.65;
    transition: background-color 0.35s ease, color 0.35s ease;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

/* ===== TIPOGRAFIA ===== */
h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--clr-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
em { font-style: italic; color: var(--clr-accent); }

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #fff;
    border-color: var(--clr-accent);
}

.btn-primary:hover {
    background-color: var(--clr-accent-dark);
    border-color: var(--clr-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 97, 74, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-text);
    border-color: var(--clr-border);
}

.btn-outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    backdrop-filter: blur(12px);
    background-color: var(--clr-nav-bg);
    border-bottom: 1px solid var(--clr-border);
    transition: background-color 0.35s ease, box-shadow 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--clr-accent);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--clr-accent); }
.nav-links a:hover::after { width: 100%; }

.theme-toggle {
    background: var(--clr-accent-light);
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition), transform var(--transition);
}

.theme-toggle:hover {
    transform: rotate(20deg);
    background: var(--clr-accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background-color: var(--clr-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO (Banner Principal) ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    min-height: 100vh;
    padding: 120px 48px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content { flex: 1; max-width: 560px; }

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: var(--clr-accent-light);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title { margin-bottom: 20px; }
.hero-sub {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-img-wrap { position: relative; max-width: 480px; width: 100%; }

/* AQUI ESTÁ A SUA IMAGEM ARREDONDADA */
.hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg); /* Aplica o arredondamento de 24px */
    box-shadow: var(--shadow-card);
    animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-badge {
    position: absolute;
    bottom: 24px; left: -20px;
    background: var(--clr-card);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-card);
    display: flex; flex-direction: column; align-items: center;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    border: 1px solid var(--clr-border);
    animation: fadeInLeft 0.8s 0.4s both;
}

.hero-badge strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--clr-accent);
    line-height: 1;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== HIGHLIGHTS (Destaques) ===== */
.highlights {
    display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
    padding: 0 48px 80px; max-width: 1200px; margin: 0 auto;
}

.highlight-card {
    flex: 1; min-width: 200px; max-width: 320px;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 32px 28px; text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.highlight-icon { display: block; font-size: 2.5rem; margin-bottom: 14px; }
.highlight-card h3 { margin-bottom: 8px; color: var(--clr-accent); }
.highlight-card p { font-size: 0.9rem; color: var(--clr-text-muted); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
    display: inline-block; font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--clr-accent); margin-bottom: 10px;
}
.section-sub {
    font-size: 1rem; color: var(--clr-text-muted);
    max-width: 480px; margin: 10px auto 0;
}

/* ===== CATEGORIAS (Grid) ===== */
.cardapio {
    background-color: var(--clr-surface);
    padding: 80px 48px;
}

.cardapio > .section-header, .cardapio-grid {
    max-width: 1200px; margin-left: auto; margin-right: auto;
}

.cardapio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.produto-card {
    background: var(--clr-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.produto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.produto-img-wrap { overflow: hidden; height: 220px; margin: 0; }
.produto-img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* Faz a imagem caber inteira sem cortar */
    padding: 20px; /* Dá um respiro em volta do equipamento */
    transition: transform 0.5s ease;
}

.produto-card:hover .produto-img { transform: scale(1.05); }

.produto-info { padding: 20px; }
.produto-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--clr-accent); background: var(--clr-accent-light);
    padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
}

.produto-nome { margin-bottom: 6px; }
.produto-desc { font-size: 0.88rem; color: var(--clr-text-muted); margin-bottom: 12px; }
.produto-preco { font-size: 0.9rem; color: var(--clr-text); }
.produto-preco strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--clr-accent); }

/* ===== SOBRE (Flexbox) ===== */
.sobre {
    display: flex; align-items: center; gap: 64px;
    padding: 80px 48px; max-width: 1200px; margin: 0 auto;
}

.sobre-img-col { flex: 1; max-width: 480px; }
.sobre-img {
    width: 100%; height: 480px; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}

.sobre-text-col { flex: 1; }
.sobre-text-col h2 { margin: 10px 0 20px; }
.sobre-text-col p { color: var(--clr-text-muted); margin-bottom: 14px; font-size: 0.97rem; }
.sobre-lista { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.sobre-lista li { font-size: 0.9rem; font-weight: 500; color: var(--clr-text); }

/* ===== RODAPÉ ===== */
.site-footer {
    background: var(--clr-card);
    border-top: 1px solid var(--clr-border);
    padding: 40px 48px; text-align: center;
}

.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 6px;
}

.footer-brand { font-family: var(--font-display); font-size: 1.4rem; }
.footer-info { font-size: 0.82rem; color: var(--clr-text-muted); }
.footer-copy { font-size: 0.8rem; color: var(--clr-text-muted); opacity: 0.7; }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding: 100px 24px 60px; min-height: auto; }
    .hero-content { max-width: 100%; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-img { height: 380px; max-width: 420px; margin: 0 auto; }
    .hero-badge { left: 0; }
    .sobre { flex-direction: column; padding: 60px 24px; }
    .sobre-img-col { max-width: 100%; }
    .sobre-img { height: 320px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 70px; left: 0; width: 100%;
        background: var(--clr-nav-bg); backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--clr-border);
        padding: 20px 24px; gap: 16px;
    }
    .nav-links.open { display: flex; }
    .menu-toggle { display: flex; }
    .highlights, .cardapio { padding: 60px 24px; }
}

@media (max-width: 480px) {
    .hero-img { height: 280px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .btn { padding: 12px 20px; font-size: 0.88rem; }
}