/* === VARIÁVEIS DE CORES E FONTES === */
:root {
    --bg-black: #080808;        
    --bg-dark-gray: #121212;    
    --bg-light-gray: #1a1a1a;   
    --text-light: #ffffff;      /* Letras mais brancas para chamar atenção */
    --text-muted: #cccccc;      /* Letras secundárias mais claras */
    
    --accent-main: #C5A059;     /* Ouro/Bronze muito elegante */
    
    --font-title: 'Playfair Display', serif;
    --font-text: 'Roboto', sans-serif;
    
    /* Animação global suave e séria */
    --transition: all 0.5s ease-in-out;
}

/* === RESET BÁSICO === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--bg-black);
    color: var(--text-light);
    font-weight: 400; 
    line-height: 1.8; /* Texto mais bem espaçado */
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-title);
    font-weight: 700;
    color: #fff; 
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
}

/* === CABEÇALHO (SEM MENU HAMBURGER) === */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

#progress-bar {
    position: fixed; 
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-main); 
    width: 0%; 
    transition: width 0.1s linear; 
    z-index: 1001;
}

.logo img {
    max-height: 80px; 
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap; /* Permite que o menu se adapte em telas menores */
    justify-content: center;
}

.nav-links a {
    font-size: 0.95rem; /* Letras maiores no menu */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-main); 
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-black);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero p {
    font-size: 1.5rem; /* Texto grande e imponente */
    color: #fff; 
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.5;
}

/* === BOTÕES (ELEGANTES E PROFISSIONAIS) === */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent; 
    border: 2px solid var(--accent-main);
    color: var(--accent-main); 
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-main);
    color: #000; 
}

/* === SEÇÕES E TÍTULOS === */
section {
    padding: 100px 50px; 
}

.section-title {
    text-align: center;
    font-size: 2.8rem; 
    margin-bottom: 60px;
    color: var(--accent-main); 
    font-weight: 400;
}

/* === TEXTOS MAIS CHAMATIVOS E LEGÍVEIS === */
.about-text p, .office-text p, .card p {
    font-size: 1.2rem; /* Aumentei bastante a leitura base */
    color: var(--text-muted);
    font-weight: 400;
}

/* === SOBRE NÓS === */
.about {
    background-color: var(--bg-dark-gray);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2.section-title { margin-bottom: 30px; }

.about-abstract {
    flex: 1;
    display: flex;
    justify-content: center;
}

.abstract-shape {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 5px;
}

.office-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === SERVIÇOS === */
.services {
    background-color: var(--bg-black);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--bg-dark-gray);
    padding: 50px 40px;
    border-left: 2px solid transparent; 
    transition: var(--transition);
}

.card i {
    font-size: 2.5rem;
    color: var(--accent-main); 
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.card:hover {
    background-color: var(--bg-light-gray);
    border-left: 2px solid var(--accent-main); /* Linha elegante na lateral no hover */
    transform: translateX(5px); /* Movimento sério para a direita */
}

/* === EQUIPE TÉCNICA === */
.team {
    background-color: var(--bg-dark-gray);
}

.technical-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.technical-card {
    background: var(--bg-black);
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
}

.technical-card:hover {
    border-color: var(--accent-main);
}

.skill-icon-container {
    margin: 0 auto 25px;
}

.skill-icon {
    font-size: 3.5rem;
    color: var(--accent-main); 
}

.technical-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.view-details {
    color: var(--accent-main); 
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* MODAL */
.skill-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(5px); }
.modal-content { background: var(--bg-light-gray); margin: 10% auto; padding: 50px; width: 90%; max-width: 600px; border-left: 4px solid var(--accent-main); position: relative; }
.close-modal { position: absolute; top: 20px; right: 25px; font-size: 2rem; color: #fff; cursor: pointer; }
.modal-content h3 { font-size: 1.8rem; margin-bottom: 25px; }
.modal-content ul li { padding: 15px 0; border-bottom: 1px solid #333; font-size: 1.1rem; }

/* === OFÍCIO E GALERIA (NOVO DESIGN COM 4 FOTOS ELEGANTES) === */
.office-section {
    background-color: var(--bg-black);
}

.office-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.office-text { flex: 1; }
.office-text h3 { font-size: 2.2rem; color: #fff; margin-bottom: 25px; font-weight: normal; }

.office-gallery { flex: 1.2; }

/* Grade Elegante para 4 Fotos (Grid 2x2 Simétrico) */
.gallery-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Duas colunas iguais */
    grid-template-rows: repeat(2, 220px);  /* Duas linhas iguais */
    gap: 15px;
}

.gallery-item-detailed {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.gallery-item-detailed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: transform 1.5s ease;
}

.gallery-item-detailed:hover img {
    transform: scale(1.05); /* Zoom muito lento e elegante */
    filter: grayscale(0%);
}

/* === LOCALIZAÇÃO (GOOGLE MAPS) === */
.location {
    background-color: var(--bg-dark-gray);
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid rgba(197, 160, 89, 0.3); /* Borda suave cor dourada/bronze */
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.location-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    filter: grayscale(20%); /* Filtro sutil para harmonizar o mapa com as cores do site */
    transition: var(--transition);
}

.location-container:hover iframe {
    filter: grayscale(0%);
}

/* === CONTATO === */
.contact-container {
    background: var(--bg-dark-gray);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.contact-info {
    flex: 1;
    padding: 60px;
    background: var(--bg-light-gray);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 { font-size: 2rem; margin-bottom: 30px; }

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.info-item i {
    color: var(--accent-main); 
    font-size: 1.5rem;
}

.contact-form {
    flex: 1.2;
    padding: 60px;
    background: var(--bg-dark-gray);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 18px;
    background: var(--bg-black);
    border: 1px solid #333; 
    color: var(--text-light);
    margin-bottom: 20px;
    font-family: var(--font-text);
    font-size: 1.1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-main); 
}

/* === WHATSAPP E INSTAGRAM FLOAT === */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: waPulse 2s infinite ease-out;
}

.instagram-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 110px; /* Posicionado acima do botão do WhatsApp */
    right: 30px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #FFF;
    border-radius: 50%;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.instagram-float:hover {
    transform: scale(1.1);
}

.instagram-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #d6249f; /* Borda rosa no pulsar */
    animation: waPulse 2s infinite ease-out; /* Aproveita a mesma animação do Whats */
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

footer { padding: 40px 20px; background: #000; color: var(--text-muted); text-align: center; border-top: 1px solid #111; }

/* === ANIMAÇÕES PROFISSIONAIS E FLUÍDAS (REVEAL) === */
.reveal {
    opacity: 0;
    transform: translateY(30px); /* Distância menor para parecer mais sério */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVIDADE (Ajuste para sumir com Menu sem Hamburguer) === */
@media (max-width: 992px) {
    header {
        flex-direction: column; /* Coloca a logo em cima e os links embaixo no celular */
        padding: 15px;
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
    }
    .nav-links a { font-size: 0.8rem; }
    .hero p { font-size: 1.2rem; }
    .about-container, .office-container, .contact-container { flex-direction: column; gap: 40px; }
    
    /* Layout Mobile com 4 fotos */
    .gallery-grid-detailed { 
        grid-template-columns: 1fr; 
        grid-template-rows: repeat(4, 250px); /* 4 fotos empilhadas no celular */
    }
}