* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: #333;
    background: #fff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

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

section {
    scroll-margin-top: 30px;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 999;
    border-bottom: 1px solid #eee;
}

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

.logo {
    height: 60px;
    width: auto;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav a.active {
    color: #00AEEF;
    font-weight: 700;
    border-bottom: 2px solid #00AEEF;
    padding-bottom: 5px;
}

/* BUTTONS */
.btn {
    background: #00AEEF;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
}

.btn-outline {
    border: 2px solid #00AEEF;
    color: #00AEEF;
    padding: 8px 18px;
    border-radius: 6px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #00AEEF, #2E3192);
    color: #fff;
    padding: 90px 0;
}

.hero h1 {
    font-size: 42px;
}

.hero p {
    margin: 20px 0;
    max-width: 500px;
}

.hero-buttons a {
    margin-right: 15px;
}

/* SECTIONS */
.solucoes,
.contato {
    padding: 80px 0;
}

.sobre {
    background: #f1f5f9;
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-6px);
}

/* SOBRE */
.sobre ul {
    margin-top: 20px;
}

.sobre li {
    list-style: none;
    margin-bottom: 10px;
}

/* FORM */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

form input,
form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* FOOTER */
footer {
    background: #2E3192;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* ANIMATIONS */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    font-size: 28px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.contato:target {
    animation: highlight 1.2s ease;
}

@keyframes highlight {
    0% {
        background-color: #e6f7ff;
    }
    100% {
        background-color: transparent;
    }
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {

    header .header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    nav {
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 13px;
    }
}
@media (max-width: 768px) {

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 16px;
        margin-top: 15px;
    }
}
@media (max-width: 768px) {

    .hero .btn-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
    }

    .hero .btn {
        width: 100%;
        text-align: center;
    }

    .hero .btn-outline{
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 768px) {

    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}
@media (max-width: 768px) {

    section {
        scroll-margin-top: 30px;
    }

    html {
        scroll-padding-top: 30px;
    }
}
