/* --- Reset Básico e Variáveis de Cor --- */
:root {
    --dark-gray: #1a1a1a;
    --black: #000000;
    --orange: #D77A34; /* Laranja queimado/cobre */
    --light-gray: #f4f4f4;
    --text-color: #cccccc;
    --header-font: 'Teko', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--dark-gray);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Cabeçalho e Navegação --- */
header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--orange);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px; /* Espaçamento entre o menu e o ícone */
}

.social-icon-header svg {
    width: 28px;
    height: 28px;
    color: var(--text-color);
    transition: color 0.3s ease;
    display: block; /* Garante alinhamento correto */
}

.social-icon-header:hover svg {
    color: var(--orange);
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: var(--header-font);
    font-size: 1.5rem;
}

header nav ul li a:hover {
    color: var(--orange);
}

/* --- Banner Principal --- */
#banner {
    height: 100vh;
    background: url('images/banner-bg.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

#banner h1 {
    font-family: var(--header-font);
    font-size: 4rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

#banner .tagline {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.cta-button {
    background-color: var(--orange);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: #b8682b;
}

/* --- Seções Padrão --- */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--header-font);
    font-size: 3rem;
    color: var(--orange);
    text-align: center;
    margin-bottom: 50px;
}

.alt-bg {
    background-color: #222222;
}

/* --- Seção de Serviços --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--orange);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-family: var(--header-font);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

/* --- Seção Sobre Nós --- */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* --- Seção Diferenciais --- */
.diferenciais-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.diferenciais-list li {
    font-size: 1.1rem;
    padding: 15px;
    border-bottom: 1px solid #444;
}

.diferenciais-list li::before {
    content: '✓';
    color: var(--orange);
    font-weight: bold;
    margin-right: 15px;
}

/* --- Seção Blog --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post h3 {
    font-family: var(--header-font);
    font-size: 1.6rem;
    color: #fff;
    padding: 15px 20px 5px;
}

.blog-post p {
    padding: 0 20px 20px;
}

/* --- Seção Contato --- */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #555;
    background-color: #2a2a2a;
    color: #fff;
    border-radius: 5px;
}

.submit-button {
    background-color: var(--orange);
    color: #fff;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-button:hover {
    background-color: #b8682b;
}

/* --- Rodapé --- */
footer {
    background-color: var(--black);
    padding: 20px 0;
    border-top: 1px solid #333;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 15px;
}

/* --- Ícone Social do Rodapé --- */
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--orange);
    border-color: var(--orange);
}

.social-icon:hover svg {
    color: #fff;
}

/* --- Botão Flutuante do WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* --- ESTILOS DA PÁGINA DE POST DO BLOG --- */
.blog-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.blog-post-link:hover .blog-post {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.header-post {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}
.back-link:hover {
    color: var(--orange);
}

.post-container {
    padding-top: 100px; /* Evita que o post comece embaixo do header fixo */
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.full-post h1 {
    font-family: var(--header-font);
    font-size: 3rem;
    color: var(--orange);
    line-height: 1.2;
    margin-bottom: 20px;
}

.post-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.post-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.post-content h3 {
    font-family: var(--header-font);
    font-size: 2rem;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* --- Responsividade para Dispositivos Móveis --- */
/* --- Responsividade para Dispositivos Móveis --- */
@media (max-width: 768px) {
    /* --- Ajustes no Cabeçalho para Celular --- */
    header .container {
        /* Mantém o logo e o menu empilhados */
        flex-direction: column;
        gap: 15px; /* Adiciona um espaço entre o logo e o menu */
    }

    .logo-header img {
        /* REDUZ O TAMANHO DO LOGO APENAS EM TELAS PEQUENAS */
        height: 60px !important; /* Usamos !important para garantir que esta regra vença */
    }
    
    header nav ul {
        /* Remove o padding para centralizar melhor */
        padding-top: 0;
    }

    header nav ul li a {
        /* REDUZ A FONTE DO MENU APENAS EM TELAS PEQUENAS */
        font-size: 1.2rem;
    }

    /* --- Ajuste para o conteúdo não ficar atrás do header --- */
    #banner {
        /* EMPURRA O CONTEÚDO DO BANNER PARA BAIXO */
        padding-top: 150px; /* Ajuste este valor se necessário */
    }

    /* --- Outros Ajustes Responsivos --- */
    #banner h1 {
        font-size: 2.5rem;
    }
    
    #banner .tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-content {
        flex-direction: column;
    }
}