* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #121212;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.logo span {
    color: #1f4f8f;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    transition: 0.2s;
}

.menu a:hover {
    color: #1f4f8f;
}

/* BOTÕES */

.btn,
.btn-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 22px;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn {
    background: #1f4f8f;
    color: #fff;
    border: 1px solid #1f4f8f;
    box-shadow: 0 10px 25px rgba(31, 79, 143, 0.18);
}

.btn:hover {
    transform: translateY(-2px);
    background: #173c6c;
    border-color: #173c6c;
}

.btn-secondary {
    border: 1px solid #d1d5db;
    color: #111827;
    background: #fff;
}

.btn-secondary:hover {
    border-color: #9ca3af;
    transform: translateY(-2px);
}

.btn-small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
}

.btn-light {
    background: #fff;
    color: #111827;
    border-color: #fff;
}

.btn-light:hover {
    background: #e9eef5;
    color: #111827;
}

/* HERO */

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(31, 79, 143, 0.12), transparent 34%),
        linear-gradient(135deg, #f8fafc 0%, #eef3f9 100%);
    padding: 110px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.tag,
.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #1f4f8f;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(44px, 5vw, 74px);
    line-height: 1.02;
    letter-spacing: -3px;
    max-width: 780px;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #1f4f8f;
}

.hero-description {
    max-width: 650px;
    font-size: 19px;
    color: #5f6875;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.hero-benefits {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.benefit strong {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #1f4f8f;
    background: rgba(31, 79, 143, 0.1);
}

/* HERO CARD */

.hero-card {
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 30px 80px rgba(31, 41, 55, 0.13);
    backdrop-filter: blur(16px);
    padding: 46px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -50px;
    background: rgba(31, 79, 143, 0.08);
    border-radius: 50%;
}

.card-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #1f4f8f;
    margin-bottom: 18px;
}

.glass-card h2 {
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
}

.glass-card p {
    color: #667085;
    margin-bottom: 26px;
}

/* SEÇÕES */

.services,
.process,
.quote-section {
    padding: 110px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading h2,
.quote-content h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.section-heading p,
.quote-content p {
    color: #667085;
    font-size: 17px;
}

/* SERVIÇOS */

.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 300px;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(17, 24, 39, 0.09);
    border-color: #cbd5e1;
}

.service-number {
    font-size: 13px;
    font-weight: 800;
    color: #1f4f8f;
    margin-bottom: 54px;
}

.service-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.service-card p {
    color: #687180;
    font-size: 15px;
    margin-bottom: 24px;
}

.service-card a {
    margin-top: auto;
    font-weight: 700;
    color: #1f4f8f;
}

/* PROCESSO */

.process {
    background: #111827;
    color: #fff;
}

.process .section-tag {
    color: #93b4df;
}

.process .section-heading {
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.process-item {
    padding: 30px 0;
    border-top: 1px solid #374151;
}

.process-item > span {
    display: inline-block;
    color: #9fbbe0;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 30px;
}

.process-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.process-item p {
    max-width: 310px;
    color: #9ca3af;
}

/* ORÇAMENTO */

.quote-section {
    background: #f5f7fa;
}

.quote-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.quote-content {
    position: sticky;
    top: 130px;
}

.quote-info {
    margin-top: 40px;
    display: grid;
    gap: 17px;
}

.quote-info div {
    display: flex;
    gap: 13px;
    align-items: center;
}

.quote-info strong {
    color: #1f4f8f;
}

.quote-info span {
    color: #4b5563;
}

.quote-form {
    background: #fff;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(17, 24, 39, 0.08);
}

.form-group {
    margin-bottom: 21px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #374151;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d7dce3;
    background: #fbfcfd;
    padding: 14px 15px;
    font: inherit;
    color: #111827;
    border-radius: 10px;
    outline: none;
    transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #1f4f8f;
    box-shadow: 0 0 0 3px rgba(31, 79, 143, 0.1);
    background: #fff;
}

textarea {
    resize: vertical;
}

.form-button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 15px;
    margin-top: 4px;
}

.quote-form small {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: #89909b;
    font-size: 12px;
}

/* CTA FINAL */

.final-cta {
    padding: 75px 0;
    background: #1f4f8f;
    color: #fff;
}

.final-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.final-cta span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #cbdcf2;
}

.final-cta h2 {
    margin-top: 8px;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -1.7px;
}

/* FOOTER */

footer {
    background: #0b1220;
    color: #fff;
    padding: 34px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content p {
    color: #7e8998;
    font-size: 13px;
}

/* RESPONSIVO */

@media (max-width: 900px) {
    .menu {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 85px 0 70px;
    }

    .hero-grid,
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-content {
        position: static;
    }
}

@media (max-width: 650px) {
    .container {
        width: min(92%, 1120px);
    }

    .header .btn-small {
        display: none;
    }

    .nav {
        min-height: 66px;
    }

    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 12px;
    }

    .glass-card {
        padding: 30px 24px;
    }

    .services,
    .process,
    .quote-section {
        padding: 78px 0;
    }

    .services-grid,
    .process-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 260px;
    }

    .service-number {
        margin-bottom: 35px;
    }

    .quote-form {
        padding: 25px 20px;
    }

    .final-cta-content,
    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .final-cta .btn {
        width: 100%;
    }
}