:root {
    --navy: #061d40;
    --ocean: #1572c6;
    --muted: #4d586e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    color: var(--muted);
}

.header {
    background: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.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: 1.5rem;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    padding-bottom: 0.2rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--navy);
}

.nav-link.active::after {
    content: '';
    height: 2px;
    width: 100%;
    background: var(--ocean);
    position: absolute;
    left: 0;
    bottom: -4px;
}

.servicos-hero {
    background: linear-gradient(135deg, rgba(5, 29, 64, 0.9), rgba(5, 29, 64, 0.5));
    color: #fff;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
}

.servicos-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.servicos-hero h1 {
    font-size: 2.7rem;
    margin: 0.8rem 0;
}

.servicos-hero p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.btn-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.9rem 2.5rem;
    border-radius: 999px;
    background: var(--ocean);
    border: none;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.servicos-grid {
    padding: 4rem 1.5rem;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
}

.service-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding-bottom: 1.5rem;
    box-shadow: 0 18px 45px rgba(5, 29, 64, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    margin: 1rem 1.4rem 0.5rem;
    color: var(--navy);
}

.service-card p {
    color: var(--muted);
    margin: 0 1.4rem;
    line-height: 1.6;
}

.servicos-detalhes {
    padding: 3rem 1.5rem;
}

.detalhe-card {
    background: #fff;
    border-radius: 24px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(5, 29, 64, 0.08);
    margin-bottom: 1.5rem;
}

.detalhe-card img {
    width: 200px;
    height: 160px;
    border-radius: 18px;
    object-fit: cover;
}

.detalhe-card div h3 {
    color: var(--navy);
    margin-bottom: 0.7rem;
}

.detalhe-card div p {
    color: var(--muted);
    line-height: 1.7;
}

.cta {
    padding: 3rem 1.5rem 4rem;
}

.cta-card {
    background: #061d40;
    color: #fff;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(5, 29, 64, 0.3);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer {
    background: var(--navy);
    color: #fff;
    padding: 3rem 1.5rem;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.footer-column h3 {
    margin-bottom: 0.5rem;
}

.footer-column p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.animate-item {
    opacity: 0;
    transform: translateY(30px);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-section {
    padding: 3rem 1.5rem;
    background: #fff;
}

.info-section h2 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-section p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 900px;
}

@media (max-width: 768px) {
    .detalhe-card {
        flex-direction: column;
        text-align: center;
    }

    .detalhe-card img {
        width: 100%;
    }
}

