:root {
    --color-primary: #b8860b; /* Dourado mais escuro para contraste no branco */
    --color-secondary: #f8f9fa; /* Cinza bem claro */
    --color-bg-light: #ffffff; /* Branco */
    --color-text: #1a1a1a; /* Texto quase preto */
    --color-text-muted: #666666; /* Texto auxiliar */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
    
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Configuração Base (Reset) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* --- ⚡ EFEITO: Scroll Suave (Lenis) --- */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
/* --- ⚡ NOVO: Banner de Demonstração --- */
.top-bar {
    background-color: var(--color-primary);
    color: #000;
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 2000;
    width: 100%;
}
.top-bar p { margin: 0; }

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

/* --- Utilidades --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
section { padding: 120px 0; }
.text-center { text-align: center; }
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
h2 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}
.section-subtitle {
    max-width: 600px;
    margin: -2rem auto 4rem auto;
    color: var(--color-text-muted);
    text-align: center;
}

/* Detalhe dourado abaixo dos títulos */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 20px auto 0;
    border-radius: 3px;
}

h3 { font-size: 1.5rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
p { font-weight: 300; font-size: 1.1rem; }

/* --- Botão CTA --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #000;
    padding: 16px 36px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: 1px solid var(--color-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-text);
    z-index: -1;
    transition: var(--transition);
}
.btn:hover::before {
    width: 100%;
}
.btn:hover {
    color: #fff;
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
    border-color: var(--color-text);
}

/* --- Header / Navbar --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
header.scrolled {
    padding: 16px 0;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--color-text);
    z-index: 1001;
    font-weight: 700;
    letter-spacing: -1px;
}
.logo span { color: var(--color-primary); }

/* Desktop Nav */
.desktop-nav { display: flex; align-items: center; }
.desktop-nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.desktop-nav ul li { margin: 0 20px; }
.desktop-nav ul li a {
    color: rgba(0,0,0,0.7);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.desktop-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}
.desktop-nav ul li a:hover:after { width: 100%; }
.desktop-nav ul li a:hover { color: var(--color-text); }
.btn-cta-header {
    padding: 12px 24px;
    font-size: 0.8rem;
    margin-left: 30px;
}

/* --- ⚡ MOBILE: Menu Hamburger --- */
.hamburger-menu {
    display: none; /* Oculto no desktop */
    z-index: 1001;
    background: none;
    border: none;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
}
.hamburger-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-text);
    border-radius: 0;
    opacity: 1;
    left: 0;
    transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}
.hamburger-menu span:nth-child(1) { top: 0px; }
.hamburger-menu span:nth-child(2) { top: 10px; width: 70%; margin-left: auto; } /* Estilo diferenciado */
.hamburger-menu span:nth-child(3) { top: 20px; }

.hamburger-menu.is-active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.hamburger-menu.is-active span:nth-child(2) { opacity: 0; width: 100%; }
.hamburger-menu.is-active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ⚡ MOBILE: Nav Overlay */
.mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-light);
    z-index: 1000;
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-nav.is-active { right: 0; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav ul li { margin: 20px 0; overflow: hidden; }
.mobile-nav ul li a {
    display: block;
    color: var(--color-text);
    text-decoration: none;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    transition: var(--transition);
    transform: translateY(100%); /* Preparado para animação */
}
.mobile-nav.is-active ul li a {
    transform: translateY(0);
    transition-delay: 0.2s;
}
.mobile-nav ul li a:hover { color: var(--color-primary); font-style: italic; }

/* --- Seção Hero (Início) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text);
    padding: 0 20px;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.8)), 
                url('./assets/img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-content { max-width: 900px; z-index: 2; }
.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.1;
}
#hero-h1 .word {
    display: inline-block;
    vertical-align: top; /* Correção para alinhamento */
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-weight: 300;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Seção Sobre --- */
#about {
    background-color: var(--color-secondary);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 0; /* Mais moderno */
    box-shadow: var(--shadow);
    filter: none;
}
.about-content h3 { color: var(--color-primary); }
.about-content p {
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}



/* --- Seção Serviços --- */
#services {
     background-color: var(--color-bg-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.service-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover { 
    border-color: var(--color-primary); 
    box-shadow: var(--shadow);
}
.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}
.service-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.service-card-content { padding: 40px; flex-grow: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.5rem; text-transform: none; color: var(--color-text); margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; margin-bottom: 2rem; color: var(--color-text-muted); flex-grow: 1; }
.service-price { 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: var(--color-primary); 
    font-family: var(--font-heading);
}

#ambiance {
    padding: 0;
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ambiance-content {
    position: relative;
    z-index: 5;
    text-align: center;
}
#ambiance h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: #fff;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.ambiance-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}
.ambianceSwiper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.ambianceSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px);
    transform: scale(1.1); /* Compensa o blur nas bordas */
}

/* --- Seção Time (Barbeiros) --- */
#testimonials {
    background-color: var(--color-bg-light);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.testimonial-card {
    background: #fff;
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow);
    text-align: center;
}
.testimonial-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: block;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--color-text);
}
.client-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-text);
}
.client-info span {
    font-size: 0.9rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.team-member {
    text-align: center;
    position: relative;
}
.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}
.team-member:hover img {
    filter: grayscale(0%);
    transform: translateY(-10px);
}
.team-member h4 { font-size: 1.5rem; color: var(--color-text); margin-bottom: 0.5rem; }
.team-member p { font-size: 0.9rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: 2px; }

/* --- ⚡ NOVA SEÇÃO: Agendamento --- */
#agendamento {
    background-color: var(--color-bg-light);
}
.agendamento-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.agendamento-container p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}


/* --- ⚡ NOVA SEÇÃO: Dicas (Blog) --- */
#faq {
    background-color: var(--color-secondary);
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.05);
}
.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}
.faq-icon {
    font-size: 0.9rem;
    color: var(--color-primary);
    transition: transform 0.4s ease;
}
.faq-answer {
    height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}
.faq-answer p {
    padding: 0 30px 25px 30px;
    margin: 0;
    color: var(--color-text-muted);
}
.faq-item.is-active .faq-icon {
    transform: rotate(45deg);
}

/* --- ⚡ NOVA SEÇÃO: Produtos --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.product-card {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}
.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 20px;
    background-color: #fcfcfc;
}
.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--color-text);
}
.product-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.gallery-btn-container {
    margin-top: 40px;
}

#gallery {
     background-color: var(--color-bg-light);
}
.dicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.dica-card {
    display: block;
    background-color: transparent;
    border: none;
    text-decoration: none;
}
.dica-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    transition: var(--transition);
}
.dica-card:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}
.dica-card-content span {
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
.dica-card-content h4 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-top: 0.5rem;
    color: var(--color-text);
    transition: var(--transition);
}
.dica-card:hover h4 { color: var(--color-primary); }



.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}
.location-info h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.location-info p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.location-info i {
    color: var(--color-primary);
    margin-right: 15px;
}

/* --- Seção CTA Final --- */
#cta {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.9)), 
                url('https://images.unsplash.com/photo-1549226312-6e1b0c0f33b1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 150px 0;
}
#cta h2 { font-size: clamp(3rem, 6vw, 5rem); color: var(--color-text); margin-bottom: 1.5rem; }
#cta p {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

/* --- Rodapé Profissional --- */
footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
footer .logo {
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}
footer .logo span {
    color: #c5a46d;
}
.footer-col h4 {
    color: #c5a46d;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col p {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: #c5a46d;
}
.footer-socials a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 20px;
    transition: var(--transition);
}
.footer-socials a:hover {
    color: #c5a46d;
    transform: translateY(-3px);
}
.footer-bottom {
    background-color: #0c0c0c;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p {
    font-size: 0.9rem;
    color: #666;
}
.footer-bottom a {
    color: #c5a46d;
    text-decoration: none;
}

/* --- ⚡ RESPONSIVIDADE MOBILE --- */
@media (max-width: 900px) {
    .about-grid, .location-grid, .experience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image, .location-map { height: auto; aspect-ratio: 4/3; }
    
    /* Reordenação visual */
    .about-grid { display: flex; flex-direction: column-reverse; }
    
    h2 { font-size: 2.5rem; margin-bottom: 2rem; }
    section { padding: 60px 0; }
    
    .hero, #ambiance { background-attachment: scroll !important; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger-menu { display: block; }
    .hero { min-height: 100vh; padding: 20px; }
    section { padding: 60px 0; }
    
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    
    .service-card-content { padding: 25px; }
    .testimonial-card { padding: 25px; }
    
    header { padding: 15px 0; }
    header.scrolled { padding: 12px 0; }
    .logo { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    .btn { width: 100%; padding: 14px 20px; font-size: 0.85rem; }
    .top-bar { font-size: 0.7rem; padding: 8px 10px; }
    
    .services-grid, .products-grid, .team-grid {
        gap: 20px;
    }
    .testimonial-card, .faq-question {
        padding: 20px;
    }
}
