/* Custom Properties / Paleta de Cores */
:root {
    --primary-color: #FFFFFF; /* Branco puro para textos de destaque */
    --primary-light: #6E3F2B; /* Fundo secundário claro */
    --secondary-color: #3A1E13; /* Marrom escuro (Rodapé e áreas de forte contraste) */
    --accent-color: #D3B897; /* Destaque, botões (tom dourado) */
    --text-dark: #3A1E13; /* Texto escuro */
    --text-light: #FDFDFD; /* Branco para textos comuns */
    --bg-light: #5C3120; /* Fundo secundário (Seção Serviços) */
    --bg-white: #4C2719; /* Fundo principal marrom (combina com a logo) */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-weight: 400; /* Mais forte */
}

/* Tipografia */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.highlight {
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

/* Divisória com grafismo indígena (Cunhã) */
.section-title::after {
    content: '▼ ▼ ▼';
    display: block;
    font-size: 0.6rem;
    letter-spacing: 8px;
    color: var(--accent-color);
    margin-top: 15px;
    opacity: 0.6;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    opacity: 1;
    font-weight: 600; /* Deixando o texto mais forte */
}

/* Header & Nav */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px; /* Ajuste a altura conforme a sua logo */
    width: auto;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--bg-white);
    background-image: url('images/tattoos.png');
    background-blend-mode: lighten; /* Faz a cor marrom aparecer mesmo se a imagem for preta */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito parallax suave */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    padding: 40px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 39, 25, 0.6); /* Escurece a textura para não ofuscar a logo e os textos */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    margin-bottom: 10px;
}

.logo-glow {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.logo-glow::before {
    content: '';
    position: absolute;
    width: 60%; /* Ajuste do tamanho do círculo em relação a logo */
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0.6;
    animation: glow-pulse 2.5s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes glow-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.4;
        box-shadow: 0 0 20px var(--accent-color);
    }
    100% {
        transform: scale(1.3);
        opacity: 0.85;
        box-shadow: 0 0 80px var(--accent-color), 0 0 120px var(--accent-color);
    }
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 450px; /* Logo em destaque, mas sem tampar o texto */
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-content .subtitle {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content .description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 1;
    font-weight: 600; /* Mais forte */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color); /* Cor bege do flyer */
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary::before, .btn-primary::after {
    content: '▼';
    font-size: 0.7rem;
    opacity: 0.6;
    margin: 0 12px;
}

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

/* Sobre Section */
.sobre {
    padding: 100px 0;
    background-color: var(--bg-white);
    /* Novo grafismo indígena (diferente da seção de serviços e do topo) - estilo de flechas/cruzes */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30l30-30h-15L30 15 15 0H0l30 30zM30 30L0 60h15l15-15 15 15h15L30 30z' fill='%23d3b897' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-image {
    flex: 1;
    position: relative;
}

.sobre-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.sobre-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
}

.sobre-text {
    flex: 1;
}

.sobre-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.sobre-text p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.15rem;
    opacity: 1;
    font-weight: 400;
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background-color: var(--bg-white);
    text-align: center;
    /* Grafismo bem suave de fundo */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30l30-30h-15L30 15 15 0H0l30 30zM30 30L0 60h15l15-15 15 15h15L30 30z' fill='%23d3b897' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.video-container {
    max-width: 350px; /* Formato retrato (mobile) para não ficar gigante no desktop */
    width: 100%;
    margin: 0 auto;
    border-radius: 22px;
    padding: 2px; /* O padding cria o espaço para o contorno */
    background: linear-gradient(135deg, rgba(211, 184, 151, 0.8), rgba(211, 184, 151, 0.1), rgba(211, 184, 151, 0.5));
    overflow: hidden;
    /* Adicionando o brilho suave/degradê em volta do vídeo também */
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(211, 184, 151, 0.15);
    /* Correções de tremor/jitter em alguns navegadores devido ao border-radius/overflow */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
}

.showcase-video {
    width: 100%;
    max-height: 80vh; /* Garante que o vídeo caiba na tela sem cortar em pé */
    object-fit: cover;
    display: block;
    border-radius: 20px; /* Arredonda os cantos internos do vídeo */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Feedbacks */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feedback-card {
    background: linear-gradient(145deg, #5C3120, #3A1E13);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(211, 184, 151, 0.15); /* Borda dourada bem suave */
    /* Adicionando um brilho bem fraco no fundo */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(211, 184, 151, 0.15);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-10px);
    border-color: rgba(211, 184, 151, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(211, 184, 151, 0.25);
}

.google-review-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.quote-icon {
    color: var(--accent-color);
    font-size: 2.5rem;
    opacity: 0.2;
    margin-bottom: 25px;
    display: inline-block;
    position: static;
}

.feedback-text {
    font-style: italic;
    color: var(--text-light); /* Mais branco */
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 1;
}

.feedback-author {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Serviços Section */
.servicos {
    padding: 100px 0;
    background-color: var(--bg-light);
    /* Grafismo indígena de fundo (padrão em zigue-zague/losango sutil) */
    background-image: 
      linear-gradient(135deg, rgba(211, 184, 151, 0.02) 25%, transparent 25%),
      linear-gradient(225deg, rgba(211, 184, 151, 0.02) 25%, transparent 25%),
      linear-gradient(45deg, rgba(211, 184, 151, 0.02) 25%, transparent 25%),
      linear-gradient(315deg, rgba(211, 184, 151, 0.02) 25%, var(--bg-light) 25%);
    background-position:  15px 0, 15px 0, 0 0, 0 0;
    background-size: 30px 30px;
    background-repeat: repeat;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@keyframes service-glow {
    0% {
        box-shadow: 0 0 10px rgba(211, 184, 151, 0.2), inset 0 0 5px rgba(211, 184, 151, 0.1);
        border-color: rgba(211, 184, 151, 0.4);
    }
    100% {
        box-shadow: 0 0 25px rgba(211, 184, 151, 0.7), inset 0 0 10px rgba(211, 184, 151, 0.3);
        border-color: rgba(211, 184, 151, 1);
    }
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--accent-color);
    animation: service-glow 2s infinite alternate ease-in-out;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    animation: none;
    box-shadow: 0 0 35px rgba(211, 184, 151, 0.9), inset 0 0 15px rgba(211, 184, 151, 0.4);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.service-card p {
    color: var(--text-light);
    opacity: 1;
    font-size: 1.05rem;
}

/* Galeria Section */
.galeria {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease, border-color 0.3s ease, opacity 0.5s ease;
    border: 2px solid rgba(243, 224, 200, 0.2);
    
    /* Correções para melhorar a qualidade e evitar "tremedeira" ou pixelização */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast; /* Melhora a nitidez */
}

.gallery-item:hover {
    transform: scale(1.03) translateZ(0);
    -webkit-transform: scale(1.03) translateZ(0);
    filter: brightness(1.1);
    border-color: var(--primary-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--accent-color);
}

/* Localização Section */
.localizacao {
    padding: 100px 0;
    background-color: var(--bg-white);
    background-image: url('images/tattoos.png');
    background-blend-mode: lighten; /* Aplica a cor marrom sobre a imagem */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    z-index: 1;
}

.localizacao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 39, 25, 0.85); /* Escurece bastante o fundo para dar destaque */
    z-index: -1;
}

.location-container {
    display: flex;
    gap: 50px;
    background: rgba(92, 49, 32, 0.6); /* Fundo semi-transparente */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(211, 184, 151, 0.15); /* Borda dourada sutil (glassmorphism) */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.location-info {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.location-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    opacity: 0.9;
}

.location-info i {
    color: var(--accent-color);
    margin-top: 5px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, color 0.3s;
}

.social-links a i {
    font-size: 1.5rem;
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links a:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

.location-map {
    flex: 1;
    min-height: 400px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Manter a cor do WhatsApp aqui para ser reconhecível */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 900px) {
    .sobre-container,
    .location-container {
        flex-direction: column;
    }
    
    .sobre-image::after {
        display: none;
    }
    
    .sobre-text {
        text-align: center;
    }
    
    .location-info {
        padding: 30px;
        align-items: center;
        text-align: center;
    }
    
    .location-info p {
        justify-content: center;
    }
    
    .location-map {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .subtitle {
        font-size: 1.4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .feedback-grid {
        grid-template-columns: 1fr;
    }

    /* Garante que o brilho seja constante e forte no mobile (já que não há hover) */
    .service-card {
        border-color: var(--primary-color);
        box-shadow: 0 0 25px rgba(211, 184, 151, 0.7), inset 0 0 10px rgba(211, 184, 151, 0.3);
        -webkit-animation: service-glow 2s infinite alternate ease-in-out;
        animation: service-glow 2s infinite alternate ease-in-out;
    }

    /* Reduzindo o tamanho dos desenhos indígenas no celular para melhor visualização */
    .sobre, .video-section {
        background-size: 30px 30px;
    }
    
    .servicos {
        background-size: 16px 16px;
        background-position: 8px 0, 8px 0, 0 0, 0 0;
    }

    /* Corrige o zoom (efeito parallax bugado) da Hero e Localização no celular e diminui o desenho */
    .hero, .localizacao {
        background-attachment: scroll;
        background-size: 250px;
        background-repeat: repeat;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
