* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #183047;
    background: #f6f9fc;
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}

/* BARRA SUPERIOR */

.topbar {
    background: #0a3558;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

/* MENU */

.navbar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 15px #163a5b1a;
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #0b4f83;
}

.brand img {
    width: 72px;
    height: 55px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-links a:hover {
    color: #168bc1;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 28px;
}

/* HERO */

.hero {
    padding: 85px 0;
    background: linear-gradient(
        120deg,
        #e8f7ff,
        #fff 55%,
        #e8fff3
    );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 50px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 67px);
    line-height: 1.04;
    margin: 0 0 20px;
    color: #073b61;
}

.hero h1 span {
    color: #1699cf;
}

.hero p {
    font-size: 20px;
    max-width: 720px;
}

.hero-logo {
    width: 100%;
    max-width: 390px;
    filter: drop-shadow(0 18px 20px #1a6e9933);
}

/* BOTÕES */

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 10px;
    background: #159b55;
    color: #fff;
    font-weight: 700;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: 0.2s;
}

.btn.secondary {
    background: #0d6da3;
}

/* SEÇÕES */

.section {
    padding: 80px 0;
}

.section.white {
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 38px;
    color: #083f68;
    margin: 0 0 8px;
}

.section-title p {
    max-width: 750px;
    margin: auto;
    color: #60788c;
}

/* CARDS DE SERVIÇOS */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 30px #193d5d12;
    border: 1px solid #e5eef5;
}

.card h3 {
    color: #086c9f;
    margin-top: 0;
}

.icon {
    font-size: 35px;
}

/* SOBRE O NUVEMBOX */

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-grid img {
    width: 100%;
    max-width: 430px;
    border-radius: 16px;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.feature {
    padding: 12px;
    background: #eef8fd;
    border-radius: 8px;
}

/* PARCEIROS */

.partners {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
}

.partner-card {
    background: #fff;
    border: 1px solid #dce9f1;
    border-radius: 14px;
    padding: 25px;
    width: 320px;
    min-height: 230px;
    text-align: center;
    box-shadow: 0 5px 20px #173d5910;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    transition: transform 0.2s, box-shadow 0.2s;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px #173d5920;
}

.partner-card img {
    display: block;
    width: 100%;
    max-width: 280px;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
}

.partner-card strong {
    display: block;
    width: 100%;
    font-size: 18px;
    color: #183047;
    text-align: center;
}

.partner-card small {
    display: block;
    color: #718696;
}

.partner-placeholder {
    font-size: 22px;
    font-weight: 800;
    color: #50a333;
}

/* CONTATO */

.contact-box {
    background: linear-gradient(
        135deg,
        #073b61,
        #087ba9
    );
    color: #fff;
    border-radius: 20px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-box h2 {
    font-size: 38px;
    margin-top: 0;
}

.contact-box a {
    color: #bfffe0;
}

.contact-box .btn {
    color: #fff;
}

.contact-info {
    font-size: 18px;
}

/* RODAPÉ */

footer {
    background: #062b47;
    color: #d9e8f2;
    padding: 30px 0;
    text-align: center;
}

.note {
    font-size: 14px;
    color: #718696;
}

/* RESPONSIVO PARA CELULAR */

@media (max-width: 800px) {

    .hero-grid,
    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        padding: 55px 0;
    }

    .hero-logo {
        max-width: 300px;
        margin: auto;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        box-shadow: 0 8px 15px #0001;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .buttons {
        justify-content: center;
    }

    .partner-card {
        width: 100%;
        max-width: 350px;
    }

    .partner-card img {
        max-width: 100%;
        height: auto;
        max-height: 180px;
    }
}