* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #333;
    background: #fff;
}

button,
a {
    font-family: inherit;
}

a {
    text-decoration: none;
}


/* ================= CORES ================= */

:root {
    --navy: #304b6b;
    --navy-dark: #243d59;
    --blue: #075bd0;
    --blue-dark: #174fae;
    --yellow: #ffd83d;
    --green: #25D366;
    --light: #f5f6f8;
    --gray: #666;
}


/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    background: var(--navy);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;
    z-index: 1000;

    box-shadow: 0 3px 15px rgba(0,0,0,.15);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 48px;
    height: 48px;

    background: var(--yellow);
    color: var(--navy);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: 800;
    border-radius: 2px;
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
    color: white;
}

.logo-text strong {
    font-size: 21px;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 4px;
}


/* ================= BOTÃO MENU ================= */

.menu-button {
    border: none;
    background: transparent;

    width: 45px;
    height: 45px;

    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
}

.menu-button span {
    display: block;

    width: 27px;
    height: 3px;

    background: white;
    border-radius: 3px;
}


/* ================= MENU ================= */

.menu-overlay {
    position: fixed;
    inset: 0;

    background: var(--navy-dark);

    z-index: 2000;

    padding: 100px 7% 50px;

    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;

    transition: .4s ease;

    overflow-y: auto;
}

.menu-overlay.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;

    right: 6%;
    top: 20px;

    border: none;
    background: transparent;

    color: white;

    font-size: 45px;

    cursor: pointer;
}

.menu-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr;

    gap: 50px;
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.menu-column h3 {
    color: var(--yellow);

    font-size: 14px;
    letter-spacing: 2px;

    margin-bottom: 12px;
}

.menu-column a,
.menu-column p {
    color: white;

    font-size: 16px;
    line-height: 1.7;

    transition: .3s;
}

.menu-column a:hover {
    color: var(--yellow);
    transform: translateX(5px);
}


/* ================= HERO ================= */

.hero {
    min-height: 720px;

    padding: 160px 7% 100px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(25, 40, 55, .82),
            rgba(25, 40, 55, .82)
        ),
        linear-gradient(
            135deg,
            #6c7378,
            #202d39
        );

    color: white;
}

.hero-content {
    max-width: 760px;
}

.hero-small {
    color: var(--yellow);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    margin-top: 18px;

    font-size: clamp(40px, 6vw, 72px);

    line-height: 1.08;
    font-weight: 500;
}

.hero h1 strong {
    display: block;

    color: var(--yellow);
    font-weight: 800;
}

.hero-subtitle {
    margin-top: 25px;

    font-size: 23px;
    font-weight: 600;
}

.hero-text {
    max-width: 700px;

    margin-top: 18px;

    color: #e5e8eb;

    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    gap: 15px;
    margin-top: 35px;

    flex-wrap: wrap;
}

.btn-yellow,
.btn-whatsapp {
    min-height: 52px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 3px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--navy);

    border: 2px solid var(--yellow);
}

.btn-yellow span {
    margin-left: 12px;
    font-size: 20px;
}

.btn-yellow:hover {
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: transparent;

    color: white;

    border: 2px solid var(--green);
}

.btn-whatsapp:hover {
    background: var(--green);
}


/* ================= SEÇÕES ================= */

.section {
    padding: 100px 7%;
}

.section-title {
    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-title span {
    color: var(--blue);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-title h2 {
    color: var(--navy);

    font-size: clamp(30px, 4vw, 46px);

    margin-top: 10px;

    line-height: 1.2;
}

.section-title p {
    color: var(--gray);

    margin-top: 15px;

    line-height: 1.7;
}


/* ================= SERVIÇOS ================= */

.services {
    background: white;
}

.services-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.service-card {
    background: white;

    border-radius: 5px;

    overflow: hidden;

    box-shadow: 0 8px 30px rgba(0,0,0,.08);

    transition: .3s;
}

.service-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 15px 35px rgba(0,0,0,.13);
}

.service-image {
    height: 190px;

    background:
        linear-gradient(
            135deg,
            #d6dadd,
            #aab1b7
        );

    position: relative;
}

.service-image::after {
    content: "CUBO CONTÁBIL";

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,.65);

    font-size: 20px;
    font-weight: 700;
}

.service-content {
    padding: 27px;
}

.service-content h3 {
    color: var(--navy);

    font-size: 19px;
    line-height: 1.35;
}

.service-content p {
    color: #777;

    font-size: 14px;
    line-height: 1.7;

    margin: 15px 0 23px;
}

.service-content a {
    display: inline-block;

    background: var(--blue);

    color: white;

    padding: 12px 18px;

    font-size: 13px;
    font-weight: 600;

    border-radius: 2px;

    border-bottom: 4px solid var(--green);
}


/* ================= NÚMEROS ================= */

.numbers {
    background: var(--blue);

    padding: 70px 7%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    color: white;

    text-align: center;
}

.number-item strong {
    display: block;

    color: var(--yellow);

    font-size: 46px;
    font-weight: 800;
}

.number-item span {
    font-size: 14px;
    opacity: .95;
}


/* ================= SOBRE ================= */

.about {
    padding: 100px 7%;

    background: #f4f5f7;
}


/* ================= MISSÃO ================= */

.mission {
    background: var(--blue);

    color: white;

    padding: 90px 7%;
}

.mission-container {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;
}

.mission-box,
.vision-box {
    display: flex;

    gap: 25px;
}

.mission-icon,
.vision-icon {
    flex-shrink: 0;

    width: 70px;
    height: 70px;

    border: 2px solid var(--yellow);

    color: var(--yellow);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 36px;
}

.mission-box span,
.vision-box span {
    color: var(--yellow);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.mission-box h2,
.vision-box h2 {
    margin: 7px 0 15px;

    font-size: 30px;
}

.mission-box p,
.vision-box p {
    color: #e7efff;

    line-height: 1.8;

    font-size: 14px;
}


/* ================= VALORES ================= */

.values {
    background: #f7f8fa;
}

.values-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.value-card {
    background: white;

    padding: 35px 25px;

    text-align: center;

    border-radius: 5px;

    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.value-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 20px;

    background: var(--yellow);

    color: var(--navy);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;
    font-weight: 800;
}

.value-card h3 {
    color: var(--navy);

    font-size: 20px;

    margin-bottom: 10px;
}

.value-card p {
    color: #777;

    font-size: 13px;

    line-height: 1.7;
}


/* ================= DIFERENCIAIS ================= */

.differentials {
    background: var(--navy);

    padding: 100px 7%;

    color: white;
}

.differentials-container {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.differentials-title span {
    color: var(--yellow);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.differentials-title h2 {
    font-size: 40px;

    line-height: 1.2;

    margin-top: 12px;
}

.differentials-title h2 strong {
    color: var(--yellow);
}

.differentials-title p {
    color: #d7dfe8;

    line-height: 1.8;

    margin-top: 20px;
}

.differentials-list {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.differentials-list div {
    background: rgba(255,255,255,.07);

    padding: 17px 20px;

    border-left: 4px solid var(--yellow);

    color: white;

    font-size: 14px;
}

.differentials-list span {
    color: var(--yellow);

    margin-right: 10px;

    font-weight: 800;
}


/* ================= CONTATO ================= */

.contact {
    background: var(--yellow);

    padding: 70px 7%;
}

.contact-container {
    max-width: 1100px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}

.contact-container > div {
    max-width: 700px;
}

.contact-container span {
    color: var(--navy);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.contact-container h2 {
    color: var(--navy);

    font-size: 38px;

    line-height: 1.2;

    margin-top: 8px;
}

.contact-container p {
    color: #42536a;

    margin-top: 12px;

    line-height: 1.7;
}

.contact-button {
    flex-shrink: 0;

    border: none;

    background: var(--navy);

    color: white;

    padding: 18px 27px;

    cursor: pointer;

    font-weight: 700;

    border-radius: 3px;

    transition: .3s;
}

.contact-button:hover {
    background: var(--navy-dark);

    transform: translateY(-3px);
}


/* ================= FOOTER ================= */

.footer {
    background: #243d59;

    color: white;

    padding: 65px 7% 0;
}

.footer-content {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 70px;

    padding-bottom: 50px;
}

.footer-brand p {
    max-width: 400px;

    color: #cbd4df;

    font-size: 14px;

    line-height: 1.8;

    margin-top: 20px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h3 {
    color: var(--yellow);

    margin-bottom: 10px;
}

.footer-column a,
.footer-column p {
    color: #d7dee7;

    font-size: 13px;
}

.footer-column a:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);

    padding: 22px 0;

    text-align: center;

    color: #b9c4d0;

    font-size: 11px;
}


/* ================= WHATSAPP FLUTUANTE ================= */

.whatsapp-floating {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    border: none;

    background: #25D366;

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 20px rgba(0,0,0,.25);

    font-size: 34px;

    cursor: pointer;

    z-index: 1500;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

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

    box-shadow: 0 9px 25px rgba(0,0,0,.30);
}

.whatsapp-floating i {
    display: block;
    line-height: 1;
}


/* ================= RESPONSIVO ================= */

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .differentials-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .menu-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 600px) {

    .header {
        height: 72px;

        padding: 0 20px;
    }

    .logo-box {
        width: 42px;
        height: 42px;

        font-size: 16px;
    }

    .logo-text strong {
        font-size: 18px;
    }

    .logo-text span {
        font-size: 9px;
    }


    .hero {
        min-height: 700px;

        padding: 130px 25px 70px;
    }

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

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-yellow,
    .btn-whatsapp {
        width: 100%;
    }


    .section {
        padding: 75px 22px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .numbers {
        grid-template-columns: 1fr 1fr;

        padding: 55px 20px;

        gap: 35px 10px;
    }

    .number-item strong {
        font-size: 34px;
    }

    .number-item span {
        font-size: 12px;
    }


    .mission {
        padding: 70px 22px;
    }

    .mission-container {
        gap: 45px;
    }

    .mission-box,
    .vision-box {
        flex-direction: column;
    }


    .values-grid {
        grid-template-columns: 1fr;
    }


    .differentials {
        padding: 75px 22px;
    }

    .differentials-title h2 {
        font-size: 31px;
    }


    .contact {
        padding: 60px 22px;
    }

    .contact-container h2 {
        font-size: 30px;
    }

    .contact-button {
        width: 100%;
    }


    .footer {
        padding: 55px 22px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .menu-overlay {
        padding: 90px 25px 50px;
    }

    .menu-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .menu-column {
        gap: 8px;
    }


    .whatsapp-floating {
        width: 55px;
        height: 55px;

        right: 15px;
        bottom: 15px;

        font-size: 30px;
    }
}
