/* CORES BASE E VARIÁVEIS (BASEADO NO WORDPRESS ANTERIOR) */
:root {
    --primary-color: #00222e; /* Azul Escuro WordPress */
    --accent-color: #398ffc;  /* Ciano Claro WordPress */
    --secondary-color: #d4a94f; /* Dourado */
    --bg-light: #f5f7f9;
    --text-color: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --header-height: 100px;
    --font-family: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    display: block;
}

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

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

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* LAYOUT UTILITÁRIO */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.w-full { width: 100%; }
.mt-4 { margin-top: 20px; }
.pt-0 { padding-top: 0; }
.pt-10 { padding-top: 40px; }
.pt-32 { padding-top: 120px; }
.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: 20px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.center { text-align: center; }

h1, h2, h3, h4 {
    color: var(--primary-color);
    line-height: 1.2;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* BOTÕES GERAIS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2974d6;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
}

/* HEADER DO TEMA CLONE */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
}

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

.logo img {
    height: 90px;
    object-fit: contain;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-menu a.btn-briefing {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-menu a.btn-briefing:hover {
    background-color: #2974d6;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

/* HERO SECTION - TIPO ELEMENTOR */
.hero {
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 34, 46, 0.9) 100%), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2672&auto=format&fit=crop') center/cover;
    padding: 120px 0;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #e0e0e0;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* SOBRE NÓS E FOTO DO PERFIL */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.foto-perfil {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

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

.servico-card {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
}

.servico-card h3 {
    margin-bottom: 15px;
}

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

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #eaeaea;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.img-error { display: none !important; }

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 34, 46, 0.9);
    padding: 15px;
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: 0.4s;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    color: white;
    margin-bottom: 5px;
}

.portfolio-info a {
    color: var(--accent-color);
    font-size: 0.9em;
}

/* CONTATO */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contato-lista {
    list-style: none;
    margin: 25px 0;
}

.contato-lista li {
    margin-bottom: 15px;
}

.redes-sociais {
    display: flex;
    gap: 15px;
}

.redes-sociais a {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
}

/* FORMULARIOS */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-subtitle {
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
}

.separator {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.form-basico {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* FOOTER */
.footer {
    background-color: #00161f;
    padding: 20px 0;
    color: #b0b0b0;
    text-align: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #20b858;
    color: white;
}

/* RESPONSIVIDADE (CLONE) */
@media (max-width: 991px) {
    .sobre-grid, .contato-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { display: flex; flex-direction: column; }
    
    .menu-toggle { display: flex; }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a.btn-briefing {
        border-radius: 0;
    }

    .grid-2 { grid-template-columns: 1fr; }
}
