/*
Theme Name: Integra
Author: Gemini
Description: Tema personalizado para Integra Soluções.
Version: 1.0
*/

/* --- VARIÁVEIS DE COR (Extraídas da imagem) --- */
:root {
    --primary-blue: #0E2439;    /* Azul Marinho Profundo */
    --accent-gold: #C5A065;     /* Dourado/Bronze */
    --bg-cream: #FAF9F6;        /* Creme claro (fundo serviços) */
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-grey: #666666;
    --border-color: #E0E0E0;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

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

.btn {
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    text-transform: capitalize;
    border: none;
    cursor: pointer;
}
.btn:hover { background-color: #a3824d; }

/* --- HEADER --- */
header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-height: 50px;
    width: auto;
    height: auto;
}
nav ul { display: flex; gap: 30px; }
nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-dark);
}
nav a:hover { color: var(--accent-gold); }

/* --- HERO SECTION (Imagem com Texto) --- */
#hero {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
}

.hero-text {
    width: 50%;
    color: var(--white);
    padding-right: 50px;
}

.hero-text h1 {
    color: var(--white);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #dcdcdc;
    font-weight: 300;
}

/* --- SOBRE (O Bloco Branco Sobreposto) --- */
.sobre-wrapper {
    position: relative;
    margin-top: -100px; /* Puxa para cima da imagem */
    z-index: 10;
    display: flex;
    justify-content: flex-end; /* Alinha à direita */
    margin-bottom: 50px;
}

.sobre-card {
    background: var(--white);
    width: 50%; /* Ocupa a metade direita */
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden; /* Para cortar a marca d'água */
}

.sobre-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 250px;
    height: 250px;
    background-image: url('imagens/brasao.png'); 
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1; 
    pointer-events: none;
}

.sobre-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.sobre-card p {
    color: var(--text-grey);
    font-size: 1rem;
}

/* --- SERVIÇOS (Fundo Creme) --- */
#servicos {
    background-color: var(--bg-cream);
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid #D4AF37; /* Borda Dourada Fina */
    border-radius: 4px;
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-5px); }

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* --- POR QUE ESCOLHER (Faixa Azul) --- */
#diferenciais {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

#diferenciais .section-title { color: var(--white); font-size: 2rem; margin-bottom: 50px; }

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.diff-item h4 {
    color: var(--white);
    margin: 15px 0 10px 0;
    font-size: 1.2rem;
}

.diff-item p {
    font-size: 0.85rem;
    color: #ccc;
    padding: 0 20px;
}

/* --- CONTATO --- */
#contato {
    padding: 80px 0;
    background: var(--white);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    background-color: #fdfdfd;
}

textarea { resize: vertical; margin-bottom: 20px; }

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 40px 0;
    border-top: 5px solid var(--accent-gold);
}

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

.footer-info {
    text-align: right;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ccc;
}

.footer-info i { color: var(--accent-gold); margin-right: 10px; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 1366px) {
    #hero {
        height: 400px; /* Reduced further */
    }

    .sobre-wrapper {
        margin-top: -120px; /* Increased overlap */
    }
}

@media (max-width: 768px) {
    .hero-text { width: 100%; text-align: center; padding: 20px; }
    #hero { height: auto; padding: 60px 0; }
    
    .sobre-wrapper { margin-top: 0; display: block; }
    .sobre-card { width: 100%; margin-top: -50px; }
    
    .cards-grid, .diff-grid, .form-row { grid-template-columns: 1fr; }
    .header-content { flex-direction: column; gap: 20px; }
    nav ul { gap: 15px; font-size: 0.8rem; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
    .footer-info { text-align: center; }
}
