/* ==========================================================================
   1. VARIÁVEIS & DESIGN SYSTEM (Inspirado na Fachada em Madeira)
   ========================================================================== */
:root {
    /* Cores extraídas do painel de madeira e letreiro da fachada */
    --wood-dark: #2A1810;       /* Madeira escurecida (Fundo principal/Hero) */
    --wood-medium: #3D2318;     /* Mogno / Ripado (Seções secundárias) */
    --wood-light: #5C3826;      /* Detalhes de borda em madeira */
    
    --gold-accent: #C8963E;     /* Tom dourado/areia do letreiro "CABELEIREIRO" */
    --gold-hover: #B08030;      /* Tom mais escuro para hover */
    
    --bg-main: #FDFBF7;         /* Fundo creme super suave (evita o branco ofuscante) */
    --bg-card: #FFFFFF;         /* Branco puro para destacar cards */
    --bg-cream: #F5EFEB;        /* Tom de areia bem claro para seções alternadas */
    
    --text-dark: #2A1810;       /* Texto principal (marrom café profundo) */
    --text-muted: #6E5A50;      /* Texto secundário */
    --text-light: #FDFBF7;      /* Texto sobre fundos escuros */

    /* Tipografia */
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Utilitários */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(42, 24, 16, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(42, 24, 16, 0.1);
    --radius: 12px;
}

/* Reset & Configurações Básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 88%;
    max-width: 1150px;
    margin: 0 auto;
}

/* ==========================================================================
   2. COMPONENTES & UTILITÁRIOS
   ========================================================================== */
.section { padding: 5.5rem 0; }
.section--wood { background-color: var(--wood-medium); color: var(--text-light); }
.section--cream { background-color: var(--bg-cream); }

.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-subtitle { 
    display: block;
    font-family: var(--font-serif);
    color: var(--gold-accent);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.3rem;
}
.section-title h2 { font-size: 2.5rem; color: var(--wood-dark); font-weight: 700; }
.section-title--light h2 { color: var(--text-light); }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0.5rem auto 0; }

.hidden { display: none !important; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn--primary { background-color: var(--gold-accent); color: var(--wood-dark); }
.btn--primary:hover { background-color: var(--gold-hover); transform: translateY(-2px); }

.btn--cta { background-color: #25D366; color: #fff; font-size: 1.05rem; padding: 1rem 2.2rem; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3); }
.btn--cta:hover { background-color: #1EBE5D; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }

.btn--outline { border-color: var(--text-light); color: var(--text-light); background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,0.1); }

.btn-link { color: var(--gold-accent); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.btn-link:hover { color: var(--gold-hover); margin-left: 5px; }

/* ==========================================================================
   3. BARRA DE TRADIÇÃO & CABEÇALHO
   ========================================================================== */
.top-bar {
    background-color: var(--wood-dark);
    color: var(--gold-accent);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(200, 150, 62, 0.2);
}
.top-bar__content { display: flex; justify-content: space-between; font-weight: 600; }

.header {
    background-color: rgba(42, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo { 
    font-family: var(--font-serif);
    color: var(--text-light); 
    text-decoration: none; 
    font-size: 1.8rem; 
    font-weight: 600;
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo__sub {
    font-family: var(--font-main);
    color: var(--gold-accent);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link { color: var(--text-light); text-decoration: none; font-weight: 400; transition: var(--transition); }
.nav-link:hover { color: var(--gold-accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 26px; height: 3px; background-color: var(--gold-accent); transition: var(--transition);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
}
.hero__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente que remete ao tom de madeira escura da fachada */
    background: linear-gradient(135deg, rgba(42, 24, 16, 0.92) 0%, rgba(61, 35, 24, 0.85) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 650px; padding: 3rem 0; }
.badge-tradition {
    display: inline-block;
    background: rgba(200, 150, 62, 0.2);
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.hero__content h1 { font-family: var(--font-serif); font-size: 3.2rem; line-height: 1.15; margin-bottom: 1.2rem; }
.hero__content p { font-size: 1.15rem; color: #E2D6CF; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   5. SOBRE NÓS
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__image-wrap { position: relative; }
.about__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.about__experience {
    position: absolute; bottom: -20px; right: -20px;
    background-color: var(--wood-dark); color: var(--gold-accent);
    padding: 1.5rem; border-radius: var(--radius);
    border: 2px solid var(--gold-accent);
    display: flex; align-items: center; gap: 0.8rem;
    box-shadow: var(--shadow-md);
}
.exp-number { font-size: 2.5rem; font-weight: 700; font-family: var(--font-serif); line-height: 1; }
.exp-text { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); }
.about__text h2 { font-size: 2.2rem; color: var(--wood-dark); margin-bottom: 1.2rem; }
.about__text p { color: var(--text-muted); margin-bottom: 1rem; }

/* ==========================================================================
   6. SERVIÇOS & FILTROS
   ========================================================================== */
.filter-buttons { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.btn-filter {
    padding: 0.7rem 1.8rem;
    border: 2px solid var(--gold-accent);
    background: transparent;
    color: var(--text-light);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}
.btn-filter.active, .btn-filter:hover { background: var(--gold-accent); color: var(--wood-dark); }

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 150, 62, 0.3);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08); border-color: var(--gold-accent); }
.service-card__header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.8rem; border-bottom: 1px dashed rgba(200, 150, 62, 0.3); padding-bottom: 0.8rem; }
.service-card h3 { font-size: 1.3rem; color: var(--text-light); font-weight: 600; }
.service-price { font-size: 1.4rem; font-weight: 700; color: var(--gold-accent); }
.service-desc { color: #D0C4BD; font-size: 0.95rem; }

/* ==========================================================================
   7. BOUTIQUE / CURADORIA DO VINI
   ========================================================================== */
.store__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.store-card {
    background: var(--bg-card);
    padding: 2.2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 24, 16, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.store-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-accent); }
.store-card::top { content: ''; position: absolute; top:0; left:0; width: 100%; height: 4px; background: var(--gold-accent); }
.store-card__tag {
    align-self: flex-start;
    background-color: var(--bg-cream);
    color: var(--wood-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(42, 24, 16, 0.1);
}
.store-card h3 { color: var(--wood-dark); font-size: 1.3rem; margin-bottom: 0.8rem; }
.store-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.8rem; }
.store-card__footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #EEEEEE; padding-top: 1.2rem; }
.store-price { font-weight: 700; color: var(--wood-dark); font-size: 1.1rem; }

/* ==========================================================================
   8. GALERIA
   ========================================================================== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.08); }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer { background-color: var(--wood-dark); color: #C4B6AF; padding: 4.5rem 0 2rem; border-top: 4px solid var(--gold-accent); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer__brand h3 { color: var(--text-light); font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 0.5rem; }
.footer__brand span { color: var(--gold-accent); }
.footer h4 { color: var(--gold-accent); margin-bottom: 1.2rem; font-size: 1.1rem; }
.footer p { margin-bottom: 0.5rem; }
.footer-note { font-size: 0.85rem; color: #8A7A72; font-style: italic; }
.footer-whatsapp { display: inline-block; color: #25D366; text-decoration: none; font-weight: 600; margin-top: 0.5rem; transition: var(--transition); }
.footer-whatsapp:hover { color: #1EBE5D; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; font-size: 0.85rem; text-align: center; color: #8A7A72; }

/* ==========================================================================
   10. RESPONSIVIDADE (MOBILE FIRST / ADAPTAÇÕES)
   ========================================================================== */
@media (max-width: 850px) {
    .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about__experience { right: 10px; bottom: -10px; }
    .hero__content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .top-bar__content { flex-direction: column; text-align: center; gap: 0.3rem; }
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--wood-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        padding: 2rem;
    }
    .nav-menu.active { left: 0; }
    .nav-link { font-size: 1.3rem; }
    
    /* Animação Hamburger para 'X' */
    .nav-toggle.active .hamburger { background-color: transparent; }
    .nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
    .nav-toggle.active .hamburger::after { transform: rotate(-45deg); bottom: 0; }
    
    .filter-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto 2.5rem; }
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}