/*
 * Ajustes da FLABEL carregados DEPOIS do CSS do tema (style.css).
 * Regra: nada de redesenho — só acessibilidade e substitutos locais
 * de recursos externos bloqueados pela CSP 'self'.
 */

/* ---------- Skip link: invisível até receber foco ---------- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -200px;
    z-index: 100000;
    padding: 12px 22px;
    background-color: #1c63b8;
    color: #fff !important;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.skip-link:focus,
.skip-link:active {
    top: 0;
    outline: 3px solid #0f4c92;
    outline-offset: 0;
}

/* <main> é só um landmark: não altera o layout do tema */
#conteudo {
    display: block;
    margin: 0;
    padding: 0;
}
#conteudo:focus {
    outline: none;
}

/* Foco visível para teclado (o reset do tema remove o outline dos links) */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #0f4c92;
    outline-offset: 2px;
}

/* ---------- Cabeçalho e rodapé: telefone em link tel: sem mudar o visual ---------- */
#site-header .header-info .info-c .title a {
    color: inherit;
    text-decoration: none;
}
#site-header .header-info .info-c .title a:hover {
    color: #1c63b8;
}
#footer-widgets .widget.widget_information ul li .text strong {
    color: inherit;
    font-weight: 600;
}
#footer-widgets .widget.widget_information ul li .text a {
    color: inherit;
}
#footer-widgets .widget.widget_information ul li .text a:hover {
    color: #1c63b8;
}
/* Rodapé "LINKS" agora é <nav>: mesmo bloco do antigo <div class="widget"> */
#footer-widgets nav.widget {
    display: block;
}

/* Âncoras /services#<slug>: não ficar escondido sob o cabeçalho fixo */
.wprt-icon-box[id] {
    scroll-margin-top: 120px;
}

/* Âncora #fotos (botão "GALERIA DE FOTOS") abaixo do cabeçalho fixo */
#fotos {
    scroll-margin-top: 100px;
}

/* ---------- Galeria da home: legenda <p class="title"> com o visual do antigo <h2><a> ---------- */
.gallery-box .hover-effect .text p.title {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
    color: #fff;
    margin: 20px 0 0;
    text-rendering: optimizeLegibility;
    opacity: 0;
    visibility: hidden;
}
.gallery-box .hover-effect:hover .text p.title {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.2s, -webkit-transform 0.3s;
    transition: opacity 0.2s, transform 0.3s;
}

/* ---------- Contato: falar direto (substitui o formulário inexistente) ---------- */
.wprt-icon-box .desc strong {
    font-weight: 600;
}
.contact-direct-buttons .wprt-button {
    margin: 0 10px 10px 0;
}

/* ---------- Política de privacidade ---------- */
.privacy-content h2 {
    font-size: 22px;
    margin: 35px 0 12px;
}
.privacy-content ul {
    margin: 0 0 20px 20px;
    list-style: disc;
}
.privacy-content ul li {
    margin-bottom: 8px;
}

/* ---------- Mapa estático local (substitui o iframe do Google Maps) ---------- */
.wprt-gmap-static {
    display: block;
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background-color: #e9eef3;
}
.wprt-gmap-static img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}
.wprt-gmap-static .map-cta {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 0 22px;
    line-height: 40px;
    background-color: #1c63b8;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    -webkit-transition: background-color ease 0.3s;
    transition: background-color ease 0.3s;
}
.wprt-gmap-static:hover .map-cta,
.wprt-gmap-static:focus .map-cta {
    background-color: #0f4c92;
}
@media only screen and (max-width: 767px) {
    .wprt-gmap-static .map-cta {
        left: 15px;
        right: 15px;
        bottom: 15px;
        text-align: center;
    }
}

/* ---------- Perguntas frequentes (home e /services) ----------
 * Usa o título de seção do tema (.wprt-headings.style-1) e <details>/<summary>
 * nativos: abre/fecha sem JavaScript. Espaçamento em CSS (os .wprt-spacer
 * do tema dependem de JS). */
.row-faq {
    padding: 83px 0 90px;
    scroll-margin-top: 100px;
}
.row-faq .wprt-headings {
    margin-bottom: 45px;
}
.wprt-faq .faq-item {
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-left: 3px solid #1c63b8;
    border-radius: 3px;
    margin-bottom: 15px;
}
.wprt-faq .faq-item:last-child {
    margin-bottom: 0;
}
.wprt-faq .faq-item summary {
    display: block;
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 18px 60px 18px 25px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.5;
    color: #333;
    -webkit-transition: color ease 0.3s;
    transition: color ease 0.3s;
}
.wprt-faq .faq-item summary::-webkit-details-marker {
    display: none;
}
.wprt-faq .faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    background-color: #1c63b8;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
}
.wprt-faq .faq-item[open] summary::after {
    content: "\2212";
}
.wprt-faq .faq-item summary:hover,
.wprt-faq .faq-item[open] summary {
    color: #1c63b8;
}
.wprt-faq .faq-answer {
    padding: 0 25px 20px;
}
.wprt-faq .faq-answer p {
    margin: 0;
}
.wprt-faq .faq-answer a {
    color: #1c63b8;
    font-weight: 600;
}
.wprt-faq .faq-answer a:hover {
    color: #0f4c92;
    text-decoration: underline;
}
@media only screen and (max-width: 991px) {
    .row-faq {
        padding: 60px 0;
    }
    .row-faq .wprt-headings {
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 767px) {
    .wprt-faq .faq-item summary {
        font-size: 15px;
        padding: 15px 55px 15px 18px;
    }
    .wprt-faq .faq-answer {
        padding: 0 18px 18px;
    }
}

/* ---------- Página 404 ---------- */
.error-404-box {
    text-align: center;
    padding: 20px 0;
}
.error-404-box .code {
    display: block;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 96px;
    line-height: 1;
    color: #1c63b8;
    margin-bottom: 20px;
}
.error-404-box p {
    font-size: 16px;
}
.error-404-box .wprt-button {
    margin: 5px;
}
