@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600&display=swap');

:root {
    --color-neutral-0: #0e0c0c;
    --color-neutral-10: #171717;
    --color-neutral-30: #a8a29e;
    --color-neutral-40: #f5f5f5;
}

* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 1px;
}

main {
    height: 80vh;
}

footer {
    width: 100%;
    color: var(--color-neutral-40);
}

.footer-link {
    text-decoration: none;
}

#footer_content {
    background-color: var(--color-neutral-10);
    display: grid;
    padding: 3rem 3.5rem;
}

#footer_contacts h1 {
    margin-bottom: 0.75rem;
}

#footer_social_media {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

#footer_social_media .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    color: var(--color-neutral-40);
    border-radius: 50%;
    transition: all 0.4s;
}

#footer_social_media .footer-link i {
    font-size: 1.25rem;
}

#footer_social_media .footer-link:hover {
    opacity: 0.8;
}

#instagram {
    background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

#facebook {
    background-color: #4267b3;
}

#whatsapp {
    background-color: #25d366;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-list .footer-link {
    color: var(--color-neutral-30);
    transition: all 0.4s;
}

.footer-list .footer-link:hover {
    color: #7f37c9;
}

#footer_subscribe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#footer_subscribe p {
    color: var(--color-neutral-30);
}

#input_group {
    display: flex;
    align-items: center;
    background-color: var(--color-neutral-0);
    border-radius: 4px;
}

#input_group input {
    all: unset;
    padding: 0.75rem;
    width: 100%;
}

#input_group button {
    background-color: #7f37c9;
    border: none;
    color: var(--color-neutral-40);
    padding: 0px 1.25rem;
    font-size: 1.125rem;
    height: 100%;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    transition: all 0.4s;
}

#input_group button:hover {
    opacity: 0.8;
}

#footer_copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.65rem;
    background-color: var(--color-neutral-0);
    font-size: 0.9rem;
    padding: 1.5rem clamp(0.875rem, 4vw, 1.5rem);
    font-weight: 100;
    text-align: center;
    line-height: 1.5;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-copyright-sep {
    opacity: 0.45;
    flex-shrink: 0;
    user-select: none;
}

.footer-copyright-text {
    min-width: 0;
    text-wrap: balance;
}

.footer-copyright-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
    flex-shrink: 0;
}

.footer-copyright-link:hover {
    opacity: 0.92;
}

.footer-copyright-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    border-radius: 2px;
}

@media screen and (max-width: 576px) {
    #footer_copyright {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.15rem 0.75rem;
        font-size: 0.8rem;
        line-height: 1.4;
        letter-spacing: 0.03em;
    }

    #footer_copyright .footer-copyright-text,
    #footer_copyright .footer-copyright-link {
        letter-spacing: 0.03em;
    }

    .footer-copyright-sep {
        display: none;
    }

    .footer-copyright-text {
        padding: 0 0.25rem;
    }
}

@media screen and (max-width: 768px) {
    #footer_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 426px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 2rem;
    }
}

/*nav bar*/

/* Mesma cor do .container-fluid — evita faixa do bg-light do Bootstrap embaixo no mobile */
#navbar1 {
    background-color: #8b8b8b !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:active {
    background-color: #007bff; /* Azul */
    color: #fff; /* Texto branco */
    border-radius: 5px;
}

/* Cor de fundo do botão de marcação (logo) quando hover ou ativo */
.navbar-brand:hover,
.navbar-brand:active {
    background-color: #007bff; /* Azul */
    color: #fff; /* Texto branco */
}

/* Título "Quem somos" — barra moderna */
#seção1.quem-somos-title-bar {
    scroll-margin-top: 72px;
}

.quem-somos-title-bar {
    width: 100%;
    max-width: 100%;
    margin: 0 0 2rem;
    padding: 1.1rem 1.75rem;
    text-align: center;
    background: linear-gradient(135deg, #3498db 0%, #217dbb 45%, #1a6aa8 100%);
    border-radius: 14px;
    box-shadow:
        0 10px 30px rgba(52, 152, 219, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
    position: relative;
    overflow: hidden;
}

.quem-somos-title-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.07) 50%,
        transparent 60%
    );
    pointer-events: none;
}

.quem-somos-title-bar::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.65rem;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transform: translateX(-50%);
}

.quem-somos-title {
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Desktop: título centralizado, tamanho intermediário (nem faixa inteira nem mini) */
@media screen and (min-width: 1101px) {
    .quem-somos-title-bar {
        width: fit-content;
        max-width: min(540px, 92vw);
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.65rem;
        padding: 0.82rem 1.65rem;
        border-radius: 12px;
        box-shadow:
            0 8px 22px rgba(52, 152, 219, 0.25),
            0 1px 0 rgba(255, 255, 255, 0.11) inset;
    }

    .quem-somos-title-bar::after {
        width: 42px;
        height: 2.5px;
        bottom: 0.55rem;
    }

    .quem-somos-title {
        font-size: clamp(1.15rem, 1.6vw, 1.42rem);
        letter-spacing: 0.058em;
    }
}

.sobre_empresa {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    margin-top: 0;
    padding: 0.75rem clamp(1rem, 4vw, 3rem) 2.5rem;
    box-sizing: border-box;
}

.sobre_empresa-conteudo {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.logo_empresa_quem_somos {
    flex: 0 0 auto;
    max-width: min(280px, 40vw);
}

.coluna2 {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
    margin-top: 3px;
    margin-right: 0;
    background-color: transparent;
    border-radius: 0;
}

/* Caixa do texto "Quem somos" — alinhada ao visual da barra de título */
.quem-somos-texto-box {
    background: linear-gradient(152deg, #f5f9fc 0%, #ffffff 45%, #fafcfe 100%);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 14px;
    padding: 1.35rem 1.65rem;
    box-shadow:
        0 6px 28px rgba(52, 152, 219, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #3498db;
    position: relative;
    box-sizing: border-box;
}

.quem-somos-texto-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: min(45%, 180px);
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(52, 152, 219, 0.04) 100%
    );
    pointer-events: none;
    border-radius: 0 14px 14px 0;
}

.logo22 {
    width: 50px;
    margin-top: -10px;
    margin-bottom: -10px;
    margin-left: -12px;
}

.container-fluid {
    margin-bottom: -10px;
    background-color: #8b8b8b;
    margin-top: -10px;
}

.nav-link {
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    color: #FFFFFF;
}

.nav-link {
    margin-bottom: 10px;
}

#carouselExampleAutoplaying {
    margin-top: 45px;
}

/* Alterações no carrossel */
.carousel-inner .mobile-img {
    display: none !important; /* Esconde as imagens mobile por padrão */
}

@media (max-width: 768px) {
    .carousel-inner .desktop-img {
        display: none !important; /* Esconde as imagens de desktop em mobile */
    }

    .carousel-inner .mobile-img {
        display: block !important; /* Mostra as imagens para mobile */
    }
}

.logo_empresa_quem_somos #logo1 {
    width: 100%;
    border-radius: 50px;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 10px;
    display: block;
}

#logo_navbar {
    height: 60px;
    width: 60px;
    border-radius: 40%;
}

/* Grade: todos os cards da mesma altura na linha; botão no rodapé via flex interno */
.div51 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
    align-items: stretch;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 5%;
    padding: 0 clamp(1rem, 3vw, 2.25rem);
    box-sizing: border-box;
}

@media screen and (max-width: 1199px) {
    .div51 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Cards de serviços: preenchem a célula da grade; coluna flex para botão no fundo */
.card.div52 {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    height: 100%;
    margin-left: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.card.div52 .card-img-top {
    flex-shrink: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card.div52 .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 1rem;
}

.card.div52 .card-title {
    flex-shrink: 0;
}

.card.div52 .card-text {
    flex: 1 1 auto;
    margin-bottom: 0;
    min-height: 0;
}

#paragráfo_quemsomos.quemsomos1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2c3e50;
    letter-spacing: 0.02em;
    display: block;
}

.div_preta {
    background: #0e0c0c;
    height: 60px;
    margin-top: 50px;
    text-align: center;
}

.regiao_atd {
    color: #ffffff;
    line-height: 60px;
    font-size: 30px;
    animation-name: example;
    position: relative;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    width: 100%;
}

.servicos_button {
    flex-shrink: 0;
    align-self: center;
    margin-top: auto;
    margin-bottom: 0;
    padding: 0.45rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.03em;
    color: #ffffff;
    border: none;
    cursor: pointer;
    border-radius: 9999px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 14px rgba(52, 152, 219, 0.38);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.servicos_button:hover {
    filter: brightness(1.07);
    box-shadow: 0 6px 22px rgba(52, 152, 219, 0.48);
    transform: translateY(-2px);
}

.servicos_button:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(52, 152, 219, 0.35);
}

.card-text {
    margin-bottom: 50px;
}

.link_wpp {
    color: #ffffff;
    text-decoration: none;
    font-size: inherit;
    line-height: inherit;
}

.img_final {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    height: auto;
}

/* Conteúdo MOBILE */
@media screen and (max-width: 1100px) {
    html {
        scroll-behavior: smooth;
    }

    .container {
        max-width: 1080px;
        margin: 0 auto;
        display: flex;
        align-items: center;
    }

    .container1 {
        max-width: 1080px;
        margin: 0 auto;
    }

    header {
        background-color: black;
        width: 100%;
        padding: 15px 4%;
        position: sticky;
        top: 0;
        z-index: 9999;
    }

    .logo {
        width: 25%;
    }

    .logo img {
        width: 200px;
        cursor: pointer;
    }

    .menu {
        width: 50%;
    }

    .menu nav a {
        color: #c4c4c4;
        text-decoration: none;
        font-size: 18px;
        padding-right: 30px;
        padding-bottom: 8px;
        position: relative;
    }

    .menu nav a::after {
        content: " ";
        width: 0px;
        height: 4px;
        background-image: linear-gradient(45deg, #FF2500, #FF7100);
        position: absolute;
        bottom: 0;
        left: 0;
        transition: width 0.5s;
    }

    .menu nav a:hover::after {
        width: 30px;
    }

    .menu nav a:hover {
        color: #ffffff;
    }

    .social {
        width: 25%;
    }

    .social button {
        width: 40px;
        height: 40px;
        margin-right: 20px;
        border: 0;
        cursor: pointer;
        background-image: linear-gradient(45deg, #FF2500, #FF7100);
        border-radius: 5px;
        transition: transform 0.5s;
    }

    .social button i {
        font-size: 20px;
        text-align: center;
        color: #ffffff;
    }

    .social button:hover {
        transform: scale(0.9);
    }

    /* estilização do conteúdo */
    section {
        padding: 90px 4%;
        border-bottom: 1px solid #ccc;
    }

    section h2 {
        font-size: 2em;
        margin-bottom: 25px;
    }

    section p {
        font-size: 20px;
    }

    #menu-mobile {
        background-color: #1111119f;
        backdrop-filter: blur(10px);
        position: absolute;
        top: 77px;
        right: 0;
        width: 100%;
        height: 0;
        visibility: hidden;
        z-index: 1000;
        transition: 0.5s;
        overflow: hidden;
    }

    #menu-mobile nav a {
        display: block;
        color: #ffffff;
        padding: 20px 30px;
        font-size: 20px;
        text-decoration: none;
    }

    #menu-mobile nav a:hover {
        background-color: #383838;
    }

    #btn-menu,
    #btn-menu-close {
        color: #ffffff;
        font-size: 30px;
        cursor: pointer;
        display: none;
    }

    @media screen and (max-width: 1110px) {
        .menu,
        .social {
            display: none;
        }

        .logo {
            width: 100%;
        }

        #btn-menu,
        #menu-mobile {
            display: block;
        }

        #menu-mobile.active {
            height: calc(100vh - 77px);
            visibility: visible;
        }
    }

    /* CORPO do HTML */
    .sobre_empresa {
        flex-direction: column;
        margin-top: 0;
        padding: 0.65rem 1rem 1.5rem;
        justify-content: center;
        align-items: stretch;
        width: 100%;
    }

    .sobre_empresa-conteudo {
        flex-direction: column;
        align-items: center;
    }

    .quem-somos-title-bar {
        margin-bottom: 1.5rem;
        padding: 1rem 1.25rem;
        border-radius: 12px;
    }

    .quem-somos-title {
        letter-spacing: 0.08em;
    }

    .coluna2 {
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        display: flex;
        margin-right: 0;
        margin-left: 0;
        margin-top: 10px;
    }

    #logo1 {
        margin: 0 auto;
    }

    .logo_empresa_quem_somos {
        width: 100%;
        max-width: 260px;
        height: auto;
        margin-left: 0;
    }

    .regiao_atd {
        width: 100%;
        flex-direction: row;
        font-size: 20px;
        animation-duration: 8s;
    }

    .quem-somos-texto-box {
        padding: 1.15rem 1.2rem;
        width: 100%;
        max-width: 100%;
    }

    .quemsomos1,
    #paragráfo_quemsomos.quemsomos1 {
        width: 100%;
        padding: 0;
        font-size: 1rem;
        line-height: 1.72;
    }

    .div51 {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1.25rem;
        margin-left: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card.div52 {
        margin-left: 0;
        width: 100%;
        max-width: 22rem;
        height: auto;
        min-height: 0;
    }

    .navbar-toggler:hover,
    .navbar-toggler:active {
        background-color: #007bff; /* Azul */
        border-color: #007bff; /* Cor da borda do botão */
    }

    /* Cor do ícone do botão de alternância na versão mobile quando hover ou ativo */
    .navbar-toggler-icon:hover,
    .navbar-toggler-icon:active {
        background-color: #007bff; /* Azul */
    }

    .container-fluid {
        margin-top: 0;
        margin-bottom: 0;
    }

    .logo22 {
        margin-bottom: -5px;
    }

    .navbar-toggler {
        margin-top: 10px;
        margin-bottom: 5px;
        background-color: #FFFFFF;
    }

    #navbarNav {
        margin-top: 15px;
    }
}
