:root {
    --hdr-h: 70px;
    --banner-min: clamp(420px, 72vh, 720px);
    --glass-tint: rgba(6, 27, 56, .40);
    --glass-hi1: rgba(255, 255, 255, .14);
    --glass-hi2: rgba(255, 255, 255, .06);
    --glass-brd: rgba(255, 255, 255, .25);
}

/* a seção em si */
.banner {
    position: relative;
    margin-top: var(--hdr-h);
    /* não deixa o header “comer” o topo */
    min-height: var(--banner-min);
    overflow: hidden;
    /* corta sobras do img */
}

/* a imagem vira “fundo” com cover */
.banner>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cobre sem distorcer */
    object-position: center;
    /* ajuste o enquadramento se quiser */
    display: block;
}

/* leve escurecido para legibilidade */
.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .32));
    pointer-events: none;
}

/* ====== (opcional) cards por cima ====== */
.banner__inner {
    position: relative;
    z-index: 1;
    width: min(1100px, 92%);
    margin: 0 auto;
    min-height: var(--banner-min);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(16px, 4vw, 40px);
    padding: clamp(16px, 3vw, 24px) 0;
}

.card {
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.black_card {
    border-radius: 8px;
    border: 1px solid var(--glass-brd);
    background:
        linear-gradient(0deg, var(--glass-tint), var(--glass-tint)),
        linear-gradient(180deg, var(--glass-hi1), var(--glass-hi2));
    box-shadow: 0 10px 36px -12px rgba(0, 0, 0, .35);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    color: #fff;
    height: 300px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.black_card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
    text-align: center;
}

.black_card p {
    font-size: 1.25rem;
}


.brand {
    justify-self: start;
    font-weight: 700;
    display: grid;
    gap: 6px;
    color: #002F5D;
    text-transform: uppercase;
}

.brand__logo {
    width: clamp(48px, 7vw, 80px);
    margin-inline: auto;
}

.copy {
    justify-self: end;
}

.copy h2 {
    margin: 0 0 .35em;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.6vw, 2.2rem);
    line-height: 1.15;
}


@media (max-width: 900px) {
    .banner__inner {
        grid-template-columns: 1fr;
    }

    .brand,
    .copy {
        justify-self: center;
    }
}

.sobre {
    background: linear-gradient(103deg, #0063C3 0%, #002F5D 58%);
    padding-top: 60px;
    padding-bottom: 60px;
}

#sobre {
    scroll-margin-top: 70px;
}

.container-sobre {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.title-h2 {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #fff;
    text-transform: uppercase;
    position: relative;
}

.title-h2-blue {
    color: #002F5D;
}

.title-h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 40px;
    background: #fff;
    position: absolute;
    left: -20px;
    top: 2px;
}

.title-h2::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 40px;
    background: #fff;
    position: absolute;
    right: -20px;
    top: 2px;
}

.title-h2-blue::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 40px;
    background: #002F5D;
    position: absolute;
    left: -20px;
    top: 2px;
}

.title-h2-blue::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 40px;
    background: #002F5D;
    position: absolute;
    right: -20px;
    top: 2px;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

.grid_quem_somos {
    display: grid;
    grid-template-columns: 1fr 4px 1fr;
    gap: 80px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.divider {
    background: #fff;
    /* cor da barra */
    border-radius: 2px;
}


.description {
    position: relative;
}


.description p {
    color: #fff;
    font-size: 1.25rem;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.5;
}

/* Serviços */

.servicos {
    background: #fff;
    padding-top: 60px;
    background-image: url('../img/hatch_1.svg');
    background-repeat: repeat;
    background-size: 44px 12px;
}

.container-servicos {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.introduction_servicos {
    color: #002F5D;
    font-size: 1.5rem;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.5;
    padding-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.intro_top {
    padding-bottom: 40px;
}

.intro_bottom {
    padding-top: 60px;
    padding-bottom: 40px;
}

.grid_servicos {
    display: flex;
    flex-wrap: wrap;
    gap: 45px;
    justify-content: center;

}

.area-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    isolation: isolate;
    /* garante o overlay acima da imagem */
    transition: transform .2s ease;
    width: 350px;
    height: 250px;
}

.area-card img {
    width: 100%;
    aspect-ratio: 4/3;
    /* altura automática e consistente */
    object-fit: cover;
    /* preenche sem distorcer */
    display: block;
    filter: saturate(.98);
    transition: transform .35s ease;
}

/* overlay escuro por cima da imagem */
.area-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .45));
    z-index: 1;
    transition: opacity .2s ease;
}

/* título centralizado (ou perto do centro) */
.area-title {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    /* centraliza o texto */
    padding: 12px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 2.5rem;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    z-index: 2;
    /* acima do overlay */
}

/* efeito hover opcional */
.area-card:hover {
    transform: translateY(-2px);
}

.area-card:hover img {
    transform: scale(1.05);
}

.area-card:hover::after {
    opacity: .55;
}

.grid_servicos> :nth-last-child(2) {
    grid-column: 1;
}

.grid_servicos> :last-child {
    grid-column: 3;
}

.btt_contato {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 80px;
}

.btt_contato_span {
    border-radius: 8px;
    background-image: linear-gradient(103deg,
            #0063C3 0%,
            #002F5D 50%,
            #0063C3 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    font: 700 2rem 'IBM Plex Sans', sans-serif;
    padding: 20px 40px;
    transition: background-position .4s ease;
}

.btt_contato_span:hover {
    background-position: 100% 0%;
}

/* Contato */

.contato {
    background: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.title-h3-contato {
    color: #fff;
    font-size: 1.25rem;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.5;
    font-weight: 700;
    padding-bottom: 60px;
}

.grid_contato {
    display: grid;
    grid-template-columns: 5fr 7fr;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.10);
    border: 1px solid #0063C3;
    border-radius: 8px;
}

.contato-dados {
    border-radius: 8px 0 0 8px;
    background: linear-gradient(103deg, #0063C3 0%, #002F5D 57.21%);
    padding: 60px;
}

.contato-endereco {
    margin-bottom: 32px;
    padding-left: 28px;
    background: url('../img/icones/local.svg') no-repeat 0px 2px;
}

.contato-endereco p {
    color: #ccc;
    font-size: 1.rem;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.5;
    font-weight: 400;
}


.contato-email a,
.contato-phone a {
    margin-bottom: 32px;
    padding-left: 28px;
    color: #ccc;
    font-size: 1rem;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.5;
    font-weight: 400;
    font-style: normal
}

.contato-email {
    margin-bottom: 32px;
}

.contato-email a {
    background: url('../img/icones/email.svg') no-repeat 0px 2px;
}

.contato-phone a {
    background: url('../img/icones/telefone.svg') no-repeat 0px 2px;
}

.contato-phone {
    margin-bottom: 60px;
}

.contato-redes {
    display: flex;
    gap: 32px;
    padding-left: 28px;
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 60px;
}


.form label {
    display: block;
    font: 600 1rem/1.5 "IBM Plex Sans", sans-serif;
    margin-bottom: 4px;
}

.form .col-2 {
    grid-column: span 2;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
    font: 400 1rem/1.5 "IBM Plex Sans", sans-serif;
    background: #f7f7f7;
    border: 1px solid #ededed;
    padding: 12px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form textarea:focus {
    outline: none;
    border-color: #f7f7f7;
    background: #fff;
    box-shadow: 0 0 0 2px #1E3F60;
}

.botao {
    display: inline-block;
    padding: 16px 32px;
    text-transform: uppercase;
    color: #fff;
    font: 600 1.125rem / 1.35 "IBM Plex Sans", sans-serif;
    max-width: max-content;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    background-image: linear-gradient(103deg,
            #0063C3 0%,
            #002F5D 50%,
            #0063C3 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    transition: background-position .4s ease;
}

.botao:hover {
    background-position: 100% 0%;
}

@media (max-width: 1400px) {
    .container-servicos {
        max-width: 1000px;
    }

    .grid_quem_somos {
        gap: 40px;
    }
}

@media (max-width: 1000px) {
    .grid_quem_somos {
        grid-template-columns: 1fr;
        padding-top: 0px;
    }

    .divider {
        display: none;
    }

    .title {
        padding-bottom: 40px;
    }

    .sobre {
        padding-top: 40px;
    }

    .title-h2 {
        font-size: 1.5rem;
    }

    .title-h2::before,
    .title-h2::after {
        height: 30px;
    }

    .btt_contato_span {
        padding: 10px 20px;
        font-size: 1.5rem;
    }

    .intro_bottom {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .introduction_servicos {
        font-size: 1.25rem;
    }

    .area-title {
        font-size: 2rem;
    }

    .btt_contato {
        padding-bottom: 60px;
    }
}

@media (max-width: 800px) {
    .grid_contato {
        grid-template-columns: 1fr;
    }

    .contato-dados {
        border-radius: 8px 8px 0px 0px;
        padding: 20px;
    }

    .form {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .form .col-2 {
        grid-column: 1;
    }

    .formulario {
        border-radius: 0px 0px 10px 10px;
    }

    .title-h3-contato {
        padding-bottom: 30px;
    }
}

@media (max-width: 500px) {
    .contato-email {
        display: flex;
        flex-direction: column;
        gap: 6px;
        max-width: 100%;
        font-style: normal;
    }

    .contato-email a {
        display: block;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .botao {
        padding: 10px 20px;
    }

    .sub_banner_contato {
        padding-bottom: 40px;
    }

    .legenda_contato {
        padding-left: 16px;
    }

    .title_legenda_contato {
        padding-left: 16px;
    }

    .title_legenda_contato::before {
        left: 5px;
    }

    .introduction_servicos {
        font-size: 1.125rem;
        font-weight: 500;
    }



    .contato-email a,
    .contato-phone a {
        margin-bottom: 10px;
    }

    .contato-email {
        margin-bottom: 10px;
    }

    .contato-phone {
        margin-bottom: 30px;
    }

    .contato-redes {
        justify-content: start;
    }

    .area-title {
        font-size: 1.5rem;
    }

    .area-card {
        width: 250px;
        height: 150px;
    }

    .black_card {
        width: 200px;
        height: 200px;
    }

    .black_card h2 {
        font-size: 1.25rem;
    }

    .black_card p {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {}