:root {

    /* Cores Primárias */
    --primary: #08294B;
    --primary-dark: #041A31;
    --primary-light: #0E4479;

    /* Cor de Destaque */
    --secondary: #F78A1D;
    --secondary-hover: #E67700;

    /* Neutras */
    --white: #FFFFFF;
    --off-white: #F5F7FA;
    --light-gray: #E9ECEF;
    --medium-gray: #CED4DA;
    --dark-gray: #495057;

    /* Textos */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #FFFFFF;

    /* Backgrounds */
    --bg-dark: #081B33;
    --bg-section: #F8F9FA;
    --bg-card: #FFFFFF;

    /* Bordas */
    --border-color: #DEE2E6;

    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, .12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .18);

    /* Gradientes */
    --gradient-primary:
        linear-gradient(135deg,
            #041A31 0%,
            #08294B 50%,
            #0E4479 100%);

    --gradient-hero:
        linear-gradient(90deg,
            rgba(4, 26, 49, .95) 25%,
            rgba(8, 41, 75, .90) 50%,
            rgba(8, 41, 75, .85) 75%,
            rgba(8, 41, 75, .80) 100%);

    --gradient-orange:
        linear-gradient(135deg,
            #F78A1D 0%,
            #FFAA3C 100%);
}

.btn-rs {
    background: var(--secondary);
    border: none;
    color: var(--white);
    font-weight: 600;
    transition: .3s;
}

.btn-rs:hover {
    background: var(--secondary-hover);
    color: var(--white);
}


/* geral */
html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--primary-light);
}

::-webkit-scrollbar-thumb {
    background: var(--off-white);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--white);
}

/* animação */
.animation {
    animation: entrar 2s ease-out forwards;
    opacity: 0;
}

.scroll-animation {
    opacity: 0;
}

.animation-top {
    transform: translateY(-80px);
    animation-delay: 0.5s;
}

.animation-left {
    transform: translateX(-80px);
    animation-delay: 0.5s;
}

.animation-right {
    transform: translateX(80px);
    animation-delay: 0.5s;
}

.animation-bottom {
    transform: translateY(80px);
    animation-delay: 0.5s;
}

@keyframes entrar {
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}


/* menu */
.navbar {
    position: fixed;
    background: var(--gradient-hero);
    padding: 3px 3px;
}

.logo-navbar {
    width: 150px;
    height: auto;
}

.navbar-toggle {
    border: 2px solid #fff;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    padding: 10px 12px;
    align-items: center;
    display: flex;
    display: none;
}

.navbar-toggle-icone {
    color: var(--text-light);
    font-size: 25px;
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-nav {
    gap: 10px;
}

.navbar-nav .nav-link {
    position: relative;
    color: var(--text-light);
    font-weight: 500;
    transition: .3s;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    border-radius: 10px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}


/* home */
#home {
    position: relative;
    padding-top: 75px;
    height: 100dvh;
    background-image:
        linear-gradient(to right,
            #081B33 0%,
            rgba(8, 27, 51, .95) 25%,
            rgba(8, 27, 51, .75) 45%,
            rgba(8, 27, 51, .35) 60%,
            transparent 75%),
        url('../images/background/background_image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-title {
    color: var(--text-light);
}

.home-title span {
    color: var(--secondary);
}

.home-subtitle {
    color: var(--text-light);
}

.container-diferenciais {
    display: flex;
}


/* diferenciais */
#diferenciais {
    display: none;
    background: var(--gradient-primary);
}


/* serviços */
#servicos {
    background-color: var(--off-white);
    position: relative;
    padding-top: 80px;
    height: 100h;
}

#servicos .card-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem;
    text-align: center;
    padding: 1.25rem;
}

#servicos .card-body h5 {
    color: var(--primary);
}

#servicos .card-body p {
    color: var(--primary-dark);
}

.card-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.75rem auto;
}

.section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #f7931e;
    border-radius: 10px;
}


/* projetos */
#projetos {
    background-image:
        linear-gradient(rgba(4, 26, 49, 0.90),
            rgba(4, 26, 49, 0.90)),
        url('../images/background/background_image02.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 80px;
    height: 100vh;
    padding-bottom: 60px;
}

#projetos h1 {
    color: var(--white);
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

#carouselProjetos {
    flex: 1;
    max-width: 1000px;
    margin: auto;
    background: var(--off-white);
}

.carousel-item {
    height: 450px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-carousel {
    border: none;
    background: var(--secondary);
    color: var(--primary-dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    transition: .4s;
}

.btn-carousel:hover {
    transform: scale(1.1);
    background: var(--secondary-hover);
}


/* quem-somos */
#quem-somos {
    background-color: var(--white);
    position: relative;
    padding-top: 80px;
    height: 100h;
}

.quem-somos-card {
    overflow: hidden;
    background: var(--gradient-primary);
    margin: 0px 20px 0px 20px;
}

.quem-somos-content {
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section-tag {
    color: var(--secondary);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.quem-somos-content h2 {
    color: var(--off-white);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.divider {
    width: 30%;
    height: 4px;
    background: var(--secondary);
    border-radius: 10px;
    margin-bottom: 30px;
}

.quem-somos-content p {
    color: var(--off-white);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.quem-somos-content h4 {
    color: var(--secondary);
    font-weight: 700;
    margin-top: 10px;
}

.quem-somos-image {
    height: 100%;
    overflow: hidden;
}

.quem-somos-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* contato */
#contato {
    background-image:
        linear-gradient(rgba(4, 26, 49, 0.90),
            rgba(4, 26, 49, 0.90)),
        url('../images/background/background_image03.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 80px;
    min-height: 100h;
    padding-bottom: 10px;
}

#contato h1 {
    color: var(--white);
}

.contato-content {
    width: 75%;
}

.contato-content h1, h4, p{
    color: var(--off-white);
}

.contato-content h2 {
    color: var(--secondary);
    text-align: center;
    font-weight: 800;
    line-height: 1.1;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 2px;
}

.contato-item a {
    color: var(--white);
}

.contato-item i {
    color: var(--secondary);
    font-size: 1.8rem;
    width: 35px;
    flex: 0 0 auto;
    align-items: end;
}

.localidade-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.localidade-map {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.localidade-info {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    color: var(--white);
    text-align: center;
}

.localidade-info h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.localidade-info p {
    color: var(--white);
    margin-bottom: 20px;
}


/* whatsapp */
.whatsapp-btn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 70px;
    height: 70px;
    background: green;
    color: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    transition: .4s;
}

.whatsapp-popup{
    position: fixed;
    right: 20px;
    bottom: 110px;
    width: 420px;
    max-width: calc(100vw - 20px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    display: none;
    z-index: 9998;
}

.whatsapp-popup.show {
    display: block;
    animation: popupFast .5s ease-out;
}

@keyframes popupFast {
    from {
        opacity: 0;
        transform: translateX(20px) scale(.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.popup-header{
    background: var(--gradient-primary);
    color: var(--off-white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.popup-body{
    padding: 20px;
    background: var(--white);
}

.btn-success {
    background: var(--gradient-orange);
    border: none;
    color: var(--white);
    font-weight: 600;
    transition: .3s;
}


/* footer */
.footer {
    text-align: center;
    font-weight: 400;
    background: var(--primary-light);
    color: var(--off-white);
}