:root {
    --navy: #061d40;
    --ocean: #1572c6;
    --sky: #8ac4ff;
    --text: #0f1c33;
    --muted: #4d586e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    color: var(--text);
}

a {
    color: inherit;
}

.header {
    background: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.header-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--navy);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ocean);
}

.hero {
    min-height: 100vh;
    padding: 8rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(5, 29, 64, 0.9), rgba(5, 29, 64, 0.4));
    color: #fff;
    text-align: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-title {
    font-size: 2.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero,
.btn-ghost {
    border-radius: 999px;
    padding: 0.9rem 2.5rem;
    border: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero {
    background: var(--ocean);
    color: #fff;
    border-color: var(--ocean);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    width: 100%;
    max-width: 1000px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.hero-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sobre {
    padding: 5rem 2rem;
}

.sobre-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.sobre-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sobre-title {
    font-size: 2.4rem;
    font-weight: 700;
}

.sobre-text {
    color: var(--muted);
    line-height: 1.8;
}

.sobre-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ocean);
}

.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.sobre-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(5, 29, 64, 0.15);
}

.servicos {
    padding: 5rem 2rem;
    background: #fff;
}

.servicos-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.servicos-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.servicos-subtitle {
    color: var(--muted);
    font-size: 1rem;
}

.service-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f7fafd;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(5, 29, 64, 0.1);
    display: flex;
    flex-direction: column;
}

.service-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-body {
    padding: 1.6rem;
}

.service-body h4 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.service-body p {
    color: var(--muted);
    line-height: 1.6;
}

.diferenciais {
    padding: 3.5rem 2rem;
    background: #e4f1ff;
}

.diferenciais-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.diferenciais-container h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.diferenciais-container ul {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 1rem;
}

.newsletter {
    padding: 4rem 2rem;
}

.newsletter-container {
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(5, 29, 64, 0.08);
    text-align: center;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.newsletter-subtitle {
    color: var(--muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: grid;
    gap: 1.2rem;
}

.form-group label {
    display: block;
    text-align: left;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.3rem;
}

.form-group input {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    border: 1px solid #d7dfe8;
    font-size: 1rem;
}

.btn-submit {
    border: none;
    border-radius: 999px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    background: var(--navy);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.footer {
    background: var(--navy);
    color: #fff;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.footer-column p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-form {
    display: grid;
    gap: 0.6rem;
}

.footer-form input {
    border-radius: 10px;
    border: none;
    padding: 0.9rem 1rem;
}

.btn-footer-submit {
    border-radius: 999px;
    border: none;
    padding: 0.9rem 2rem;
    background: var(--ocean);
    color: #fff;
    font-weight: 600;
    margin-top: 0.3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.animate-item {
    opacity: 0;
    transform: translateY(30px);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero {
        padding-top: 10rem;
    }

    .servicos-header {
        text-align: left;
    }
}

