/* === CONFIGURAÇÕES GLOBAIS E VARIÁVEIS ===
   Paleta baseada no layout aprovado da Riberteq: azul-marinho nas
   faixas de destaque e azul médio nos botões/links. */
:root {
    --navy: #1B1D56;
    --navy-dark: #0c1129;
    --blue: #1E5FB7;
    --blue-dark: #163f87;
    --title-color: #171c26;
    --text-color: #5b6472;
    --light-bg: #f4f6fb;
    --border-light: #e4e3e3;
    --white: #fff;
    --whatsapp: #25D366;
}
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: var(--text-color);
    line-height: 1.75;
    overflow-x: hidden;
    max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Heebo', sans-serif;
    color: var(--title-color);
    font-weight: 500;
}
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
img { max-width: 100%; height: auto; display: block; }
.page-section { padding: 3.5rem 0; }
.clear{ clear: both;}

/* === PLACEHOLDER DE IMAGEM (quando o admin ainda não subiu a foto) === */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    min-height: 160px;
    background-color: #e9ecf3;
    color: #a3acc2;
    border: 1px dashed #c7cee0;
    border-radius: 4px;
}
.img-placeholder i { font-size: 1.8rem; }
.img-placeholder span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* === HEADER (LOGO, MENU E DROPDOWN) === */
header {
    background-color: var(--white);
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-actions { position: relative; flex-shrink: 0; }
.header-social-icons {
    position: absolute;
    right: 0;
    bottom: 100%;
    margin-bottom: 0.45rem;
    display: flex;
    gap: 0.9rem;
}
.header-social-icons a { color: var(--title-color); font-size: 0.85rem; text-decoration: none; }
.header-social-icons a:hover { color: var(--blue); }

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-link { display: block; flex-shrink: 0; }
.logo-link img { max-height: 107px; width: auto; }
.logo-placeholder-text {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--navy);
}

.nav-bar { flex: 1; display: flex; align-items: center; justify-content: center; }

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1.6rem 0;
    color: var(--title-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-menu > li > a i { font-size: 0.7rem; }

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.nav-menu > li.has-dropdown:hover > a {
    color: var(--blue);
}

/* Dropdown de Produtos (desktop) */
.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    position: absolute;
    top: 100%;
    left: -1.5rem;
    min-width: 220px;
    background-color: var(--white);
    box-shadow: 0 15px 35px rgba(20,27,61,0.18);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-menu > li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.2s, background-color 0.2s;
}
.dropdown-menu li a:hover { color: var(--blue); background-color: var(--light-bg); }
.dropdown-menu li.active a { color: var(--blue); font-weight: 700; }

/* Botão "Fale Conosco" do header */
.btn-agendar {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--blue);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 5px 10px;
    border-radius: 30px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s;
}
.btn-agendar i { font-size: 1.1rem; color: var(--whatsapp); }
.btn-agendar:hover { background-color: var(--blue-dark); }

/* Botão Toggle Mobile (Escondido no Desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--title-color);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Menu Mobile (Gaveta Lateral) */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 2000;
    transition: right 0.3s ease;
    padding-top: 1rem;
    box-shadow: -2px 0 15px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.mobile-nav.active { right: 0; }

.mobile-nav-header { text-align: right; padding: 0 1rem; }
.mobile-nav-close { background: none; border: none; color: var(--title-color); font-size: 2rem; cursor: pointer; }

.mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav-list > li { border-bottom: 1px solid var(--border-light); }
.mobile-nav-list > li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--title-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
}
.mobile-nav-list > li > a:hover { color: var(--blue); }

.has-dropdown-mobile { display: flex; flex-wrap: wrap; align-items: center; }
.has-dropdown-mobile > a { flex: 1; }
.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: var(--title-color);
    font-size: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.has-dropdown-mobile.open .mobile-dropdown-toggle { transform: rotate(180deg); color: var(--blue); }
.mobile-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: var(--light-bg);
    transition: max-height 0.3s ease;
}
.has-dropdown-mobile.open .mobile-dropdown-menu { max-height: 600px; }
.mobile-dropdown-menu li a {
    display: block;
    padding: 0.75rem 2rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-light);
}
.mobile-dropdown-menu li a:hover { color: var(--blue); }

.mobile-nav-cta { padding: 1.5rem; border-bottom: none !important; }
.mobile-nav-cta .btn-agendar { width: 100%; justify-content: center; }

/* Overlay Escuro */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
}
.mobile-nav-overlay.active { display: block; }

/* Responsividade do Menu */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .header-actions { display: none; }
    .mobile-menu-toggle { display: block; flex-shrink: 0; }
    .nav-bar { flex-shrink: 0; justify-content: flex-end; }
    .header-inner { padding: 0.75rem 1rem; }
    .logo-link { min-width: 0; }
    .logo-link img { max-height: 42px; max-width: 45vw; }
}

/* === BANNER (slider da Home, gerido em Banners no admin) === */
.hero-slider { position: relative; width: 100%; min-height: 250px; background-color: var(--light-bg); line-height: 0; }
.hero-slider img { width: 100%; }
.hero-slider .splide__slide { line-height: 0; }
.hero-slider .splide__arrow { background: rgba(20,27,61,0.7); width: 3rem; height: 3rem; }
.hero-slider .splide__arrow svg { fill: #fff; }
.hero-slider .splide__pagination { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-slider .splide__pagination__page { background: rgba(255,255,255,0.7); width: 12px; height: 12px; margin: 0 6px; opacity: 1; border: 1px solid rgba(0,0,0,0.2); }
.hero-slider .splide__pagination__page.is-active { background: var(--blue); transform: scale(1.1); border: 1px solid rgba(0,0,0,0.4); }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--blue);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.75rem;
    border-radius: 30px;
    transition: background-color 0.2s;
}
.btn-cta:hover { background-color: var(--blue-dark); }
.btn-cta i { color: var(--whatsapp); font-size: 1.1rem; }

/* === FAIXA DE DIFERENCIAIS (4 ícones) === */
.features-section { background-color: var(--navy); padding: 2.5rem 0; }
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.feature-item {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-icone { flex-shrink: 0; display: flex; align-items: center; }
.feature-icone img { width: auto; height: 100px; min-height: 100px; }
.feature-icone .img-placeholder { background: transparent; border: none; min-height: 100px; width: 100px; height: 100px; }
.feature-icone .img-placeholder i { font-size: 1.3rem; color: rgba(255,255,255,0.6); }
.feature-icone .img-placeholder span { display: none; }
.feature-texto h3 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.35rem;
}
.feature-texto p {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .features-grid { flex-direction: column; }
}

/* === INTRO HOME (texto + imagem) === */
.intro-section { background-color: var(--white); }
.intro-section .container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}
.intro-content { width: 50%; }
.intro-content h2 { color: var(--blue); margin-top: 0; font-size: 1.9rem; line-height: 1.3; }
.intro-texto { color: var(--text-color); font-size: 1.02rem; }
.intro-imagem { width: 50%; margin: 0; }
.intro-imagem img, .intro-imagem .img-placeholder {
    max-width: 100%;
    height: auto;
    min-height: 320px;
    display: block;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(20,27,61,0.15);
}
.btn-main {
    display: inline-block;
    background-color: var(--blue);
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-main:hover { background-color: var(--blue-dark); }
@media (max-width: 768px) {
    .intro-section .container { flex-direction: column; }
    .intro-content, .intro-imagem { width: 100%; }
    .intro-content { text-align: center; }
    .intro-content h2 { font-size: 1.6rem; }
}

/* === CARDS (Serviços / Produtos / Resultados de busca) === */
.servicos-section { background-color: var(--light-bg); }
.servicos-section h2 {
    text-align: center;
    color: var(--blue);
    margin-bottom: 2.5rem;
    font-size: 1.6rem;
}
.servicos-carousel { padding: 0 3rem; }

@media (max-width: 600px) {
    .servicos-section { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .servicos-section h2 { font-size: 1.2rem; margin-bottom: 1rem; }
    .servicos-carousel { padding: 0 0.5rem; }
    .servicos-carousel .splide__arrow { width: 2rem; height: 2rem; }
}

.grid-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(20,27,61,0.08);
    height: 100%;
}
.grid-card-img {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    background-color: var(--light-bg);
}
.grid-card-img img, .grid-card-img .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}
.grid-card-eye {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(20,27,61,0.25);
}
.grid-card-body { padding: 1.6rem 1rem 1.2rem; text-align: center; }
.grid-card-title {
    color: var(--title-color);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.6rem;
}
.grid-card-desc { color: var(--text-color); font-size: 0.85rem; margin: 0; }

/* Setas do carrossel (Splide) */
.content-carousel .splide__arrow {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(20,27,61,0.15);
    width: 2.6rem;
    height: 2.6rem;
}
.content-carousel .splide__arrow svg { fill: var(--navy); }
.content-carousel .splide__arrow:hover { background: var(--light-bg); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    margin-top: 1rem;
}
@media (max-width: 992px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .cards-grid { grid-template-columns: 1fr; }
}

.produtos-filtro {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.produtos-filtro form { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.produtos-filtro input[type="text"],
.produtos-filtro select {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: inherit;
    color: var(--title-color);
}
.produtos-filtro input[type="text"] { flex: 1; min-width: 220px; }
.produtos-filtro select { min-width: 200px; }
.produtos-filtro button {
    background-color: var(--blue);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
}
.produtos-filtro button:hover { background-color: var(--blue-dark); }
.produtos-filtro .btn-limpar {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    background-color: var(--border-light);
    color: var(--title-color);
    text-decoration: none;
    font-weight: 600;
}
@media (max-width: 480px) {
    .produtos-filtro form { flex-direction: column; align-items: stretch; }
}

/* === PÁGINA DE PRODUTOS POR MARCA === */
.marca-header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.marca-header-logo { max-height: 70px; width: auto; }
.marca-header h1 { margin: 0; color: var(--navy); }

/* === FAIXA DE MARCAS/PARCEIROS === */
.marcas-section { background-color: var(--white); border-top: 1px solid var(--border-light); }
.marcas-carousel .splide__slide { display: flex; align-items: center; justify-content: center; }
.marca-item { display: flex; align-items: center; justify-content: center; width: 100%; }
.marca-item img { max-height: 100px; width: auto; margin: 0 auto; }
.marca-nome-placeholder {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* === FAIXA DE CHAMADA (CTA), presente em todas as páginas === */
.cta-section { background-color: var(--navy); padding: 3rem 0; text-align: center; }
.cta-section h2 { color: #fff; margin: 0 0 1.5rem; font-size: 1.6rem; }

@media (max-width: 600px) {
    .marcas-section { padding-top: 1rem; padding-bottom: 1rem; }
    .intro-section { padding-top: 1rem; }
    .cta-section { padding-top: 1.5rem; }
    .marcas-carousel .marca-item img { max-width: 55%; }
    .marcas-carousel .splide__arrow { width: 2rem; height: 2rem; }
    .marcas-carousel .splide__arrow--prev { left: 0; }
    .marcas-carousel .splide__arrow--next { right: 0; }
}

/* === RODAPÉ (FOOTER) === */
.site-footer { color: var(--title-color); background-color: var(--light-bg); }
.footer-main { padding: 3rem 0 1.5rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 3rem; }

.footer-col-info { flex: 1; min-width: 260px; }
.footer-col-form { flex: 1; min-width: 300px; position: relative; }

.footer-logo-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.footer-logo { max-width: 200px; }
.footer-logo-text { font-size: 1.8rem; }

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--title-color);
    text-decoration: none;
    font-weight: 600;
}
.footer-whatsapp i { color: var(--whatsapp); font-size: 1.2rem; }

.footer-endereco { font-size: 0.9rem; color: var(--text-color); }
.footer-endereco p { margin: 0 0 0.4rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-endereco i { color: var(--blue); margin-top: 0.2rem; }

.footer-form-icon {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Heebo', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue);
}

.site-footer .social-icons { display: flex; gap: 0.75rem; }
.site-footer .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background-color: var(--navy);
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.3s;
}
.site-footer .social-icons a:hover { background-color: var(--blue); }

.voltar-topo-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    cursor: pointer;
}
.voltar-topo-link:hover { color: var(--blue); }

.footer-bottom { background-color: var(--white); border-top: 1px solid var(--border-light); padding: 1rem 0; font-size: 0.8rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; color: var(--text-color); }
.copyright { margin: 0; }

/* Estilos para o formulário de contato no rodapé */
.contact-form-footer .form-message {
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}
.contact-form-footer .form-message.success { color: #155724; background-color: #d4edda; border: 1px solid #c3e6cb; }
.contact-form-footer .form-message.error { color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb; }

.contact-form-footer input[type="text"],
.contact-form-footer input[type="email"],
.contact-form-footer input[type="tel"],
.contact-form-footer textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 10px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fff;
    color: var(--title-color);
    font-family: inherit;
}
.contact-form-footer ::placeholder { color: #888; opacity: 1; }
.contact-form-footer button.btn-main {
    width: auto;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    margin-top: 0;
}

.footer-seals { display: flex; align-items: center; gap: 1rem; }
.footer-logo-small { max-height: 25px; }
@media (max-width: 768px) {
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .footer-row { flex-direction: column; }
    .footer-logo-social { align-items: center; text-align: center; }
    .footer-col-form { margin-top: 2.5rem; min-width: 0; width: 100%; }
    .footer-col-info { min-width: 0; width: 100%; }
}

/* === BOTÃO VOLTAR AO TOPO === */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--navy);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 1000;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}
.back-to-top-btn.show { opacity: 1; visibility: visible; }
.back-to-top-btn:hover { background-color: var(--blue); }

/* === BOTÃO FLUTUANTE WHATSAPP === */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background-color: var(--whatsapp);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 2rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-floating-btn:hover { transform: scale(1.1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }


/* ======================================================
   ### ESTILOS PARA PÁGINAS INTERNAS (Empresa, Serviços, Produtos) ###
   ====================================================== */
.pagina { padding: 0; background-color: var(--white); }
.pagina-banner { width: 100%; aspect-ratio: 16 / 5; }
.pagina-banner img, .pagina-banner .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.pagina-banner-auto { aspect-ratio: auto; height: auto; }
.pagina-banner-auto img, .pagina-banner-auto .img-placeholder { height: auto; }

.page-wrapper {
    padding: 30px 20px 40px;
    background-color: var(--white);
}

.detail-page .container {
    max-width: 1000px;
    padding: 10px;
}
.detail-image {
    max-width: 40%;
    float: left;
    margin: 0 20px 20px 0;
    border-radius: 4px;
}
.detail-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 100%;
    margin: 0 auto;
}
.detail-text h3, .detail-text h4 { color: var(--navy); line-height: 1.3; }
.detail-text > *:first-child { margin-top: -5px; }

@media (max-width: 768px) {
    .detail-image { max-width: 100%; float: none; margin: 0 0 20px 0; }
    .detail-text { max-width: 100%; }
}

.search-divider { margin: 2rem 0; border: 0; border-top: 1px solid var(--border-light); }

/* === DETALHE DE PRODUTO === */
.produto-detail-grid { display: flex; gap: 3rem; align-items: flex-start; }
.produto-detail-imagens { width: 40%; flex-shrink: 0; }
.produto-imagem-principal { border-radius: 6px; margin-bottom: 1rem; width: 100%; height: auto; }
.produto-galeria { display: flex; gap: 0.75rem; }
.produto-galeria a { flex: 1; min-width: 0; }
.produto-galeria-item { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.produto-detail-texto { flex: 1; }
.produto-detail-texto h1 { color: var(--navy); font-size: 1.6rem; margin-top: 0; }
.produto-marca-link { display: inline-block; margin-bottom: 1.5rem; }
.produto-marca-logo { max-height: 40px; width: auto; }
@media (max-width: 768px) {
    .produto-detail-grid { flex-direction: column; }
    .produto-detail-imagens { width: 100%; }
}

.produto-lightbox-link { display: block; cursor: zoom-in; }

/* === LIGHTBOX === */
.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.2s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img {
    max-width: 90vw; max-height: 85vh; border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: none; border: none; color: #fff;
    font-size: 2rem; cursor: pointer; padding: 0.5rem 1rem; line-height: 1;
    opacity: 0.8; transition: opacity 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 1rem; right: 1rem; font-size: 2.5rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
@media (max-width: 600px) {
    .lightbox-prev, .lightbox-next { font-size: 2rem; }
}

/* ======================================================
   ### ESTILOS PARA A PÁGINA DE CONTATO (/contato) ###
   ====================================================== */
.contato-grid { display: flex; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.contato-foto { flex: 1; min-width: 280px; position: relative; }
.contato-foto img, .contato-foto .img-placeholder { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 8px; }
.contato-info {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    background-color: rgba(20,27,61,0.85);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 6px;
}
.contato-info p { margin: 0 0 0.3rem; font-size: 0.9rem; }
.contato-info .contato-telefone { font-weight: 700; }

.contato-mapa { flex: 1; min-width: 280px; }
.contato-mapa iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 8px; display: block; }

/* ======================================================
   ### ESTILOS PARA CIDADES ATENDIDAS (/cidades e /cidade) ###
   ====================================================== */
.cidades-filtro {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.cidades-filtro form { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cidades-filtro input[type="text"],
.cidades-filtro select {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: inherit;
    color: var(--title-color);
}
.cidades-filtro input[type="text"] { flex: 1; min-width: 220px; }
.cidades-filtro button {
    background-color: var(--blue);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
}
.cidades-filtro button:hover { background-color: var(--blue-dark); }
.cidades-filtro .btn-limpar {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    background-color: var(--border-light);
    color: var(--title-color);
    text-decoration: none;
    font-weight: 600;
}

.cidades-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 4;
    column-gap: 2rem;
}
.cidades-list li { break-inside: avoid; margin-bottom: 0.75rem; }
.cidades-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cidades-list a i { color: var(--blue); font-size: 0.8rem; }
.cidades-list a:hover { color: var(--blue); }
.cidades-vazio { color: var(--text-color); }

@media (max-width: 992px) { .cidades-list { columns: 3; } }
@media (max-width: 768px) { .cidades-list { columns: 2; } }
@media (max-width: 480px) {
    .cidades-list { columns: 1; }
    .cidades-filtro form { flex-direction: column; align-items: stretch; }
}
