/* ======================================================================
   Reparação de jantes: página principal (desempeno-jantes.html) e as
   sub-páginas desempenar-jantes.html, pintura-jantes.html e
   jantes-diamantadas-cnc.html. Estava inline na página única; passou
   para aqui quando esta foi dividida em 4 (2026-09-27).
   ====================================================================== */

.page-desempeno .hero-section {
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), var(--hero-img, url("/fotos/sevicos/desempeno/baner-jante-orange.webp")) no-repeat center center;
    background-size: cover; color: #fff; padding: 160px 0 80px; text-align: center;
}
.page-desempeno .hero-section .hero-selos { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin: -1.5rem 0 2rem; font-size: .95rem; }
.page-desempeno .hero-section .hero-selos i { color: #e57200; margin-right: .35rem; }

.damage-spot { position: absolute; width: 32px; height: 32px; background: #e57200; border: 2px solid white; border-radius: 50%; cursor: pointer; transition: .3s; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; box-shadow: 0 0 10px rgba(0,0,0,.5); }
.damage-spot:hover { transform: scale(1.2); background: #ff8000; }
.bg-orange { background-color: #e57200 !important; color: white; }
.btn-orange-whatsapp { background-color: #25D366; color: white; border: none; font-weight: bold; }
.btn-orange-whatsapp:hover { background-color: #128c7e; color: white; }
.modal-damage-image { width: 100%; border-radius: 8px; margin-bottom: 15px; }

/* Cartões de serviço: imagem inteira com o texto por cima (página
   principal e "outros serviços" das sub-páginas). O cartão todo é o link. */
.cartao-jante { position: relative; display: block; height: 100%; min-height: 360px; border-radius: 18px; overflow: hidden; background: #1a1a1a; color: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.12); isolation: isolate; }
.cartao-jante img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.cartao-jante::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.05) 75%); z-index: -1; }
.cartao-jante__prazo { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1a1a1a; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.cartao-jante__corpo { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 1.25rem; }
.cartao-jante__titulo { font-size: 1.3rem; font-weight: 800; line-height: 1.2; margin-bottom: .4rem; }
.cartao-jante__texto { font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.82); margin-bottom: .9rem; }
.cartao-jante__rodape { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.22); }
.cartao-jante__preco { font-weight: 700; color: #ffb35c; font-size: .95rem; }
.cartao-jante__seta { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #e57200; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: transform .3s ease; }
.cartao-jante:hover, .cartao-jante:focus-visible { color: #fff; }
.cartao-jante:hover img, .cartao-jante:focus-visible img { transform: scale(1.07); }
.cartao-jante:hover .cartao-jante__seta, .cartao-jante:focus-visible .cartao-jante__seta { transform: translateX(4px); }
.cartao-jante:focus-visible { outline: 3px solid #e57200; outline-offset: 3px; }
@media (min-width: 992px) { .cartao-jante { min-height: 440px; } }
/* Em telemóvel, 2 por linha: fica só título, preço e seta */
@media (max-width: 575.98px) {
    .cartao-jante { min-height: 250px; border-radius: 14px; }
    .cartao-jante__texto { display: none; }
    .cartao-jante__corpo { padding: .85rem; }
    .cartao-jante__titulo { font-size: 1.05rem; }
    .cartao-jante__preco { font-size: .8rem; }
    .cartao-jante__seta { width: 32px; height: 32px; font-size: .95rem; }
    .cartao-jante__prazo { top: 10px; left: 10px; font-size: .68rem; padding: 3px 9px; }
}

/* Passos do processo e oferta (empréstimo / garagem) */
.passo-jante { text-align: center; padding: 0 .5rem; }
.passo-jante .passo-num { width: 48px; height: 48px; border-radius: 50%; background: #e57200; color: #fff; font-weight: bold; font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.oferta-jantes { background: #fff8e8; border: 2px solid #e57200; border-radius: 15px; padding: 2rem; }
.oferta-jantes .oferta-icone { color: #e57200; }

/* Secção das jantes estaladas (desempenar-jantes.html#fissuras) */
.secao-fissuras { background: linear-gradient(135deg, #fff8e8 0%, #fff 60%); scroll-margin-top: 90px; }
.etiqueta-secao { display: inline-block; margin-bottom: .75rem; padding: 4px 12px; border-radius: 999px; background: #e57200; color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.lista-fissuras { list-style: none; padding: 0; margin: 0 0 1rem; }
.lista-fissuras li { position: relative; padding-left: 1.9rem; margin-bottom: .75rem; color: #555; }
.lista-fissuras li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -1px; color: #e57200; font-size: 1.2rem; }

/* Galeria de trabalhos */
.galeria-jantes img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: .5rem; }

/* Comentários */
.review-card { background: #fff; border-radius: 12px; padding: 25px; border: 1px solid #eee; height: 100%; transition: .3s; }
.review-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,.05); transform: translateY(-5px); }
.google-stars { color: #fbbc05; font-size: 1.1rem; margin-bottom: 10px; }
.reviewer-name { font-weight: bold; color: #333; margin-bottom: 2px; display: block; }
.review-date { font-size: .85rem; color: #999; }
.review-text { font-style: italic; color: #555; margin-top: 15px; font-size: .95rem; line-height: 1.6; }
.google-logo-small { height: 60px; width: auto; vertical-align: middle; margin-right: 8px; }
.leave-review-box { background: #f8f9fa; border: 2px dashed #ddd; border-radius: 15px; padding: 40px; text-align: center; margin-top: 40px; }

/* Slider antes/depois */
.ba-slider { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: .5rem; user-select: none; touch-action: pan-y; }
.ba-slider-after, .ba-slider-before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.ba-slider-after img, .ba-slider-before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-slider-before { clip-path: inset(0 50% 0 0); }
.ba-slider-range { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.4); pointer-events: none; z-index: 2; transform: translateX(-50%); }
.ba-slider-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); box-shadow: 0 0 6px rgba(0,0,0,.4); font-size: 1.1rem; color: #333; }
.ba-slider-label { position: absolute; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; font-weight: bold; padding: 2px 10px; border-radius: 4px; z-index: 2; pointer-events: none; }
.ba-slider-label-left { left: 10px; }
.ba-slider-label-right { right: 10px; }

