:root {
    --bg-body: #f8fafc;
    --bg-container: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --accent-color: #2563eb;
    --brand-color: rgb(1,66,148);
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
}

/* HERO CUSTOMIZADO */
.hero-section {
    background: linear-gradient(135deg, var(--brand-color) 0%, #1e293b 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.hero-content { max-width: 800px; margin: 0 auto; }
.hero-content h1 { font-size: 40px; margin-bottom: 20px; font-weight: 700; }
.hero-content p { font-size: 18px; color: #e2e8f0; }

/* CONTAINER DO CONTEÚDO */
.content-container {
    max-width: 850px;
    margin: -40px auto 60px auto;
    background: var(--bg-container);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    overflow: auto;
}

.content-container h2 {
    color: var(--brand-color);
    margin-bottom: 25px;
    font-size: 28px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.content-container p {
    margin-bottom: 20px;
    color: var(--text-main);
    text-align: justify;
    hyphens: auto;
}

/* ESTILOS DAS IMAGENS NO TEXTO */
.about-img {
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Alinhamento à esquerda (Cristian) */
.img-left {
    float: left;
    margin: 5px 30px 20px 0;
    max-width: 200px;
}

/* Alinhamento à direita (Empresa/Galpão) */
.img-right {
    float: right;
    margin: 5px 0 20px 30px;
    max-width: 350px;
}

/* RESPONSIVIDADE (Ajustado para dispositivos móveis sem alterar o design desktop) */
@media (max-width: 850px) {
    .content-container { padding: 30px; width: 95%; margin-top: -20px; }
    .hero-content h1 { font-size: 32px; }
}

@media (max-width: 600px) {
    body {
        line-height: 1.6;
    }
    .hero-section {
        padding: 40px 15px;
    }
    .hero-content h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    .hero-content p {
        font-size: 15px;
    }
    .content-container {
        padding: 20px 16px;
        width: 100%;
        margin: -15px 0 30px 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .content-container p {
        text-align: left; /* Evita espaçamentos exagerados em telas muito pequenas */
        font-size: 15px;
        margin-bottom: 16px;
    }
    /* Imagens responsivas no mobile */
    .about-img {
        float: none !important;
        display: block !important;
        max-width: 80% !important;
        height: auto !important;
        margin: 20px auto !important;
    }
}