body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f8fb;
    color: #333;
}

header {
    background: #0056b3;
    color: white;
    padding: 20px 40px 50px; /* espaço extra no fundo pro links */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    position: relative;
}

/* SEÇÃO DO LOGO E TEXTO */
.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 50px; /* 🔹 abaixa todo o bloco do logo e texto */
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
}

h1.logo {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    line-height: 1.1;
    transform: translateX(-5px);
}

/* NanoSIP com sombra 20% mais intensa */
.logo .nanosip {
    display: inline-block;
    font-size: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 40%, #d9d9d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1.2px 1.2px rgba(255,255,255,0.6),
        0 2.4px 3.6px rgba(0,0,0,0.36),
        0 4.8px 7.2px rgba(0,0,0,0.48);
    font-weight: 800;
    overflow: visible;
    padding-right: 3px;
}

/* Connect com sombra 20% mais intensa */
.logo .connect {
    display: inline-block;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #7fffd4 2%, #e4ffb5 98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 2.4px 4.8px rgba(0,0,0,0.48);
    overflow: visible;
}

/* MINIATURAS SOBREPOSTAS NO CENTRO */
.header-thumbnails {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
}

.header-thumbnails .thumb {
    width: 140px; /* aumentei um pouco */
    height: 80px;
    border-radius: 5px;
    margin-left: -45px; /* sobreposição */
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* LINKS NO FUNDO DO HEADER À DIREITA */
.header-links {
    position: absolute;
    bottom: 8px; /* quase colado na borda */
    right: 40px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.header-links a:hover {
    color: #00aaff;
}

/* ÁREA PRINCIPAL */
main {
    max-width: 900px;
    margin: 50px auto 120px auto;
    padding: 0 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* CARROSSEL */
.carousel {
    position: relative;
    max-width: 900px;
    margin: 30px auto;
    overflow: hidden;
    background-color: #002244;
    border-radius: 10px;
    padding: 10px;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* RODAPÉ */
.site-footer {
    background-color: #0056b3;
    color: white;
    padding: 20px 40px;
    font-size: 0.9rem;
    margin-top: 40px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left p {
    margin: 5px 0;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.footer-right a:hover {
    color: #00aaff;
}

/* MOBILE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding-bottom: 60px;
    }

    .header-thumbnails {
        position: static;
        transform: none;
        margin: 10px 0;
    }

    .header-links {
        bottom: 5px;
        right: 20px;
    }
}

