/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
    --rm-blue: #0c2340;
    --rm-blue-dark: #071a30;
    --rm-blue-light: #173b62;

    --rm-green: #55a83b;
    --rm-green-dark: #438c2f;
    --rm-green-light: #eaf5e7;

    --text: #16263a;
    --text-light: #647184;

    --white: #ffffff;
    --background: #f7f9fb;
    --border: #e5eaf0;

    --container: 1180px;

    --radius: 16px;


        /* =====================================================
       VERDES DA LOGO
    ===================================================== */

    /* Verde principal da marca */
    --primary: #429B65;

    /* Verde escuro */
    --primary-dark: #244A38;

    /* Verde intermediário */
    --primary-light: #577D69;

    /* Verde sálvia */
    --accent: #9EB291;

    /* Verde muito claro */
    --accent-light: #D2DBBA;
}

/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    background: #ffff;

    border-bottom: 1px solid transparent;

    transition:
        background .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.header.scrolled {
    border-color: var(--border);

    box-shadow:
        0 8px 30px rgba(36, 74, 56, .08);
}

.header-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 145px;
    height: auto;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;

    font-size: 13px;
    font-weight: 600;

    color: var(--text);

    transition:
        color .25s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition:
        width .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================================================
   BOTÃO + DROPDOWN DE CONTATO
========================================================= */

.contato-dropdown {
    position: relative;
    display: inline-block;
}

/* BOTÃO FECHADO */

.contato-btn {
    width: 168px;
    height: 45px;

    padding: 0 20px;

    background: transparent;
    border: 1px solid #4fc477;
    border-radius: 3px;

    color: #269b52;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

/* BOTÃO ABERTO */

.contato-dropdown {
position: relative;
display: inline-block;
}

/* =========================================================
   MENU
========================================================= */

.contato-btn {
width: 168px;
height: 45px;
padding: 0 20px;

background: transparent;

border: 1px solid #4fc477;
border-radius: 3px;

color: #269b52;

font-size: 14px;
font-weight: 500;

cursor: pointer;

transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;

}

.contato-dropdown.aberto .contato-btn {
background: #4fc477;
color: #fff;
border-color: #4fc477;
}

/* MENU ABERTO */

.contato-dropdown.aberto .contato-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

/* =========================================================
   LINKS
========================================================= */

.contato-item {
    display: block;

    padding: 7px 0;

    color: #111;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}

.contato-item:hover {
    color: #269b52;
}

/* =========================================================
   WHATSAPP
========================================================= */

.contato-btn {
    width: 168px;
    height: 45px;
    padding: 0 20px;
    background: transparent;
    border: 1px solid #4fc477;
    border-radius: 3px;
    color: #269b52;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.contato-dropdown.aberto .contato-btn {
    background: #4fc477;
    color: #fff;
    border-color: #4fc477;
}


/* =========================================================
   HOVER
========================================================= */

.contato-whatsapp:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}


/* =========================================================
   ÍCONE
========================================================= */

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    color: var(--primary);

    font-size: 22px;
    font-weight: bold;

    transform: rotate(-35deg);

    transition: color .25s ease;
}


/* ÍCONE NO HOVER */

.contato-whatsapp:hover .whatsapp-icon {
    color: var(--white);
}

/* =========================================================
   BOTÃO DO MENU
========================================================= */

.nav-link-outline {
    padding: 11px 17px;

    border: 1px solid var(--primary);

    border-radius: 3px;

    color: var(--primary);
}

.nav-link-outline::after {
    display: none;
}

.nav-link-outline:hover {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
}

.menu-button span {
    width: 24px;
    height: 2px;

    background: var(--primary);

    transition: .3s;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--primary-dark);

    color: var(--white);
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.2fr;

    gap: 50px;

    padding: 70px 0;
}

.footer-brand img {
    width: 145px;

    margin-bottom: 20px;

    /*
       Se sua logo já for clara,
       remova este filtro.
    */
}

.footer-brand p {
    max-width: 260px;

    color: rgba(255, 255, 255, .58);

    font-size: 12px;

    line-height: 1.8;
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 13px;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, .58);

    font-size: 12px;

    transition:
        color .2s;
}

.footer-column a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    min-height: 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255, 255, 255, .10);

    color: rgba(255, 255, 255, .40);

    font-size: 10px;
}




/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Lato", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;
}


/* =========================================================
   ELEMENTOS GERAIS
========================================================= */

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--rm-green);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-tag::before {
    content: "";

    width: 28px;
    height: 3px;

    border-radius: 10px;

    background: var(--rm-green);
}


.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header.centered .section-tag {
    justify-content: center;
}

.section-header h2 {
    margin-top: 16px;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;

    letter-spacing: -1.5px;

    color: var(--rm-blue);
}

.section-header h2 span {
    color: var(--rm-green);
    text-wrap: nowrap;
}

.section-header p {
    margin-top: 18px;

    color: var(--text-light);

    font-size: 17px;
}


/* =========================================================
   HERO
========================================================= */

.clients-hero {
    position: relative;

    padding: 110px 0 100px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f7fafc 0%,
            #ffffff 60%
        );
}

.clients-hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -180px;
    top: -220px;

    border-radius: 50%;

    background: var(--rm-green-light);

    opacity: .7;
}

.clients-hero::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: -100px;
    bottom: -100px;

    border-radius: 50%;

    border: 35px solid #eef3f7;

    opacity: .8;
}

.clients-hero .container {
    position: relative;
    z-index: 2;
}

.clients-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    gap: 100px;

    align-items: center;
}

.clients-hero-content {
    max-width: 650px;
}

.clients-hero-content h1 {
    margin-top: 18px;

    font-size: clamp(44px, 5.5vw, 72px);

    line-height: 1.02;

    letter-spacing: -3px;

    color: var(--rm-blue);
}

.clients-hero-content h1 span {

    color: var(--rm-green);
}

.clients-hero-content p {
    max-width: 570px;

    margin-top: 28px;

    font-size: 21px;

    color: var(--text-light);
}

.clients-hero-description {
    position: relative;

    padding-left: 34px;
}

.description-line {
    position: absolute;

    left: 0;
    top: 5px;

    width: 4px;
    height: calc(100% - 10px);

    border-radius: 10px;

    background: var(--rm-green);
}

.clients-hero-description p {
    margin-bottom: 22px;

    font-size: 16px;

    color: var(--text-light);
}

.clients-hero-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CLIENTES
========================================================= */

.clients-section {
    padding: 110px 0 120px;

    background: var(--white);
}


/* =========================================================
   GRID DE CLIENTES
========================================================= */

.clients-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.client-card {
    min-height: 150px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #ffffff;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.client-card:hover {
    transform: translateY(-5px);

    border-color: #d4e3d0;

    box-shadow:
        0 16px 35px rgba(12, 35, 64, .08);
}

.client-card img {
    max-width: 155px;
    max-height: 75px;

    width: auto;
    height: auto;

    object-fit: contain;

    filter: grayscale(100%);

    opacity: .72;

    transition:
        filter .25s ease,
        opacity .25s ease,
        transform .25s ease;
}

.client-card:hover img {
    filter: grayscale(0%);

    opacity: 1;

    transform: scale(1.04);
}


/* =========================================================
   CONTATO
========================================================= */

.client-contact {
    position: relative;

    padding: 110px 0;

    background: var(--accent-light);

    overflow: hidden;
}

.client-contact::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    top: -250px;

    border-radius: 50%;

    border: 80px solid rgba(255,255,255,.035);
}

.client-contact::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -180px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(85,168,59,.08);
}

.client-contact .container {
    position: relative;
    z-index: 2;
}

.contact-wrapper {
    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);

    gap: 90px;

    align-items: center;
}

.contact-content {
    color: var(--text);
}

.contact-content .section-tag {
    color: var(--rm-green);
}

.contact-content h2 {
    margin-top: 18px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.contact-content h2 span {
    display: block;

    color: var(--rm-green);
}

.contact-highlight {
    margin-top: 30px;

    font-size: 21px;

    font-weight: 700;

    color: var(--text);
}

.contact-content > p:not(.contact-highlight) {
    max-width: 500px;

    margin-top: 10px;

    color: var(--text);

    font-size: 16px;
}

.contact-decoration {
    display: flex;

    gap: 7px;

    margin-top: 35px;
}

.contact-decoration span {
    display: block;

    width: 35px;
    height: 4px;

    border-radius: 10px;

    background: var(--rm-green);
}

.contact-decoration span:nth-child(2) {
    width: 15px;

    opacity: .6;
}

.contact-decoration span:nth-child(3) {
    width: 7px;

    opacity: .3;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.contact-form {
    padding: 38px;

    border-radius: 20px;

    background: var(--white);

    box-shadow:
        0 25px 70px rgba(0,0,0,.18);
}

.form-group {
    width: 100%;

    margin-bottom: 16px;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #e1e7ed;

    border-radius: 10px;

    background: #f8fafc;

    color: var(--text);

    outline: none;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.form-group input {
    height: 55px;

    padding: 0 17px;
}

.form-group textarea {
    min-height: 145px;

    padding: 16px 17px;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b97a5;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--rm-green);

    background: var(--white);

    box-shadow:
        0 0 0 3px rgba(85,168,59,.10);
}

.form-button {
    width: 100%;

    min-height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-top: 5px;

    border: 0;

    border-radius: 10px;

    background: var(--rm-green);

    color: var(--white);

    font-size: 15px;

    font-weight: 800;

    transition:
        background .2s ease,
        transform .2s ease;
}

.form-button span {
    font-size: 21px;

    transition:
        transform .2s ease;
}

.form-button:hover {
    background: var(--rm-green-dark);

    transform: translateY(-2px);
}

.form-button:hover span {
    transform: translateX(5px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .clients-hero {
        padding: 85px 0;
    }

    .clients-hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .clients-hero-content h1 {
        letter-spacing: -2px;
    }

    .clients-hero-description {
        max-width: 700px;
    }

    .clients-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .contact-wrapper {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .contact-content {
        max-width: 700px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }

    .clients-hero {
        padding: 65px 0 70px;
    }

    .clients-hero-content h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .clients-hero-content p {
        font-size: 18px;
    }

    .clients-hero-description {
        padding-left: 22px;
    }

    .clients-hero-description p {
        font-size: 15px;
    }

    .clients-section {
        padding: 70px 0 75px;
    }

    .section-header {
        margin-bottom: 38px;
    }

    .section-header h2 {
        font-size: 34px;

        letter-spacing: -1px;
    }

    .section-header p {
        font-size: 15px;
    }

    .clients-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .client-card {
        min-height: 115px;

        padding: 18px;
    }

    .client-card img {
        max-width: 110px;
        max-height: 55px;
    }

    .client-contact {
        padding: 70px 0;
    }

    .contact-content h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .contact-highlight {
        font-size: 18px;
    }

    .contact-form {
        padding: 22px;

        border-radius: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-group input {
        height: 52px;
    }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {

    .clients-grid {
        gap: 10px;
    }

    .client-card {
        min-height: 105px;

        padding: 12px;
    }

    .client-card img {
        max-width: 95px;
        max-height: 48px;
    }

    .clients-hero-content h1 {
        font-size: 38px;
    }

}