* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6f8;
    color: #333;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    background: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    height: 120px;
}


.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* ISSO É ESSENCIAL */
}

.logo-area img {
    max-width: 180px;
    width: 100%;
    height: auto;
}


.logo-area span {
    font-size: 40px;
    font-weight: 700;
    color: #0a3d62;
}

/* HERO */
.hero {
    padding-top: 150px;
    padding-bottom: 50px; /* aumentamos a faixa azul */
    min-height: 520px;     /* garante altura mínima */
    background: linear-gradient(135deg, #0a3d62, #1e90ff);
    color: white;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 16px;
    opacity: 0.9;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
}

/* IMAGEM COM ANIMAÇÃO */
.hero-image img {
    height: 100%;
    max-height: 360px;
    width: auto;
    object-fit: contain;
    animation: floatIn 1.2s ease-out;
}

/* SOLUÇÕES */
.solutions {
    padding: 80px 0;
    background: #ffffff;
}

.solutions h2 {
    text-align: center;
    color: #0a3d62;
    margin-bottom: 50px;
    font-size: 28px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.solution-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.solution-card h3 {
    color: #0a3d62;
    margin-bottom: 10px;
}

/* FOOTER */
.footer {
    background: #0a3d62;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* ANIMAÇÃO */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-image {
        height: 260px;
    }

    .hero-image img {
        max-height: 260px;
    }
}

/* CONTATO */
.contact {
    padding: 80px 0;
    background: #f4f6f8;
}

.contact h2 {
    text-align: center;
    color: #0a3d62;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form button {
    background: #0a3d62;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background: #1e90ff;
}

.success {
    text-align: center;
    margin-top: 15px;
    color: green;
}

@media (max-width: 768px) {

    .header-container {
        height: auto;
        padding: 10px 0;
    }

    .logo-area img {
        max-width: 100px;
    }

    .logo-area span {
        font-size: 26px;
        white-space: nowrap; /* garante nome inteiro em 1 linha */
    }
}