/* --- VARIÁVEIS E CONFIGURAÇÕES GERAIS --- */
:root {
    /* Paleta de Cores - Identidade Sóbria */
    --color-black: #0a0a0a;       /* Preto Profundo */
    --color-dark-gray: #1f1f1f;   /* Cinza Chumbo */
    --color-white: #f4f4f4;       /* Branco Suave */
    --color-accent: #c5a059;      /* Dourado para destaque (luxo/tradição) */
    
    /* NOVAS CORES PARA O RITMO VISUAL (SANDUÍCHE) */
    --color-bg-light: #f0f0f0;    /* Um cinza bem clarinho/areia (Off-White) */
    --color-text-on-light: #222222; /* Texto escuro para leitura no fundo claro */

    --font-primary: 'Playfair Display', serif; /* Títulos (Clássico) */
    --font-secondary: 'Lato', sans-serif;      /* Textos (Moderno) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Rolagem nativa suave como backup */
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-secondary);
    line-height: 1.6;
    overflow-x: hidden; /* Evita rolagem horizontal indesejada */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }

/* --- HEADER E NAVEGAÇÃO --- */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    z-index: 1002;
    position: relative;
}

/* Navegação Desktop */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.main-nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.main-nav a:hover::after {
    width: 100%;
}

/* --- MENU MOBILE (HAMBÚRGUER) --- */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .mobile-menu-icon { display: block; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 1001;
    }

    .main-nav.active { right: 0; }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .main-nav a {
        font-size: 1.5rem;
        font-family: var(--font-primary);
    }

    .mobile-menu-icon.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--color-accent);
    }
    .mobile-menu-icon.active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-icon.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--color-accent);
    }
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background-image: url('assets/images/bg-hero.jpg'); 
    background-color: #000; /* Fallback */
    background-size: cover;
    background-position: center;
    /* EFEITO PARALLAX (Profundidade) */
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Desativa Parallax no Mobile para performance */
@media (max-width: 768px) {
    .hero { background-attachment: scroll; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), var(--color-black));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.pre-headline {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-sub {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* --- BOTÕES --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden; /* Importante para o efeito shine */
}

/* Efeito Shine (Brilho) no Botão Dourado */
.btn-primary {
    background-color: var(--color-accent);
    color: #000;
    margin-right: 15px;
    border: 1px solid var(--color-accent);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255, 0.4), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: #d4b06a;
    border-color: #d4b06a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    border: 1px solid var(--color-white);
    color: var(--color-white);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero-sub { font-size: 1rem; }
    .btn { display: block; width: 100%; margin: 10px 0; margin-right: 0; }
}

/* --- SEÇÃO SOBRE MIM (FUNDO CLARO) --- */
.about-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    color: var(--color-text-on-light);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-text { flex: 1; }

.section-tag {
    display: block;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-text h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--color-black);
}

/* AJUSTE EDITORIAL: Texto à Esquerda (Mais elegante) */
.about-text p {
    margin-bottom: 20px;
    color: #444444;
    font-size: 1.05rem;
    text-align: left; /* Mudado de justify para left */
}

.about-text strong {
    color: #000000;
    font-weight: 700;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    margin-top: 30px;
    color: var(--color-accent);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.daniel-photo {
    width: 100%;
    max-width: 450px; 
    height: auto; 
    border-radius: 4px;
    border: 2px solid var(--color-accent); 
    box-shadow: 15px 15px 0px rgba(10, 10, 10, 0.2);
    object-fit: cover;
}

@media (max-width: 900px) {
    .about-container { flex-direction: column; }
    .about-text h2 { font-size: 2rem; }
    
    .about-image {
        width: 100%;
        margin-top: 40px;
    }
    
    .daniel-photo {
        max-width: 100%;
        box-shadow: 10px 10px 0px rgba(10, 10, 10, 0.2);
    }
}

/* --- SEÇÃO DE SERVIÇOS (ESCURA) --- */
.services-section {
    padding: 100px 0;
    background-color: var(--color-black);
    text-align: center;
}

.section-header { margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto;}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

.section-header p { 
    color: #888; 
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.service-card {
    background-color: var(--color-dark-gray);
    border: 1px solid #333;
    transition: all 0.4s ease;
    text-align: left;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-image {
    width: 100%;
    height: 240px; 
    background-color: #111;
    overflow: hidden; 
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
    transition: transform 0.6s ease; 
    display: block;
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content { 
    padding: 30px; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-white);
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: auto; 
}

.additional-services {
    max-width: 900px;
    margin: 0 auto 50px auto;
    background-color: #111;
    padding: 40px;
    border: 1px solid #333;
}

.additional-services h3 {
    font-family: var(--font-primary);
    color: var(--color-accent);
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.services-list {
    list-style: none;
    text-align: left;
    columns: 2;
    column-gap: 40px;
}

.services-list li {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 1rem;
    break-inside: avoid; 
}

.services-list strong { color: var(--color-white); font-weight: 700;}
.cta-center { margin-top: 50px; }

@media (max-width: 768px) {
    .services-list { columns: 1; }
    .card-content { padding: 25px; }
    .services-grid { grid-template-columns: 1fr; } 
}

/* --- SEÇÃO DEPOIMENTOS (FUNDO CLARO + CARDS ESCUROS) --- */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    text-align: center;
    color: var(--color-text-on-light);
}

.testimonials-section .section-header h2 {
    color: var(--color-black);
}
.testimonials-section .section-header p {
    color: #555;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-black);
    padding: 40px 30px;
    border: 1px solid #333;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-card::before {
    content: '“';
    font-family: var(--font-primary);
    font-size: 6rem;
    color: var(--color-dark-gray);
    opacity: 0.8;
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
    pointer-events: none;
}

.stars {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-text {
    font-family: var(--font-secondary); 
    font-style: italic;
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 30px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.review-author {
    border-top: 1px solid #222;
    padding-top: 15px;
}

.review-author strong {
    display: block;
    color: var(--color-white);
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.review-author span {
    display: block;
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
}

/* --- SEÇÃO LOCALIZAÇÃO (ESCURA) --- */
.location-section {
    padding: 100px 0;
    background-color: var(--color-black);
    border-top: 1px solid #1a1a1a;
}

.location-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.location-text { flex: 1; }

.location-text h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 25px;
}

.location-text p {
    color: #bbb;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.address-box {
    border-left: 3px solid var(--color-accent);
    padding: 20px 25px;
    margin: 35px 0;
    color: var(--color-white);
    font-style: normal;
    line-height: 1.6;
    background: linear-gradient(to right, #111, transparent);
}

.btn-large {
    display: block;
    padding: 20px 40px;
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
    max-width: 450px;
}

.location-map {
    flex: 1;
    height: 450px;
    background-color: #222;
    border: 1px solid #333;
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.5s ease;
    border-radius: 4px;
}

.location-map:hover { filter: none; }

@media (max-width: 900px) {
    .location-container { flex-direction: column-reverse; gap: 40px; }
    .location-map { width: 100%; height: 350px; }
    .btn-large { max-width: 100%; }
}

/* --- FOOTER --- */
.main-footer {
    background-color: #050505;
    padding: 70px 0 30px 0;
    border-top: 1px solid #222;
    text-align: center;
    color: #666;
}

.footer-brand h3 {
    font-family: var(--font-primary);
    color: var(--color-white);
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-brand span {
    color: var(--color-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social { margin: 35px 0; }

.footer-social a {
    color: var(--color-white);
    border: 1px solid #333;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.footer-divider {
    border: 0;
    border-top: 1px solid #1a1a1a;
    margin: 30px auto;
    max-width: 200px;
}

.footer-bottom {
    font-size: 0.8rem;
    line-height: 1.8;
}

.dev-credits {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #111;
}

.dev-credits strong { color: #888; }
.dev-contacts { margin-top: 8px; }

.dev-contacts a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.dev-contacts a:hover { color: var(--color-accent); }
.separator { margin: 0 10px; color: #333; }

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon { width: 30px; height: 30px; }
    .dev-contacts { display: flex; flex-direction: column; gap: 5px; }
    .separator { display: none; }
}