/* HERO */
.hero-candeeiros {
    padding: 6rem 0 4rem;
    text-align: center;
    color: white;
    top: -50px;
    position: relative;
}

.background-bg{
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background-color: #fff;
}

.background-bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-candeeiros h1 {
    font-size: 54px;
    font-weight: 800;
    color: #000;
}

.hero-candeeiros p {
    font-size: 22px;
    opacity: 0.75;
    margin-top: 10px;
    color: #000;
}

/* GRID DE PRODUTOS */
.candeeiros-grid-section {
    padding: 100px 20px;
    text-align: center;
}

/* GRID DE PRODUTOS */
.section-candeeiros {
    top: -50px;
    padding: 1rem 0;
}


.candeeiros-grid-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

/* GRID DE PRODUTOS – RESPONSIVO */
.candeeiro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* Tablets */
@media (max-width: 900px) {
    .candeeiro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telemóveis */
@media (max-width: 768px) {
    .hero-candeeiros h1 {
    font-size: 47px;
}

    #slider-clientes{
        height:160px !important;
    }

    .slide-row{
        gap:10px;
        padding:0 35px;
    }

    .cliente-img{
        width:100px;
        height:70px;
        margin-bottom:-50px;
    }
    
    .cliente-img-1{
        width:130px;
        height:100px;
        margin-bottom:-50px;
        object-fit:contain;
    }
    
    .carousel-container{
        height:50px;
    }
    
    .slide-row-1{
        gap:10px;
        padding:0 35px;
    }
    
    .carousel-container-1{
        height:100px;
    }
    
    .beneficios-section{
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 25px;
    }
    .beneficios-section h2{
    text-align: center;
}
    
    .candeeiro-grid {
        grid-template-columns: 1fr;
        margin-top:-10px;
    }

    .candeeiro-card img {
        width: 100% !important;
    height: 100% !important;
    }
    
    .candeeiro-card {
        left:0;
}

.hero-candeeiros .candeeiro-search-icon{
    top: 105px;
}
.modal-content{
        max-width: 95%;
        max-height: 80vh;
    }

    .close-modal{
        font-size: 35px;
        right: 20px;
    }
    
    .carousel-container-1{
        max-height:500px;
    }
    
}

@media (max-width: 380px) {

    .candeeiro-card img {
        max-width: 200px;
    }
    .hero-candeeiros .candeeiro-search-icon{
    right:150px;
    color:#fff;
}

.candeeiro-card .btn-secondary{
    margin-left:0 !important;
}
    
}



@media (max-width: 415px) {

    .candeeiro-card img {
        min-width: 100%;
    }
    .candeeiro-card .tag-cand{
    right:15px !important;
    min-width:10px;
}
    
    .beneficios-section {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 20px;
    }

    .beneficios-section h2 {
        text-align: center;
        font-size: 24px;
    }
    
}

.candeeiro-card img {
    width: 100%;
    height: 75%;
    object-fit: cover;
        margin: 0;
    margin-bottom: 5px;
    border-radius: 15px;
}

.staria-services .candeeiro-card {
    margin-top: -50px;
}


.candeeiro-card {
    background: #111;
    color: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    transition: 0.3s;
    position: relative;
}

.candeeiro-card .btn-secondary{
    margin-left:47px !important;
}

.produto-info .btn-secondary{
    margin-left:100px;
    width:60%;
}

.candeeiro-card:hover {
    transform: translateY(-8px);
}
.candeeiro-card .tag-cand{
    position: absolute;

    top: 12px;
    right: 12px;

    width: 55px;
    height: 55px;

    object-fit: contain;

    z-index: 5;
    border-radius: 50%;
    padding: 4px;
}


.candeeiro-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    text-align: center;
    
}

.candeeiro-card p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.btn-ver {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: #111;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-ver:hover {
    background: #eaeaea;
}

/* BENEFÍCIOS */
.beneficios-candeeiros {
    padding: 100px 20px;
    background: #f7f7f7;
    text-align: center;
}

.beneficios-candeeiros h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.beneficio {
    background: white;
    padding: 30px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* BENEFÍCIOS */
.beneficios-section{
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: auto;
}

.beneficios-section .container{
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.benefic{
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    text-align: center;
}

.beneficios-section h2{
    font-size: 28px;
    margin-bottom: 20px;
    color: rgb(252,143,48);
}

.beneficios-list{
    padding-left: 20px;
    text-align: left;
}

.beneficios-list li{
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 17px;
}


/* CTA */
.cta-candeeiros {
    padding: 120px 20px;
    background: #111;
    color: white;
    text-align: center;
}

.btn-garantia{
    display: inline-block;
    margin-top: 25px;
    padding: 16px 36px;
    background: rgb(252,143,48) !important;
    color: #111;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cta {
    display: inline-block;
    margin-top: 25px;
    padding: 16px 36px;
    background: white;
    color: #111;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cta:hover {
    background: #eaeaea;
}

.carousel-container {
    position: relative;
    background: #fff;
    padding: 2rem 0;
    top:-10px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    height:100%;
}

.carousel-container-1 {
    position: relative;
    background: #fff;
    padding: 2rem 0;
    top:-10px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}
.slide-row{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
    padding:0 50px;
}
.carousel-slide {
    display: none;
    height: 100%; /* ocupa a altura fixa */
}


.slide-cm{
    position: relative;
    text-align: center;
    bottom:-30px;
}
.slide-cm p{
    display:flex;
    gap: 1rem; /* controla a distância entre imagens */
    z-index:3;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    padding: 5px;
    justify-content: center;
    position:relative;
    top:-50px;
}

/* IMAGENS CLICÁVEIS */
.slide-cm img{
    height: 100%;
    width: auto;
    object-fit: contain;
    position: relative;
    cursor: pointer;
    transition: .3s;
}

.slide-cm img:hover{
    transform: scale(1.03);
}

/* MODAL */
.image-modal{
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content{
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.close-modal{
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.close-modal:hover{
    color: var(--slt-yellow);
}

@keyframes zoomIn{
    from{
        transform: scale(.8);
        opacity: 0;
    }
    to{
        transform: scale(1);
        opacity: 1;
    }
}

.cliente-img{
    width:150px;
    height:100px;
    object-fit:contain;
    flex-shrink:0;
    transition:.3s;
}

.cliente-img:hover{
    transform:scale(1.05);
}

.carousel-prev,
.carousel-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 0.5rem;
    color: #000;
    font-weight: bold;
    font-size: 2rem;
    user-select: none;
    transform: translateY(-50%);
    transition: 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    color: var(--slt-yellow);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.fade {
    animation: fadeEffect 3s;
}

@keyframes fadeEffect {
    from { opacity: 1; }
    to { opacity: 1; }
}

@media (max-width:480px){

    .carousel-container{
        min-height: 570px; /* espaço para 3 logos */
    }
    .carousel-container-1{
        min-height: 350px; /* espaço para 3 logos */
    }
    

    .slide-row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding: 20px 50px;
    }

    .cliente-img{
        width: 100%;
        height: 100%;
        max-width: 140px;
        max-height: 75px;
        object-fit: contain;
        top:10px;
    }
    
    .slide-cm p{
    top:-70px;
}

    .carousel-prev{
        left: 5px;
        font-size: 1.5rem;
    }

    .carousel-next{
        right: 5px;
        font-size: 1.5rem;
    }
    
    .candeeiro-card .btn-secondary{
    margin-left:0 !important;
}
}
.hero-candeeiros .candeeiro-search-icon{
    position:fixed;
    top:30px;
    right:100px;
    z-index:10000;
    color:#fff;
    font-size:22px;
    cursor:pointer;
}

.hero-candeeiros .candeeiro-search-box{
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    display: none;
    z-index: 9999;
}

.hero-candeeiros .candeeiro-search-box.active{
    display: flex;
    gap: 10px;
}

.hero-candeeiros .candeeiro-search-box input{
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 15px;
}

.hero-candeeiros .candeeiro-search-icon i{
    transition: .3s;
}

.hero-candeeiros .candeeiro-search-icon:hover i{
    transform: scale(1.15);
}

.hero-candeeiros #closeCandeeiroSearch{
    font-size: 22px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
}

/* ========================= */
/*  RESPONSIVO PARA 320px    */
/* ========================= */

@media (max-width: 320px) {

    /* HERO */
    .hero-candeeiros {
        padding: 4rem 10px 2rem;
        top: 0;
    }

    .hero-candeeiros h1 {
        font-size: 32px;
        margin-bottom:50px !important;
        margin-top:-70px;
    }

    .hero-candeeiros p {
        font-size: 16px;
        margin-top:-80px;
        margin-bottom: 80px;
    }

    /* GRID */
    .candeeiro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* CARD */
    .candeeiro-card {
        padding: 10px;
        width: 70%;
        margin-left:45px;
    }

    .candeeiro-card img {
        width: 100%;
        height: auto;
        margin: 0;
        object-fit: cover;
    }

    .candeeiro-card .tag-cand {
        width: 40px;
        height: 40px;
        right: 8px;
        top: 8px;
    }

    .candeeiro-card h3 {
        font-size: 18px;
    }

    .candeeiro-card p {
        font-size: 14px;
    }

    .candeeiro-card .btn-secondary,
    .produto-info .btn-secondary {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    /* SEARCH ICON */
    .hero-candeeiros .candeeiro-search-icon {
        right: 10px;
        top: 90px;
        font-size: 18px;
    }

    .hero-candeeiros .candeeiro-search-box {
        width: 95%;
        padding: 10px;
    }

    /* CLIENTES CAROUSEL */
    .carousel-container,
    .carousel-container-1 {
        min-height: 300px;
        padding: 3rem 0;
    }

    .slide-row {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .cliente-img {
        max-width: 110px;
        max-height: 60px;
    }

    .slide-cm p {
        font-size: 12px;
        top: -40px;
    }

    .carousel-prev,
    .carousel-next {
        font-size: 1.2rem;
        top: 55%;
    }

    /* BENEFÍCIOS */
    .beneficios-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .beneficios-section h2 {
        font-size: 22px;
        text-align: center;
    }

    .beneficios-list li {
        font-size: 15px;
    }

    /* CTA */
    .cta-candeeiros {
        padding: 60px 20px;
    }

    .btn-cta,
    .btn-garantia {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}

.clientes-section,
.servicos-section {
    margin-top: 20px;
    text-align: center;
}

.clientes-grid,
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cliente-card,
.servico-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.servico-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Layout Desktop para Página de Produto */
@media (min-width: 768px) {
    .produto-hero-content {
        display: flex;
        flex-direction: row; /* Lado a lado em computadores */
        align-items: center;
        justify-content: space-between;
        gap: 60px;
    }

    .produto-img {
        width: 50%;
        max-width: 150px;
        height: auto;
    }

    .produto-info {
        width: 50%;
        max-width: 550px;
        text-align: left;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}