@import url('fonts.css');

* {
    padding: 0;
    margin: 0;
    font-family: 'Sofia Pro';
}

:root {
    --color-light-blue: #245daa;
    --color-main-blue: #00338e;
    --color-main-orange: #ff7000;
    --color-white: #fff;
}

html {
    background-color: var(--color-main-blue)
}

/* General  */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    color: white;
    font-size: 1.6rem;
    line-height: 1rem;
}

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

.btn-orange {
    background-color: var(--color-main-orange);
    color: var(--color-white);
    font-size: 1.7rem;
    text-decoration: none;
    font-weight: 300;
    border-radius: 30px;
    padding: .3rem 1.5rem;
    display: block;
    width: fit-content;
    margin: 0 auto;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-orange:hover {
    transform: scale(1.05);
    background-color: #ff7f1e;
    box-shadow: 0px 4px 11px -1px rgba(0, 0, 0, 0.75);
}

.margin-5 {
    margin-top: 5rem;
}

.margin-7 {
    margin-top: 7rem;
}

.initial-content {
    padding-top: 10rem;
}

.h2-rt {
    font-size: 4.7rem;
    font-weight: 600;
    text-align: center;
    color: var(--color-main-blue);
}

.h3-rt {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-main-blue);
}

.h4-rt {
    font-size: 1.2rem;
}

p {
    font-weight: 200;
}

/* Master Settings */

/* header */

.logo-blue {
    display: none;
    max-width: 200px;
    margin-bottom: .4rem;
}

header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    transition:
        background-color 0.4s ease,
        padding 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, .95);
    padding: 0;
    padding-top: .3rem;
    transition: padding 0.3s ease,
        background-color 0.4s ease;
    box-shadow: -3px -15px 28px -2px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

header.scrolled .bi-list {
    color: var(--color-main-blue);
}

header.scrolled .logo-blue {
    display: block;
}

header.scrolled .logo-white {
    display: none;
}


header.scrolled .navbar-brand {
    max-width: 150px;
    transition: max-width 0.3s ease,
}

header.scrolled #navbarNav li a {
    font-size: 1.3rem;
    color: var(--color-main-blue);
    transition: font-size 0.3s ease,
}


header #navbarNav a {
    color: var(--color-white);
    font-size: 1.8rem;
    padding: 0 1rem;
    line-height: 2rem;
    font-weight: 200;
}

header #navbarNav li a {
    border-left: 2px solid var(--color-main-orange);
}

header #navbarNav li a:hover {
    color: var(--color-main-orange);
}

header #navbarNav li:not(:first-child) a {
    border-left: 2px solid var(--color-main-orange);
}

/* header #navbarNav li:not(:last-child) {
    transition: margin-right 0.3s ease, transform 0.3s ease;
}

header #navbarNav li:not(:last-child):hover {
    margin-right: 1.5rem;
} */

header #navbarNav li:last-child {
    transition: margin-left 0.3s ease, transform 0.3s ease;
}

header #navbarNav li:last-child:hover {
    margin-left: 1.5rem;
}

#navbarMobile {
    background-color: var(--color-main-blue);
    color: var(--color-white);
}

.offcan-toggler {
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
}

/* footer */
footer {
    background-color: var(--color-main-blue);
    color: var(--color-white);
    padding: 3rem 0;
    font-weight: 200;
}

footer p {
    margin-bottom: 0;
    font-size: .9rem;
}

#developed-by {
    margin-top: 1rem;
}

footer img {
    width: 400px;
}

.footer-lists {
    gap: 5rem;
    text-wrap: nowrap;
}

.footer-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .2rem;
}

footer h4 {
    font-size: 2rem;
    font-weight: bold;
}

footer strong {
    font-weight: bold;
}

footer a {
    text-decoration: none;
    color: var(--color-white);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

footer a:hover,
footer .nav-link:hover {
    color: #cccccc;
}

footer i {
    color: var(--color-main-orange);
}

.footer-icons i:hover {
    color: #e46301;
}

/* index */

.index-background {
    background-image: url('/assets/img/index/header-bg.webp');
    background-size: cover;
    background-position: center;
    /* margin-top: -9rem; */
    padding-top: 9rem;
    padding-bottom: 13rem;
}

.header-content h1 {
    font-size: 5rem;
    font-weight: bold;
    line-height: 5rem;
}

.header-content p {
    font-size: 1.6rem;
    line-height: 2rem;
    margin: 4rem 0;
}

.header-divisor {
    margin: 0 auto;
    width: 72%;
    font-size: 3rem;
    font-weight: bold;
    margin-top: -2rem;
    padding: 0;
    border-radius: 50px;
    text-align: center;
    line-height: 4rem;
}

.header-divisor:hover {
    transform: scale(1);
    background-color: var(--color-main-orange);
    box-shadow: none;
}

/* About us */
#about-us {
    color: var(--color-main-blue);
    scroll-margin-top: 20vh;
}

.about-us-description {
    font-size: 1.4rem;
    margin: 2.5rem auto;
    width: 75%;
    line-height: 1.8rem;
    font-weight: 300;
}

.about-us-card {
    text-align: start;
    box-shadow: -3px 3px 11px -2px rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    border: 2px dashed transparent;
    transition: transform 0.2s ease;
}

.about-us-card:hover {
    transform: scale(1.05);
    border: 2px dashed var(--color-main-orange);
}

.about-us-card i {
    color: var(--color-main-orange);
    font-size: 2.5rem;
}

.about-us-card h5 {
    font-weight: bold;
    margin: 1.5rem 0;
    font-size: 1.4rem;
}

.about-us-card p {
    font-size: 1.35rem;
    font-weight: 300;
}

/* Header Services */

#services {
    scroll-margin-top: 20vh;
}

.header-services h2 {
    font-size: 4.4rem;
}

.header-services p {
    font-size: 1.35rem;
    color: var(--color-main-blue);
    font-weight: 300;
    text-align: justify;
    padding-right: 4rem;
    margin-top: 1rem;
}

.header-services .btn-orange {
    font-size: 1.2rem;
    margin: 0;
    margin-top: 3rem;
}

.images-container .col-sm-5,
.images-container .col-6 {
    padding: .5rem;
}

.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.images-container img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    box-shadow: -3px 3px 11px -2px rgba(0, 0, 0, 0.75);

}

.img-container:hover,
.img-container.destaque {
    transform: scale(1.15);
    z-index: 1;
    /* aumenta 10% */
}

.overlay-text {
    opacity: 0;

    width: 100%;
    height: 100%;

    color: var(--color-white);
    font-size: 2.8rem;
    text-align: center;
    font-weight: 600;

    z-index: 1;
    position: absolute;
    top: 0;

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

    padding: 0 2rem;
}

.overlay-text:hover,
.img-container.destaque .overlay-text {
    opacity: 1;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 100%, rgba(255, 255, 255, 0) 100%);
    cursor: default
}

/* Portfolio */
#portfolio-section {
    background-image: url('/assets/img/index/portfolio-bg.webp');
    padding: 2rem 0;
    scroll-margin-top: 20vh;
}

#portfolio-section h2 {
    margin-bottom: 1rem;
}

.portfolio-text {
    text-align: center;
    color: var(--color-white);
}

.portfolio-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

#portfolio-section .btn-orange {
    font-size: 1.4rem;
    margin: 3rem auto;
    margin-top: 5rem;
}

.portfolio-grid {
    gap: 1rem;
    width: 100%;
    height: 550px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.portfolio-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.index-grid-item {
    overflow: hidden;
    transition: transform 0.2s ease;
}

.index-grid-item:hover {
    transform: scale(1.08);
}

#g-1 {
    grid-column: span 2;
    grid-row: span 2
}

#g-2 {
    grid-row: span 2
}

#g-3 {
    grid-column: span 3
}

#g-4 {
    grid-column: 7;
}

#g-5 {
    grid-column: span 2;
}

#g-6 {
    grid-column: 4;
    grid-row: 2
}

#g-7 {
    grid-column: 5;
    grid-row: 2 / span 2
}

#g-8 {
    grid-column: 6 / span 3;
    grid-row: 2 / span 2
}

#g-9 {
    grid-column: 9;
    grid-row: 2 / span 2
}

#g-10 {
    grid-column: 1 / span 2;
    grid-row: 3
}

#g-11 {
    grid-column: 3 / span 2;
    grid-row: 3
}


/* Feedbacks */

#feedbacks-section {
    scroll-margin-top: 20vh;
}

.feedback-page-container .col-12,
.feedback-page-container .col-lg-6 {
    margin-bottom: 1.5rem;
}


#feedbacks-section h2 {
    margin-top: 3.5rem;
    margin-bottom: 2rem
}

.feedback-card {
    text-align: start;
    box-shadow: -3px 3px 11px -2px rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    color: var(--color-main-blue);
    transition: transform 0.2s ease;
}

.feedback-card:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.feedback-card h5 {
    font-weight: bold;
    margin: 1.5rem 0;
    font-size: 1.4rem;
}

.feedback-card p {
    font-size: 1.35rem;
    font-weight: 300;
}

#feedbacks-section .btn-orange {
    font-size: 1.4rem;
    margin: 3rem auto;
    margin-top: 3rem;
}

/*  Contact us */

#contact-us {
    scroll-margin-top: 20vh;
}

#contact-us h2 {
    margin-bottom: 2rem;
}

#contact-us-form .form-label {
    color: #5e5e5e;
    margin-bottom: .2rem;
    font-size: 1.3rem;
}

#contact-us-form input {
    height: 3rem !important;
    margin-bottom: 1rem;
    border: 1px solid #514531;
}

#contact-us-form textarea {
    height: 9rem !important;
    border: 1px solid #514531;
}

#contact-us .btn-orange {
    font-size: 1.2rem;
    border: none;
    margin-top: 2rem;
    margin-bottom: 9rem;
}



/* Services */
#services-display {
    margin-top: 4rem;
    margin-bottom: 9rem;
}

#services-display .col-lg-3,
#services-display .col-md-4,
#services-display .col-6 {
    padding: .1rem;
}

.service-container {
    overflow: hidden;
    transform: scale(0.0);
    transition: transform 0.4s ease;
}

.service-img {
    position: relative;
    width: 100%;
    padding-top: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-img img {
    position: absolute;
    transition: transform .3s ease-out;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-text {
    opacity: 0;
    position: absolute;
    height: 100%;
    top: 0;
    background: #FF7000;
    background: linear-gradient(337deg, rgba(255, 112, 0, .85) 0%, rgba(0, 51, 142, .85) 65%);
    backdrop-filter: blur(0px);
    width: 100%;
    transition: opacity .3s ease-out, backdrop-filter .3s ease-out;
    justify-content: center;
    align-items: center;
    display: flex;
}

.service-container.show {
    transform: scale(1);
}

.service-container:hover .service-img img {
    transform: scale(1.1)
}

.service-container:hover {
    overflow: hidden;
}

.service-text:hover {
    opacity: 1;
    backdrop-filter: blur(3px);
}

.service-container.hover-simulado .service-img img {
    transform: scale(1.1)
}

.service-container.hover-simulado {
    overflow: hidden;
}

.service-text.hover-simulado {
    opacity: 1;
    backdrop-filter: blur(3px);
}

.service-text a {
    padding: 0 2.5rem;
    color: var(--color-white);
    transform: translateY(100px);
    transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
    text-decoration: none;
    letter-spacing: .18rem;
    flex-direction: column;
}

.service-display-name {
    font-weight: 700;
    font-size: 2rem;
}

.service-display-description {
    font-weight: 300;
    letter-spacing: .25rem;
    font-size: 1rem;
}

.service-text .btn-orange {
    margin: 0;
    font-size: 1.4rem;
    border-radius: 10px;
    padding: 0 1rem;
    margin-top: 1rem;
}

.service-text:hover a {
    transform: translateY(0);
}

/* Single Service */
.single-service-container {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 8rem;
    margin-bottom: 4rem;
}

.single-service-img {
    width: 100%;
    height: 85vh;
    overflow: hidden;
    border-radius: 30px;
    position: sticky;
    top: 6.6rem;
    box-shadow: 0px 0px 11px -1px rgba(0, 0, 0, 0.75);
    transition: top 0.2s ease;
}

.single-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-service-container .splide__track {
    height: 100%;
}

.single-service-container .col-5 {
    padding-left: 2rem;
}

.single-service-container .splide__pagination {
    bottom: 1em;
    gap: .5rem;
}

.single-service-background {
    background-color: var(--color-main-blue);
    top: 0;
    right: 0;
}

.splide__arrow {
    background-color: #ddd;
    color: #ddd;
    border: none;
    border-radius: 7px;
    width: 50px;
    height: 50px;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.splide__arrow:hover {
    background-color: #fff;
    opacity: 1;
}

/* Portfolio */

.grid-item:hover {
    transform: scale(0.95);
    z-index: 1;
}

.grid-item {
    width: 33.33%;
    box-sizing: border-box;
    padding: .2rem;
    transition: transform 0.2s ease;
}

.grid-container {
    margin-top: 5rem;
}

@media (max-width: 1600px) {
    .service-text a {
        padding: 0 1.5rem;
    }

    .service-text .btn-orange {
        font-size: 1.2rem;
    }

    .service-display-description {
        font-size: .92rem;
    }

    .service-display-name {
        font-size: 1.2rem;
        margin-bottom: .7rem !important;
    }
}


@media (max-width: 1400px) {

    .service-text p {
        margin-bottom: 0;
    }

    .service-text a {
        padding: 0 1.5rem;
    }

    .service-text .btn-orange {
        font-size: 1rem;
    }

    .service-display-description {
        font-size: .76rem;
    }

    .service-display-name {
        font-size: 1rem;
        margin-bottom: .7rem !important;
    }

}

@media (max-width: 1199px) {
    header #navbarNav a {
        font-size: 1.45rem;
    }

    .portfolio-grid {
        height: 450px;
    }

    .overlay-text {
        font-size: 2rem;
    }

    .service-display-description {
        font-size: .83rem;
    }

    .service-display-name {
        font-size: 1.4rem;
        margin-bottom: .7rem !important;
    }

    
}

@media (max-width: 991px) {
    .header-content h1 {
        font-size: 4.14rem;
    }

    header.scrolled {
        backdrop-filter: none;
    }

    .footer-list {
        margin-bottom: 3rem;
    }

    #footer-content {
        padding: 0 .8rem;
    }

    .about-us-card {
        width: 75%;
    }

    #about-us .col-12 {
        display: flex;
        justify-content: center;
    }

    .about-us-description {
        width: 100%;
    }

    .header-services .btn-orange {
        margin: 3rem auto;
        margin-bottom: 4rem;
    }

    .header-services p {
        padding: 0 3rem;
        text-align: center;
    }

    .feedback-card {
        width: 75%;
    }

    #feedbacks-section .col-12 {
        display: flex;
        justify-content: center;
    }

    /* .portfolio-grid div {
        background-color: #c52a2a;
    } */

    #g-1 {
        grid-column: span 3;
        grid-row: span 2
    }

    #g-2 {
        display: none;
    }

    #g-3 {
        grid-column: span 3
    }

    #g-4 {
        grid-column: span 3;
    }

    #g-5 {
        display: none;
    }

    #g-6 {
        grid-column: 4 / span 2;
        grid-row: 2
    }

    #g-7 {
        display: none;
    }

    #g-8 {
        grid-column: 6 / span 4;
        grid-row: 2 / span 2
    }

    #g-9 {
        display: none;
    }

    #g-10 {
        grid-column: 1 / span 2;
        grid-row: 3
    }

    #g-11 {
        grid-column: 3 / span 3;
        grid-row: 3
    }

      /* Single Service */
    .single-service-img {
        width: 80%;
        height: 55vh;
        position: fixed;
        z-index: 2;
    }

    .single-service-content {
        margin-top: 24rem;
    }

    /* Portfolio */
    .grid-item {
        width: 50%;
    }
}

@media (max-width: 925px) {
    .service-display-description {
        font-size: .83rem;
    }

    .service-display-name {
        font-size: 1.05rem;
        margin-bottom: .2rem !important;
    }

    .service-display-description {
        font-size: .7rem;
    }

    .service-text .btn-orange {
        font-size: 1rem;
        margin-top: .3rem;
    }
}

@media (max-width: 767px) {

    .btn-orange {
        font-size: 1.4rem;
    }

    .header-divisor {
        line-height: 2.5rem;
        margin-top: -1.4rem;
    }

    .h2-rt {
        font-size: 4.4rem;
    }

    .h3-rt {
        font-size: 2.6rem;
        ;
    }

    .header-services h2 {
        font-size: 4.2rem;
    }

    .service-text p {
        margin-bottom: 1rem !important;
    }

    .service-display-name {
        font-size: 1.3rem;
        margin-bottom: .2rem !important;
    }

    .service-display-description {
        font-size: .9rem;
    }

    .service-text .btn-orange {
        font-size: 1.2rem;
        margin-top: .3rem;
    }

    /* Single Service */
    .single-service-img {
        width: 90%;
        height: 55vh;
        margin: 0 1rem;
    }

}

@media (max-width: 690px) {
    #portfolio-section .btn-orange {
        margin-top: 15rem;
    }

    #g-1 {
        grid-column: span 3;
        grid-row: span 2
    }

    #g-2 {
        display: none;
    }

    #g-3 {
        grid-column: span 3
    }

    #g-4 {
        grid-column: span 3;
    }

    #g-5 {
        display: none;
    }

    #g-6 {
        grid-column: 4 / span 6;
        grid-row: 2
    }

    #g-7 {
        display: none;
    }

    #g-8 {
        grid-column: 6 / span 4;
        grid-row: 3
    }

    #g-9 {
        display: none;
    }

    #g-10 {
        grid-column: 1 / span 5;
        grid-row: 3
    }

    #g-11 {
        display: none;
    }
}

@media (max-width: 678px) {

    .service-display-name {
        font-size: 1.1rem;
        margin-bottom: .2rem;
    }

    .service-display-description {
        font-size: .75rem;
    }

}

@media (max-width: 575px) {
    header {
        padding: .5rem 1rem;
    }

    .images-container {
        padding: 0 1.2rem;
    }

    .images-container .col-sm-5,
    .images-container .col-6 {
        padding: .2rem;
    }

    .img-container:hover {
        transform: scale(1.1);
    }

    #portfolio-section .btn-orange {
        margin-top: 15rem;
    }

    .service-display-name {
        font-size: 1.7rem;

    }

    .service-display-description {
        font-size: 1.1rem;
    }

    .service-display .btn-orange {
        font-size: 1.3rem;
    }

    /* Portfolio */
    .grid-item {
        width: 100%;
        padding: .2rem .7rem;
    }

    .grid-container {
    margin-top: 3rem;
}
}

@media (max-width: 548px) {
    .h2-rt {
        font-size: 3.5rem;
    }

    .header-services h2 {
        font-size: 3.3rem;
    }

    .header-content h1 {
        font-size: 3.8rem;
    }

    .header-content p {
        font-size: 1.3rem;
    }

    .about-us-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 485px) {

    .footer-lists,
    #copy-container {
        flex-direction: column;
    }

    #copy-container {
        align-items: center;
    }

    .header-services p {
        padding: 0;
    }

    .contact-list a {
        margin-bottom: .3rem;
    }

    #portfolio-section .btn-orange {
        margin-top: 8rem;
    }

    .copyright-text {
        text-align: center;
    }

    .footer-lists {
        gap: 0;
    }

    footer img {
        margin-bottom: 2rem;
    }

    /* Single Service */
    .single-service-img {
        height: 45vh;
    }
}

@media (max-width: 446px) {
    .header-content h1 {
        font-size: 2.8rem;
        line-height: 3.4rem;
    }

    .h2-rt,
    .header-services h2 {
        font-size: 2.7rem;
    }

    .about-us-card i {
        font-size: 2.3rem;
    }

    .portfolio-text p {
        font-size: 1.3rem;
    }

    .about-us-description,
    .header-services p {
        text-align: start;
        padding: 0 1.1rem;
    }

    .about-us-card h5 {
        font-size: 1.2rem;
    }

    .header-services p {
        font-size: 1.2rem;
    }

    .about-us-card p {
        font-size: 1.2rem;
    }

    #portfolio-section .btn-orange {
        margin-top: 5rem;
    }

    .feedback-card p {
        font-size: 1.1rem;
        text-align: start;
    }

    .overlay-text {
        font-size: 1.5rem;
    }

    .feedback-card h5 {
        font-size: 1.1rem;
    }

    #contact-us-form .form-label {
        font-size: 1.1rem;
    }

    .service-display-name {
        font-size: 1.4rem;
        margin-bottom: .2rem;
    }

    .service-display-description {
        font-size: .9rem;
    }
}

@media (max-width: 342px) {
    header {
        padding: 0 1rem;
    }

    .navbar-brand {
        width: 170px;
    }

    .header-content h1 {
        font-size: 2.5rem;
        line-height: 3.3rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    .header-content {
        margin-top: 3rem !important;
    }

    .btn-orange {
        font-size: 1.1rem;
    }

    .h2-rt,
    .header-services h2 {
        font-size: 2.3rem;
    }
}