* {
    font-size: 14px;
    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    scroll-padding-top: 200px;
}

body {
    padding: 0 !important;
    background-color: #0b0b0b;
    color: white;
}


/* //////////////////// PROJECT - SHOW \\\\\\\\\\\\\\\\\\\\\ */

.project-info-box h2 {
    color: #07334B;
    font-size: 45px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-info-box p  {    
    color: #515151;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;}


/* projects overlays */

.project-item {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.project-bg {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* Overlay escondido */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: #9516168c;
    color: white;

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

    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effects */
.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-bg {
    transform: scale(1.1);
}
.project-overlay h4 {
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-item:hover .project-overlay h4 {
    transform: translateY(0);
}

/* about cards overlays */

.overlay-grey {
    background-color: #333131a8;
}

.overlay-red {
    background-color: #951616aa;
}

/* //////////////////// PAGE BANNER + TEXT \\\\\\\\\\\\\\\\\\\\\ */

.page-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
}

/* Título Principal */
.page-banner__title {
    color: #ffffff;
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Texto de Apoio */
.page-banner__text {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
}

@media (max-width: 768px) {
    .page-banner__title {
        font-size: 32px;
    }
    
    .page-banner__text {
        font-size: 16px;
    }
}

/* //////////////////// TAB LISTS \\\\\\\\\\\\\\\\\\\\\ */

#aplications-list .nav-tabs,
#projects-list .nav-tabs,
#table-list .nav-tabs,
#products-list .nav-tabs {
    border-bottom: none !important;
    justify-self: center;
}

#aplications-list .nav-tabs .nav-link,
#projects-list .nav-tabs .nav-link,
#table-list .nav-tabs .nav-link,
#products-list .nav-tabs .nav-link {
    color: #919191 !important;
    padding: 10px 20px !important;
    margin: 0 30px;
    border: none;
    font-weight: 400;
    font-size: 16px;
    border-bottom: 1px solid transparent;
}

#aplications-list .nav-tabs > li > a:hover,
#projects-list .nav-tabs > li > a:hover,
#table-list .nav-tabs > li > a:hover,
#products-list .nav-tabs > li > a:hover {
    border-bottom: 2px solid #919191 !important;
}

#aplications-list .nav-tabs > li.active > a,
#projects-list .nav-tabs > li.active > a,
#table-list .nav-tabs > li.active > a,
#products-list .nav-tabs > li.active > a .nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    color: #07334b !important;
    border-bottom: 2px solid #306d8a !important;
    border: none;
    font-weight: 800;
}

#aplications-list .card-overlay,
#projects-list .card-overlay,
#table-list .card-overlay,
#products-list .card-overlay {
    height: 100%;
    background: linear-gradient(
        180deg,
        #07334b -8%,
        rgba(255, 255, 255, 0) 50%
    );
    position: absolute;
    width: 100%;
}
#aplications-list .card-text,
#projects-list .card-text,
#table-list .card-text,
#products-list .card-text {
    position: absolute;
    text-align: center;
    color: white;
    width: 100%;
    padding: 20px;
}
#aplications-list .card-text p,
#projects-list .card-text p,
#table-list .card-text p,
#product-lists .card-text p {
    margin-bottom: 5px;
}


/* //////////////////// CONTAINER \\\\\\\\\\\\\\\\\\\\\ */

.container {
    padding: 20px 0;
}

/* //////////////////// BOTÕES \\\\\\\\\\\\\\\\\\\\\ */

/* --- Botão de Idioma --- */
.lang-btn {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 4px 10px;
    opacity: 0.6;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    opacity: 1;
}

/* --- Botão Seta (Job) --- */
.job-arrow-btn {
    background: #002f48;
    color: #fff;
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-decoration: none;
    clip-path: polygon(0 10px, 100% 0, 100% 80%, 0% 100%);
}

.job-arrow-btn:hover {
    background: #3e7394;
}

/* --- Botão Enviar CV --- */
.btn-cv-send {
    background: #07334b;
    color: #fff;
    padding: 12px 35px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 2px;
    transition: 0.3s;
    text-decoration: none !important;
}

.btn-cv-send:hover, 
.btn-cv-send:focus, 
.btn-cv-send:active {
    background: #3e7394;
    color: #fff;
}

/* --- Botão Enviar candidatura --- */
.btn-send-job {
    background-color: #f1f1f1;
    border: none;
    padding: 0 30px;
    font-weight: 700;
    color: #0b344d;
    font-size: 11px;
    transition: background 0.3s;
    margin-right: 15px;
    text-decoration: none;
}

.btn-send-job:hover {
    background-color: #dee2e6;
}

/* --- Botão Quote --- */
.btn-quote {
    background: #fff;
    color: #306d8a;
    padding: 12px 35px;
    font-weight: 800;
    font-size: 13px;
    border-radius: 2px;
    transition: 0.3s;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.btn-quote:hover {
    background: #3e7394;
    color: #fff;
}

/* //////////////////// FOOTER \\\\\\\\\\\\\\\\\\\\\ */

.main-footer-custom {
    background-image: url("/assets/website/img/background_footer.webp");
    background-size: cover;
    background-position: center;
    padding: 0px 0 0px 0;
    color: #fff;
}

.footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    margin-bottom: 10px;
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.footer-nav ul li a {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-nav ul li a:hover {
    opacity: 0.7;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 40px 0 20px 0;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-langs {
    display: flex;
    gap: 15px;
}

.footer-langs {
    display: flex;
    gap: 15px;
}

.footer-info {
    font-size: 11px;
    opacity: 0.8;
}

.footer-info a {
    color: #fff;
    text-decoration: none;
}

.footer-info .sep {
    margin: 0 8px;
    opacity: 0.5;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-social svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* //////////////////// HEADER \\\\\\\\\\\\\\\\\\\\\ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/*anatomia do clamp(mínimo, ideal, máximo)*/
.custom-edicofra-nav {
    --menu-w: min(1080px, 92vw);
    position: relative;
    padding: 0 !important;
    margin-top: 20px;
    background: transparent !important;
    width: 100%;
}

.layer-gray {
    position: absolute;
    top: 15px;
    left: 0;
    width: calc(var(--menu-w) + 12px);
    height: 100%;
    background: rgba(180, 180, 180, 0.4);
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
    z-index: 1;
}

.layer-white {
    position: relative;
    width: var(--menu-w);
    background: #f3f3f3;
    /* clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%); */
    clip-path: polygon(0 0, 100% 0, 80% 500%, 0% 500%);
    z-index: 2;
    padding: 10px 0;
    overflow: visible !important;
}

.layer-gray,
.layer-white {
    pointer-events: auto;
}

.custom-edicofra-nav .container-fluid {
    justify-content: flex-start !important;
    padding-left: 40px;
    flex-wrap: nowrap;
}

.custom-edicofra-nav .navbar-collapse {
    flex-grow: 0;
}

.custom-edicofra-nav .navbar-nav {
    margin-left: 20px;
    gap: 40px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.custom-edicofra-nav .nav-link {
    color: #3d6e8d !important;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}

.custom-edicofra-nav .nav-link:hover,
.custom-edicofra-nav .nav-link:focus-visible {
    color: #07334b !important;
    border-bottom-color: transparent;
    border-radius: 2px;
    outline: none;
    text-decoration: none;
}

.custom-edicofra-nav .nav-link.active,
.custom-edicofra-nav .nav-item.active .nav-link {
    border-bottom: 2px solid #3d6e8d;
    color: #07334b !important;
    border-radius: 2px;
    text-decoration: none;
}

.logo-desktop img {
    height: 45px;
    width: auto;
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    right: 10px;
    top: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #3d6e8d;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Container do seletor dentro da lista */
.lang-selector {
    display: inline-flex;
    align-items: center;
}

.lang-selector .dropbtn {
    color: #3d6e8d !important;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    padding: 10px 15px !important;
    display: flex;
    align-items: center;
}

/* Caixa que cai (Dropdown) */
.lang-selector .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f3f3f3;
    min-width: 60px;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 9999;
    overflow: hidden;
}

/* Links dentro do dropdown */
.lang-selector .dropdown-content a {
    color: #3d6e8d;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s;
}


.lang-selector .dropdown-content a:hover {
    background-color: #dce7ee;
    color: #07334b;
}

/* MOSTRAR AO PASSAR O RATO */
.lang-selector:hover .dropdown-content {
    display: block;
}

/* //////////////////// Mobile \\\\\\\\\\\\\\\\\\\\\ */
@media (max-width: 992px) {

    .lang-selector .dropdown-content {
        position: relative;
        top: 0;
        box-shadow: none;
        background: rgba(0,0,0,0.05);
        margin-left: 15px;
        display: block; /* No mobile fica sempre visível ou sob clique */
    }

    .custom-edicofra-nav .container-fluid {
        padding-left: 0;
        padding: 0 16px;
    }

    .layer-gray {
        display: none;
    }

    .layer-white {
        width: 100%;
        clip-path: none;
        padding: 13px 0px;
        border-radius: 0;
    }

    .custom-edicofra-nav {
        --menu-w: 100vw;
    }

    .navbar-brand {
        width: auto;
    }

    .custom-edicofra-nav {
        margin-top: 0;
    }

    .custom-edicofra-nav .navbar-toggler,
    .custom-edicofra-nav .navbar-toggle {
        position: absolute;
        top: 25px;
        right: 15px;
        z-index: 10001;
        margin: 0;
    }

    .custom-edicofra-nav .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100% !important;
        background: #f3f3f3;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 10000;
    }

    .custom-edicofra-nav .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 0;
        white-space: normal;
    }

    .custom-edicofra-nav .navbar-collapse.collapse:not(.in):not(.show) {
        display: none !important;
    }

    .custom-edicofra-nav .navbar-collapse.in,
    .custom-edicofra-nav .navbar-collapse.show {
        display: block !important;
    }

    .custom-edicofra-nav .navbar-toggler {
        border: none;
    }

    .custom-edicofra-nav .navbar-toggler-icon {
        width: 30px;
        height: 30px;
    }

    .custom-edicofra-nav .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .custom-edicofra-nav .nav-link.active,
    .custom-edicofra-nav .nav-item.active .nav-link {
        border-bottom: 0;
        border-radius: 4px;
        background-color: #dce7ee;
        padding: 10px 12px;
    }

    .custom-edicofra-nav .nav-link:hover,
    .custom-edicofra-nav .nav-link:focus-visible {
        border-bottom: 0;
        border-radius: 4px;
        background-color: #e8eef3;
        padding: 10px 12px;
    }
}


/* //////////////////// Tablets \\\\\\\\\\\\\\\\\\\\\ */
@media (max-width: 1200px) {
    .custom-edicofra-nav {
        --menu-w: 90vw;
    }

    .custom-edicofra-nav .navbar-nav {
        gap: 15px;
    }
}

/* //////////////////// A cruz para fechar o menú\\\\\\\\\\\\\\\\\\\\\ */

/* Quando o menu abre, o Bootstrap remove a classe 'collapsed' do botão */
/* Se o botão NÃO tem a classe 'collapsed', fazemos a animação: */

/* A linha do topo roda 45 graus para baixo */
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/*A linha do meio desaparece (fica invisível) */
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

/* A linha de baixo roda 45 graus para cima */
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Limpeza do botão padrão do Bootstrap */
.custom-edicofra-nav .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

/* //////////////////// Job Offer- Index \\\\\\\\\\\\\\\\\\\\\ */

.job-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    justify-items: center;
    margin-top: 50px;
}

@media (max-width: 991px) {
    .job-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .job-grid-custom {
        grid-template-columns: 1fr;
    }
}

.hero-home {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 50px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content h3 {
    font-size: 35px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 700px;
}

.job-offers-section {
    padding: 80px 0;
    background-image: url("/assets/website/img/background-content.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f9f9f9;
}

.recruitment-title {
    color: #0b344d;
    font-weight: 800;
    font-size: 37px;
    line-height: 1.1;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.filter-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.filter-box {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 5px 15px;
    border-radius: 4px;
}

.filter-box i {
    color: #0b344d;
    font-size: 11px;
}

.filter-box .form-select:focus {
    box-shadow: none;
}

.job-card {
    background: #fff;
    padding: 50px 0px;
    text-align: center;
    border-radius: 2px;
    transition: transform 0.3s ease;
    min-height: 175px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #f0f0f0;
}

.job-card:hover {
    transform: translateY(-8px);
}

.job-card-title {
    color: #07334b;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-cta {
    margin-top: 60px;
}

.cta-text {
    font-weight: 700;
    color: #07334b;
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 35px;
    }

    .hero-content h3 {
        font-size: 20px;
    }
}

/* //////////////////// Job Offer- Show \\\\\\\\\\\\\\\\\\\\\ */

/* Títulos e Textos da Esquerda */
.job-main-title {
    color: #0b344d;
    font-weight: 800;
    font-size: 40px;
    margin-bottom: 30px;
}

.job-main-subtitle {
    color: #0b344d;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
}

.job-meta-info p {
    margin-bottom: 15px;
    font-size: 15px;
}

.job-description-text p {
    line-height: 1.7;
    font-size: 15px;
}

.form-blue-box {
    background-color: #0b344d;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
    padding: 70px 60px;
    position: relative;
}

.custom-input {
    border: none !important;
    border-radius: 2px !important;
    padding: 10px 15px !important;
    background-color: #fff !important;
    font-size: 12px !important;
}

#fake-cv-input::placeholder {
    font-size: 12px;
}

.cv-upload-group {
    display: flex;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
}

.fake-file-input {
    border: none !important;
    flex-grow: 1;
    background: transparent !important;
    color: #999;
}

@media (max-width: 991px) {
    .form-blue-box {
        clip-path: none;
        padding: 40px 20px;
        margin-top: 30px;
    }

    .job-main-title {
        font-size: 22px;
    }
}

/* //////////////////// HOME PAGE \\\\\\\\\\\\\\\\\\\\\ */

.seccao-stats {
    padding: 3px 0;
    display: flex;
    justify-content: flex-end;
    margin-top: -40px;
}

.container-estatisticas {
    position: relative;
    width: 70%;
    height: 160px;
}

.camada-azul {
    position: absolute;
    top: -19px;
    left: 0px;
    width: 100%;
    height: 76%;
    background-color: #3e7491;
    clip-path: polygon(4% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.camada-branca {
    position: absolute;
    top: -40px;
    right: 0;
    width: calc(99% - 16px);
    height: calc(100% - 33px);
    background-color: #ffffff;
    clip-path: polygon(4% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-left: 5%;
    box-sizing: border-box;
}

.item-stat {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.numero {
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
    color: #306d8a;
}

.legenda {
    font-size: 20px;
    font-weight: 500;
    margin-top: 5px;
    color: #07334b;
}

@media (max-width: 768px) {
    .seccao-stats {
        justify-content: center;
        margin-top: 0;
        overflow: hidden;
        padding: 0px 0;
    }

    .container-estatisticas {
        width: 100%;
        height: auto;
    }

    .camada-azul {
        height: 100%;
        clip-path: none;
        top: 0;
    }

    .camada-branca {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        clip-path: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 30px 10px;
        margin-left: 0;
    }

    .item-stat {
        width: 50%;
        margin-bottom: 20px;
    }

    .numero {
        font-size: 32px;
    }

    .legenda {
        font-size: 14px;
        padding: 0 5px;
    }
}

.home-banner {
    background-image: url("/assets/website/img/home-services-background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    width: 100%;
    min-height: 100vh;
}

.projects-gallery {
    padding: 50px;
    max-width: 100%;
    margin: 0 auto;
}

.projects-title {
    font-size: 40px;
    font-weight: 800;
    color: #002f48;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    text-align: center;
}

.title-bar {
    color: #306d80;
    font-weight: 900;
    font-size: 50px;
    margin-right: 10px;
}

.scene {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(90deg, #0000, red 5% 90%, #0000);
}

.a3d {
    display: flex;
    gap: 20px;
    place-self: center start;
    height: 100%;
    animation: slide 50s linear infinite;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50%));
    }
}

.card {
    width: 45em;          
    height: 350px;         
    position: relative;    
    flex-shrink: 0;       
    overflow: hidden;   
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
}

.card img {
    width: 100%;           
    height: 100%;         
    object-fit: cover;
    object-position: center; 
    display: block;
}



.card-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #a5a4a3 0%, rgba(255, 255, 255, 0) 40%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 35px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 47, 72, 0.73);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.card:hover { transform: scale(1.02); }

.card:hover::before { opacity: 0; }

.card:hover .card-caption { opacity: 1; }

.card-caption h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.card-caption p {
    margin: 5px 0 0;
    font-size: 13px;
    font-weight: 400;
}

@media (max-width: 768px) {

   .card {
        width: 100%;
        height: auto; 
        aspect-ratio: 1.91 / 1; 
        margin-bottom: 20px; 
    }

     .card img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        object-position: center; 
        display: block;
    }

    .projects-title {
        font-size: 16px;
    }

    .title-bar {
        font-size: 35px;
        margin-right: 6px;
    }

    .projects-gallery {
        padding: 30px;
    }

    .scene {
        height: auto;
        mask: none;
        overflow: visible;
    }

    .a3d {
        display: flex;
        flex-direction: column;
        animation: none;
        transform: none;
        gap: 20px;
    }

    .card {
        width: 100%;
        height: 350px;
    }

    .card:nth-child(n + 4) {
        display: none;
    }

    .card-caption {
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
        z-index: 2;
    }

    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 47, 72, 0.73);
        opacity: 1;
        transition: opacity 1.5s ease-in-out;
        z-index: 1;
    }

    .card:active::before,
    .card:hover::before {
        opacity: 0;
    }

    .card:active .card-caption,
    .card:hover .card-caption {
        opacity: 1;
    }

    .card.reveal::before {
        opacity: 0;
    }

    .card.reveal .card-caption {
        opacity: 1;
    }
}



.services-gallery {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.services-title {
    font-size: 40px;
    font-weight: 800;
    color: #002f48;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.services-title-subtitle {
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: #002f48;
    font-size: 18px;
    line-height: 1.6;
}

.services-gallery .footer-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-gallery .footer-cta .btn-cv-send {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 70px auto;
    padding-bottom: 80px;
}

.service-card.reveal-card {
    position: relative;
    width: 33.33%;
    height: 290px;
    text-decoration: none;
    transition: transform 0.3s ease;
    z-index: 1;
}

.card-base-image {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0px;
    right: 0px;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.3s ease;
}

.card-geometric-overlay {
    position: absolute;
    inset: 0;
    background-color: #244251cf;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.card-diag-1 .card-geometric-overlay {
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
}

.card-service-text {
    position: absolute;
    bottom: 40px;
    left: 30px;
    z-index: 3;
}

.card-service-text h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-service-text h3 span {
    color: #fff;
    font-size: 40px;
    margin-right: 15px;
    font-weight: 900;
}

.service-card.reveal-card:hover .card-geometric-overlay {
    opacity: 0;
}

.service-card.reveal-card:hover .card-base-image {
    transform: scale(1);
}

.service-card.reveal-card:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .services-title {
        font-size: 25px;
    }

    .services-grid {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 0px;
    }

    .service-card.reveal-card {
        width: 100%;
        height: 250px;
        clip-path: none;
        transform: none !important;
    }

    .card-diag-1 .card-geometric-overlay,
    .card-diag-2 .card-geometric-overlay {
        clip-path: none;
    }

    .services-title {
        margin-bottom: 25px;
    }

    .services-gallery {
        padding: 0px 20px;
        padding-bottom: 20px;
    }

    .card-geometric-overlay {
        opacity: 1 !important;
        background-color: #244251 !important;
        transition: opacity 1.5s ease-in-out !important;
    }

    /* GATILHO JAVASCRIPT: Quando o card entra no foco do scroll */
    .service-card.reveal-card.reveal .card-geometric-overlay {
        opacity: 0 !important;
    }

    .card-service-text {
        bottom: 30px;
        left: 20px;
    }

    .card-service-text h3 {
        font-size: 24px;
    }

    .card-service-text h3 span {
        font-size: 30px;
    }
}

/* //////////////////// CONTACT BANNER - HOME / CONTACTS   \\\\\\\\\\\\\\\\\\\\\ */

.img-banner {
    background-image: url("/assets/website/img/contact-banner-home.webp");
    background-size: cover;
    background-position: center;
    padding: 0px 0 0px 0;
}

.img-banner-contacts {
    background-image: url("/assets/website/img/edicofra-back.webp");
    background-size: cover;
    background-position: center;
    padding: 0px 0 0px 0;
}

.contacts-section {
    padding: 30px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.contacts-description {
    color: #fff;
}

.contacts-description h1 {
    font-size: 50px;
    margin-bottom: 30px;
    font-weight: 800;
}

.contacts-description h2 {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

.contacts-description p {
    font-size: 15px;
    margin-bottom: 50px;
}

.form-description h1 {
    font-size: 35px;
    margin-bottom: 15px;
    font-weight: 800;
    color: #07334b;
}

.form-description h2 {
    font-size: 20px;
    margin-bottom: 50px;
    color: #306d8a;
}

.bar-contact {
    font-size: 40px;
    margin-bottom: 50px;
    font-weight: 900;
    color: #306d8a;
}

.contacts-path {
    font-size: 15px;
    color: #fff;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon {
    width: 24px;
    height: auto;
    margin-right: 20px;
}

.address-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #eee;
}

.contact-card {
    background: transparent;
    border: 1px solid transparent;
    padding: 50px;
}

.contact-card .form-control {
    background-color: white;
    border: 0.5px solid transparent;
    color: black;
    font-size: 14px;
    box-shadow: -1px 5px 7px 0px #bcbcbc61;
}

.contact-card .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #bcbcbc61;
}

.btn-submit {
    background: white;
    color: black;
    border-radius: 50px;
    padding: 5px 20px;
    font-weight: 500;
    border: 2px solid white;
    transition: 0.3s;
    outline: 1px solid white;
    outline-offset: 8px;
    font-size: 13px;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #a8a8a8;
    font-weight: 100;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.contact-card .form-control {
    padding: 20px 20px;
}

@media (max-width: 768px) {
    .contacts-section {
        padding: 0px 0px;
        margin-top: -10px;
    }

    .contacts-description h1 {
        font-size: 35px;
        margin-bottom: 20px;
    }

    .contacts-description h2 {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-contacts {
        min-height: 50vh;
    }

    .contact-card {
        margin-top: -60px;
        padding: 30px;
    }

    .contacts-description {
        padding: 50px 30px 0px 30px;
        text-align: left;
    }

    .contacts-path {
        padding: 0px 41px 0px 20px;
    }

    .contacts-path .d-flex {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding-left: 10px !important;
    }

    .icon-wrapper {
        width: 30px !important;
        min-width: 30px !important;
        display: flex !important;
        justify-content: center !important;
        margin-right: 15px;
        padding-top: 4px !important;
    }

    .contact-icon {
        width: 20px !important;
        height: auto !important;
    }

    .contacts-path p {
        margin-left: 0 !important;
        font-size: 14px;
    }
}

/* //////////////////// ABOUT US SECTION - HOME  \\\\\\\\\\\\\\\\\\\\\ */

.about-section {
    padding: 20px 0;
    background-color: #fff;
    max-width: 90%;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

.main-image-wrapper {
    position: relative;
    padding-bottom: 15px;
}

.about-main-img {
    width: 80%;
    display: block;
}

.decorative-shape {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 200px;
    background-color: #306d8a;
    z-index: 1;
    clip-path: polygon(
        52.1% 55.2%,
        100% 67.7%,
        100% 100%,
        0% 73%,
        0% 19.2%,
        52.1% 0%
    );
}

.about-title {
    color: #002f48;
    font-weight: 800;
    font-size: 42px;
    margin-bottom: 10px;
}

.about-title span {
    color: #002f48;
    margin-right: 10px;
}

.about-subtitle {
    color: #6496b1;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 30px;
}

.about-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: justify;
}

.about-mini-gallery {
    margin-top: 40px;
}

.mini-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-section {
        padding: 0 20px 30px;
    }

   .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        max-width: 500px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px 0;
    }

    .main-image-wrapper {
        display: inline-block;
        position: relative;
        width: auto;
    }

    .about-main-img {
        width: 70vw;
        max-width: 350px;
        height: auto;
        display: block;
        z-index: 2;
    }

    .decorative-shape {
        position: absolute;
        bottom: -25px;
        left: -20px;
        width: 100px;
        height: 180px;
        z-index: 1;
        clip-path: polygon(
            52.1% 55.2%,
            100% 67.7%,
            100% 100%,
            0% 73%,
            0% 19.2%,
            52.1% 0%
        );
    }

    .mini-img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        object-position: center;
    }
}


/* //////////////////// ABOUT US - PAGE  \\\\\\\\\\\\\\\\\\\\\ */

.about {
    padding: 0px 0;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about__img-wrapper {
    position: relative;
    display: inline-block;
}

.about__img--main, .about__img--thumb {
    display: block;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.about__badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: #002f48;
    color: #fff;
    padding: 20px;
    width: 140px;
    text-align: center;
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.about__badge-number {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.about__badge-text {
    font-size: 14px;
    text-transform: lowercase;
    line-height: 1.2;
    margin-top: 5px;
}


@media (max-width: 768px) {
    .about {
        padding: 0 20px 0px;
    }

   .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .about__img--main, .about__img--thumb {
    width:100%;
    }
}

.background-img-right {
    background-image: url("/assets/website/img/edicofra-aboutus.webp");
    background-position: right;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: 0;
}

.identity-section {
    padding: 60px 0;
    background-color: #fff;
}

.identity-container {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    align-items: flex-start; 
    gap: 0; /* Colados um ao outro como na imagem */
}

.identity-card {
    flex: 1;
    min-height: 450px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.identity-card--mission {
    background-image: url("/assets/website/img/mission1.webp");
    margin-top: 150px;
}

.identity-card--vision {
    background-image: url("/assets/website/img/vision.webp");
}

.identity-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    transition: background 0.3s ease;
}


.identity-card--mission .identity-card__overlay {
     background-color: rgba(234, 234, 234, 0.77);
    color: #535353;
}

.identity-card--vision .identity-card__overlay {
    background-color: rgb(0 47 72 / 60%);
    color: #fff;
}


.identity-card__icon {
    width: 60px;
    margin-bottom: 20px;

}

.identity-card--vision .identity-card__icon {
    filter: brightness(0) invert(1);
}

.identity-card__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
     margin-top: 25px;
}

.identity-card__text {
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
}

/* Responsividade */
@media (max-width: 768px) {
    .identity-container {
        flex-direction: column;
        padding: 0 20px;
        padding-bottom: 60px;
    }

    .identity-section {
    padding: 0px 0;

    }
    
    .identity-card--mission {
        margin-top: 0;
    }
    
    .identity-card {
        width: 90%;
        min-height: 350px;
        margin: 0 auto;
    }

    .identity-card__text {
    font-size: 12px;
    }

    .identity-card__title {
    font-size: 18px;
    }

}

/* //////////////////// SERVICES - PAGE  \\\\\\\\\\\\\\\\\\\\\ */

.services__title{
    color: #07334B;
    font-weight: 800;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.title__bar {
    color: #306D8A;
    font-weight: 900;
    font-size: 50px;
}

.service__section {
    padding: 50px 0;
    background-color: #fff;
    background-image: url("/assets/website/img/service-section.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.service-img--main, .service-img--secondary {
    border-radius: 4px;
    object-fit: cover;
}

.service-img--main {
    height: 450px;
    width: 280px;
}

.service-img--secondary {
    height: 350px;
    width: 250px;
    margin-top: 100px; 
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 500px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
    color: #444;
    font-size: 15px;
    opacity: 0;
    transform: translateX(var(--offset, 28px));
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
}

.service-list.ticks-right li {
    --offset: 35px;
}

.service-list.ticks-left li {
    --offset: -35px;
}

/* Estado visível */
.service-list li.show {
    opacity: 1;
    transform: translateX(0);
}

/* Tick sem animação própria (acompanha o li) */
.service-list .check-icon {
    width: 22px;
    height: 16px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
}

.check-icon {
    width: 22px;
    height: 16px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 21' fill='none'%3E%3Cpath d='M27.3494 0.650404C26.4831 -0.217075 25.0763 -0.216528 24.2088 0.650404L10.074 14.7857L3.79173 8.50349C2.92425 7.63601 1.51809 7.63601 0.650609 8.50349C-0.21687 9.37096 -0.21687 10.7771 0.650609 11.6446L8.50314 19.4971C8.93661 19.9306 9.50499 20.1479 10.0734 20.1479C10.6419 20.1479 11.2108 19.9312 11.6443 19.4971L27.3494 3.79147C28.2169 2.9246 28.2169 1.51783 27.3494 0.650404Z' fill='%23306D8A'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

#container_mobile_alvenaria {
  display: none;
}

#container_desktop_alvenaria {
  display: block;
}

#container_mobile_ferro {
  display: none;
}

#container_desktop_ferro {
  display: block;
}

.service__section .service-list li {
    display: flex !important;
    align-items: center;
    gap: 20px;
}

.service__section .service-list {
    list-style: none;
    padding-left: 0;
}

.service__section .service-list .check-icon {
    flex: 0 0 22px;
}

@media (max-width: 991px) {
    .service__section { background-image: none; }

    .gap-4 { gap: 10px !important; }

    .service-img--main, .service-img--secondary {
        height: auto;
        width: 100%;
    }
    #container_desktop_alvenaria {
        display: none;
    }

    #container_mobile_alvenaria {
        display: block;
    }
    
     #container_desktop_ferro {
        display: none;
    }

    #container_mobile_ferro {
        display: block;
    }
}

.container-swiper-custom {
    width: min(1200px, 95vw);
    margin: 0 auto;
    position: relative;
    padding: 40px 60px; 
}

.projetoSwiper {
    width: 100%;
    overflow: hidden !important; 
    position: relative;
}


.projetoSwiper .swiper-slide {
    height: 300px; /* Vai definir a altura desejada das fotos no carrossel dos projetos */
}


/* --- ESTILO DAS SETAS --- */
.projeto-nav-btn {
    width: 15px;
    height: 15px;
    color: #07334B !important;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.projeto-nav-btn::after {
    font-family: swiper-icons;
    font-size: 18px;
    font-weight: bold;
}

.projeto-prev::after { content: 'prev'; }
.projeto-next::after { content: 'next'; }


.projeto-prev {
    left: 0; 
}

.projeto-next {
    right: 0; 
}

.projeto-card {
    width: 100%;
    height: 280px;
    overflow: hidden;
    display:flex;
}

.projeto-img {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.project-image-wrapper {
    width: 100%;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.indicadores-projetos.swiper-pagination {
    bottom: -5px !important;
}

.indicadores-projetos .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background-color: #07334B;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.indicadores-projetos .swiper-pagination-bullet-active {
    background-color:#07334B !important;
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}




.list-group-item.active {
    background-color: #306d8a !important;
    border-color: #306d8a !important;
}
