/* VARIÁVEIS DE CORES E FONTES */
:root {
    --bg-color: #050505; /* Preto absoluto/texturizado */
    --gold: #D4AF37; /* Dourado elegante */
    --gold-light: #F3E5AB;
    --gold-dark: #AA8C2C;
    --text-white: #FFFFFF;
    --text-gray: #CCCCCC;
    --card-bg: #111111;
    
    --font-title: 'Playfair Display', serif;
    --font-text: 'Montserrat', sans-serif;
}

/* RESET E ESTILOS GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--text-white);
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.mt-4 {
    margin-top: 1.5rem;
}
.my-4 {
    margin: 1.5rem 0;
}
.ml-2 {
    margin-left: 0.5rem;
}

/* UTILITÁRIOS DE TEXTO */
.text-gold {
    color: var(--gold);
}

/* BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #ffdf73 50%, #aa771c 100%);
    background-size: 200% 200%;
    color: #111 !important;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    color: #000 !important;
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* WHATSAPP FIXO */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* TOP BAR ANIMADA */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background-color: var(--gold);
    color: #000;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1002;
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-content span {
    padding-right: 50px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* HEADER / MENU */
.header {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 1000;
    border-bottom: 1px solid #222;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: inline-block;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 20px auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--text-white);
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.header-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
    width: 30px;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 1. HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #000000;
    /* Fundo cinematográfico base escuro */
    background-image: radial-gradient(circle at 30% 50%, #151515 0%, #000000 60%);
    position: relative;
    text-align: left;
    overflow: hidden;
}

/* Imagem do João renderizada sem cortes verticais */
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: url('../img/banner-joao.png');
    background-position: right bottom; /* Ancorado embaixo e na direita */
    background-size: auto 100%; /* Garante que a altura inteira da foto caiba na tela, sem cortar cabeça ou perna */
    background-repeat: no-repeat;
    
    /* A máscara acompanha exatamente o tamanho da foto para apagar só o lado esquerdo dela */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
    -webkit-mask-size: auto 100%;
    -webkit-mask-position: right bottom;
    -webkit-mask-repeat: no-repeat;
    
    mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
    mask-size: auto 100%;
    mask-position: right bottom;
    mask-repeat: no-repeat;
    
    z-index: 0;
    filter: brightness(1.05) contrast(1.05); /* Melhoria de estúdio */
}

/* Overlay combinado: escuridão na esquerda (leitura do texto) + transição de baixo (para a próxima seção) */
.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: 
        linear-gradient(to right, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.6) 45%, transparent 70%),
        linear-gradient(to top, var(--bg-color) 0%, transparent 120px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%; /* Mantém o texto de forma elegante na esquerda */
    padding-left: 5%; /* Respiro lateral sofisticado */
    padding-top: 0;
    transform: translateY(-5%); /* Sobe o bloco de texto para alinhar ao peitoral da foto */
}

.hero-logo {
    max-width: 350px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.8));
}

/* Elementos Decorativos Premium do Banner */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.15);
    z-index: 1;
    pointer-events: none;
}

.hero-circle-1 {
    width: 60vw;
    height: 60vw;
    left: -30vw;
    bottom: -10vw;
    border-color: rgba(212, 175, 55, 0.4);
}

.hero-circle-2 {
    width: 80vw;
    height: 80vw;
    left: -40vw;
    top: -20vw;
    border-color: rgba(212, 175, 55, 0.2);
}

.hero-glow {
    position: absolute;
    right: 0;
    top: 0;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-subtitle-wrapper {
    margin-bottom: 25px;
    display: inline-block;
}

.hero-subtitle {
    font-family: var(--font-text);
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-weight: 400;
    display: block;
}

.subtitle-line {
    width: 50px;
    height: 1px;
    background-color: var(--gold);
    margin-top: 15px;
    opacity: 0.4;
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 25px;
    color: var(--gold);
    line-height: 1.1;
    font-weight: 400;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 480px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero .btn-primary {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
    font-weight: 600;
}

.hero .btn-outline {
    border-color: rgba(212, 175, 55, 0.4);
}

/* 1.5 FAIXA DIFERENCIAIS */
.faixa-diferenciais {
    background-color: #0a0a0a;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 40px 0;
}

.diferenciais-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.dif-item {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    border-radius: 8px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.dif-item:hover {
    background: rgba(212, 175, 55, 0.03);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.dif-item i {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--gold);
    transition: all 0.4s ease;
}

.dif-item:hover i {
    transform: scale(1.15) translateY(-5px);
    color: var(--gold-light);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.dif-item span {
    font-family: var(--font-text);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.dif-item:hover span {
    color: var(--gold-light);
}

/* 2. RESULTADOS */
.resultados {
    background: url('../img/bg-pattern.png') center/cover no-repeat, linear-gradient(135deg, #d4af37 0%, #ffdf73 50%, #aa771c 100%);
    position: relative;
}

.resultados .section-header h2,
.resultados .section-header p {
    color: #111;
    text-shadow: none;
}

.grid-resultados {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.resultado-item {
    background-color: #111;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.resultado-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.resultado-item .img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3/4;
}

.resultado-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resultado-item:hover img {
    transform: scale(1.08);
}

/* 3. SERVIÇOS (CARROSSEL PREMIUM) */
.servicos-carousel-container {
    position: relative;
    padding: 20px 40px; /* Espaço para as setas */
    margin-top: 40px;
}

.swiper-servicos {
    padding-bottom: 20px; /* Sombra inferior */
}

.servico-row {
    margin-bottom: 60px;
}

.servico-row:last-child {
    margin-bottom: 0;
}

.servico-row-titulo {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
}

/* Container do carrossel com padding para as setas não ficarem em cima das fotos (opcional) */
.servicos-carousel-container {
    position: relative;
    padding: 0 45px;
}

@media (max-width: 768px) {
    .servicos-carousel-container {
        padding: 0 20px; /* Setas mais próximas ou ausentes no mobile */
    }
}

.servico-galeria-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}

.servico-galeria-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.6);
}

.servico-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.servico-galeria-item:hover .servico-img {
    transform: scale(1.08);
}

/* Setas do Swiper Customizadas */
.servicos-btn-prev, .servicos-btn-next {
    color: var(--gold);
    background: rgba(0, 0, 0, 0.6);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.servicos-btn-prev::after, .servicos-btn-next::after {
    display: none !important;
}

.servicos-btn-prev i, .servicos-btn-next i {
    font-size: 1.2rem;
}

.servicos-btn-prev:hover, .servicos-btn-next:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.1);
}

.servicos-btn-prev { left: 0; }
.servicos-btn-next { right: 0; }


/* 5. SOBRE */
.sobre {
    background: linear-gradient(rgba(5, 5, 5, 0.85), rgba(17, 17, 17, 0.85)), url('../img/bg-pattern-dark.png') center/cover no-repeat;
    position: relative;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.sobre-imagem {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sobre-img-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 0 1px rgba(212, 175, 55, 0.2);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sobre-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.7s ease;
    filter: brightness(1.03) contrast(1.05);
}

.sobre-img-wrapper:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 0 2px rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}

.sobre-img-wrapper:hover .sobre-img {
    transform: scale(1.05);
    filter: brightness(1.08) contrast(1.08);
}

.sobre-conteudo {
    text-align: left;
}

.sobre-conteudo h2 {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.sobre-conteudo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.sobre-conteudo:hover h2::after {
    width: 100%;
}

.sobre-texto {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

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

.card-depoimento {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.estrelas {
    color: var(--gold);
    margin-bottom: 15px;
}

.card-depoimento p {
    font-style: italic;
    margin-bottom: 20px;
}

.cliente-nome {
    font-weight: 600;
    color: var(--text-white);
}

/* 7. LOCALIZAÇÃO */
.mapa-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid #222;
}

/* 8. INSTAGRAM */
.insta-feed {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.insta-item {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.insta-item:hover img {
    transform: scale(1.1);
}

/* 9. CTA FINAL */
.cta-final {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1595476108010-b4d1f10d5e43?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.cta-final h2 {
    color: var(--gold);
}

/* FOOTER */
.footer {
    background-color: #000;
    padding: 30px 0;
    border-top: 1px solid #222;
}

/* ANIMAÇÕES (Scroll Reveal simples) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* RESPONSIVO */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        gap: 20px;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .nav-link {
        font-size: 1.2rem;
    }
    /* Hamburger animation */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

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

    .grid-resultados {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .sobre-conteudo {
        text-align: center;
    }
    .sobre-conteudo h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .sobre-conteudo:hover h2::after {
        width: 80px;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: left; /* Layout mais elegante alinhado à esquerda no mobile */
        background-image: none;
    }
    
    .hero::before {
        background-position: 85% 10%; /* Foca no rosto e na parte de cima do corpo */
        background-size: cover; 
    }

    .hero::after {
        /* Overlay combinado: lateral para o texto + vertical para fusão suave */
        background: 
            linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%),
            linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.95) 100%);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
        padding: 120px 25px 60px; /* Respiro visual maior */
        margin-top: 0; 
        transform: none; /* Remove transform do desktop */
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 6px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
        line-height: 1.15;
        margin-bottom: 25px;
        font-weight: 400;
    }
    
    .hero p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 35px;
        max-width: 85%; /* Evita que o texto encoste muito na direita */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        gap: 15px; /* Mais respiro entre botões */
    }
    
    .hero-buttons .btn {
        width: auto;
        max-width: none;
        padding: 14px 28px;
        font-size: 0.95rem;
        text-align: center;
    }
    
    .hero .btn-primary {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); /* Glow premium suave */
    }
    
    .hero .btn-outline {
        border: 1px solid var(--gold);
        background: rgba(0,0,0,0.4);
        color: var(--gold);
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .ml-2 {
        margin-left: 0;
    }
    h2 {
        font-size: 2rem;
    }
    .insta-item {
        width: calc(50% - 10px);
    }
    
    .grid-resultados {
        grid-template-columns: 1fr;
    }
}
