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

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #0b1e3f;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #ffdd00;
    left: 0;
    bottom: -4px;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.highlights {
    padding: 50px 0;
}

.highlight-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
}

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

.highlight-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.orion-section {
    padding: 80px 0;
    background: #f8f9fc;
}

.orion-title {
    text-align: center;
    font-size: 1.85rem;
    color: #0b1e3f;
    margin-bottom: 35px;
    position: relative;
}

.orion-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #0b1e3f;
    margin: 12px auto 0;
    border-radius: 3px;
}

.orion-images-container {
    margin: 40px 0;
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.orion-images {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.orion-image-item {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.orion-image-wrapper {
    width: 100%;
    height: 480px;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orion-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 12px;
}

.orion-source {
    margin-top: 16px;
    font-size: 0.87em;
    color: #666;
    line-height: 1.5;
    text-align: center;
    width: 100%;
    min-height: 80px;           /* ajuda a alinhar as legendas */
}

.orion-source a {
    color: #0b4f9e;
    text-decoration: underline;
    word-break: break-all;
}

.orion-text-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
    border-left: 6px solid #0b1e3f;
}

.orion-text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #333;
    text-align: justify;
}

.orion-text p {
    margin-bottom: 18px;
}

.article {
    background: #f6f8fb;
    padding: 70px 0;
}

.article-container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 45px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.article h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.article h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #0b1e3f;
}

.article p {
    margin-bottom: 16px;
    color: #333;
}

/* ====================== SOBRE / CONTATO ====================== */

.contact {
    margin-top: 40px;
    padding: 40px;
    background: #f5f5f5;
}

.contact h2 {
    text-align: center;
}

.contact form {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact input,
.contact textarea {
    padding: 12px;
    font-size: 14px;
}

.contact button {
    padding: 12px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
}

.direct-contact {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

.direct-contact a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.direct-contact a:hover {
    text-decoration: underline;
}

/* ====================== FOOTER ====================== */
footer {
    background: #0b1e3f;
    color: #fff;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}

.contact {
    margin-top: 40px;
    padding: 40px 20px; /* menos padding lateral */
    background: #f5f5f5;
}

.contact form {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact input,
.contact textarea {
    width: 100%; /* garante largura total */
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.contact textarea {
    resize: vertical;
    min-height: 120px;
}

.contact button {
    padding: 14px;
    font-size: 15px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .orion-image-wrapper {
        height: 340px;
    }

    .orion-image-item {
        min-width: 100%;
        max-width: 100%;
    }

    .highlight-main img {
        height: 280px;
    }

    .article-container {
        padding: 25px;
    }

    .article h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 900px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

body::after {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 1px;
}