/* === CONFIGURAÇÕES GLOBAIS E VARIÁVEIS ===
   Paleta extraída do site anterior (institutopaulista.com.br):
   azul-marinho no rodapé/seção de números, teal nos botões/hover. */
:root {
    --navy: #123a5d;
    --navy-dark: #0d2c47;
    --teal: #096979;
    --teal-dark: #075560;
    --title-color: #171c26;
    --text-color: #6e7990;
    --light-bg: #fafafa;
    --border-light: #e4e3e3;
    --white: #fff;
}
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: 3rem 0; }
.clear{ clear: both;}

/* === 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-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-link { display: block; flex-shrink: 0; }
.logo-link img { max-height: 55px; width: auto; }

.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.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s;
}

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

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

/* Dropdown de Especialidades (desktop) */
.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    position: absolute;
    top: 100%;
    left: -1.5rem;
    min-width: 300px;
    background-color: var(--white);
    box-shadow: 0 15px 35px rgba(18,58,93,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(--teal); background-color: var(--light-bg); }
.dropdown-menu li.active a { color: var(--teal); font-weight: 700; }
.dropdown-menu li.active a::before { content: '+ '; }

/* Grupo: bandeiras de idioma + botão Agendar Consulta */
.header-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.lang-flag {
    display: inline-flex;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    opacity: 0.55;
    border-radius: 2px;
    overflow: hidden;
    transition: opacity 0.2s, transform 0.2s;
}
.lang-flag:hover { opacity: 1; transform: translateY(-1px); }
.lang-flag .fi {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

/* Botão "Agendar Consulta" do header */
.btn-agendar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--teal);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    padding: 0.9rem 1.5rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s;
}
.btn-agendar:hover { background-color: var(--navy); }
.btn-agendar-divider { opacity: 0.5; font-weight: 300; }
.btn-agendar-plus { font-size: 1.1rem; line-height: 1; }

/* 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(--teal); }

.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(--teal); }
.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(--teal); }

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

.mobile-nav-translate { padding: 1rem 1.5rem; }
.mobile-nav-translate .lang-switcher { gap: 1rem; }
.mobile-nav-translate .lang-flag { opacity: 0.8; }
.mobile-nav-translate .lang-flag .fi { width: 1.8rem; height: 1.8rem; }

/* 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; }
    .btn-agendar { 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; }
}

/* === GOOGLE TRADUTOR (widget nativo oculto, usado só como motor) === */
/* Esconde a barra/iframe que o Google injeta no topo da página ao traduzir.
   A classe interna do iframe é ofuscada e muda entre versões, mas "skiptranslate"
   é a marcação estável que o próprio Google usa nesses elementos injetados. */
body > .skiptranslate,
iframe.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}
html, body { top: 0px !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

@media (max-width: 992px) {
    .header-inner .lang-switcher { display: none; }
}

/* === PAGINA HOME === */
/* TITULO */
.section-title-bar { background-color: var(--navy); color: #fff; padding: 20px 0; text-align: center; text-transform: uppercase; }
.section-title-bar h2 { margin: 0; font-size: 36px; font-weight: 500; color: #fff; }

.title-bar { background-color: var(--teal); color: #fff; padding: 5px 0; text-align: center; text-transform: uppercase; }
.title-bar h2 { margin: 0; font-size: 18px; font-weight: 500; color: #fff; }

.parallax-title-bar { padding: 150px 20px; position: relative;background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; }
#projetos-title-section { background-image: url('../../uploads/projetos-parallax-bg.jpg'); }

/* BANNER */
.hero-slider { position: relative; width: 100%; min-height: 250px; background-color: var(--light-bg); }
.hero-slider img { width: 100%; }
.hero-slider .splide__slide { line-height: 0; }
.hero-slider .splide__arrow { background: rgba(18, 58, 93, 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(--teal); transform: scale(1.1); border: 1px solid rgba(0,0,0,0.4); }

/* INTRO HOME */
.intro-section { background-color: var(--white); }
.intro-section .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.intro-content{ width: 65%; color: var(--text-color); font-size: 1.05rem; }
.intro-content h2, .intro-content h3 { color: var(--navy); margin-top: 0; }
.intro-imagem{ width: 35%; margin: 0; }
.intro-imagem img{ max-width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 10px 30px rgba(18,58,93,0.15); }
.intro-text a {
    display: inline-block;
    margin-top: 2rem;
    background-color: var(--teal);
    color: var(--white);
    padding: 10px 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background-color 0.3s, color 0.3s;
}
.intro-text a:hover { background-color: var(--navy); }
.btn-main {
    display: inline-block;
    background-color: var(--teal);
    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;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-main:hover { background-color: var(--navy); }
@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.75rem; }
}

/* === SEÇÃO DE NÚMEROS EM DESTAQUE (estatísticas / counters) === */
.stats-section {
    background-color: var(--navy);
}
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
}
.stat-item {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}
.stat-icone {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 0.3rem;
}
.stat-icone svg {
    width: 32px;
    height: 32px;
}
.stat-icone img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.stat-item-texto {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.stat-numero {
    display: block;
    font-family: 'Heebo', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.stat-texto {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
@media (max-width: 768px) {
    .stats-grid { gap: 1.5rem; }
    .stat-item { min-width: 45%; }
}
@media (max-width: 480px) {
    .stat-item { min-width: 100%; }
}

/* Estilos para o carrossel de especialidades */
.solucoes-section, .clientes-section, .noticias-home-section {
    background-color: var(--light-bg);
}
.solucoes-section h2, .clientes-section h2, .noticias-home-section h2 {
    text-align: center;
    margin: 0 0 2rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1.75rem;
}

.solucoes-carousel {
    width: 80%;
    margin: 0 auto;
}

.solucao-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(18,58,93,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}

.solucao-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(18,58,93,0.15);
}

.solucao-item img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.solucao-nome {
    color: var(--title-color);
    padding: 12px 10px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

@media (max-width: 768px) {
    .solucoes-carousel {
        width: 100%;
    }
}

/* === NOTÍCIAS NA HOME (prévia) === */
.noticias-carousel {
    width: 80%;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .noticias-carousel { width: 100%; }
}
.noticias-home-ver-todas {
    text-align: center;
    margin-top: 2.5rem;
}

/* === SEÇÃO DE PARCEIROS/CERTIFICAÇÕES === */
.parceiros-section {
    padding: 3rem 0;
    background-color: var(--light-bg);
}
.parceiros-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.parceiro-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.parceiro-item img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.25s, opacity 0.25s;
}
.parceiro-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
@media (max-width: 768px) {
    .parceiros-grid { gap: 2rem; }
    .parceiro-item img { max-height: 45px; }
}

/* === BARRA "AGENDE SUA CONSULTA" === */
.cta-agendar-section {
    background-color: var(--navy);
    padding: 0;
}
.cta-agendar-link {
    display: block;
    text-align: center;
    padding: 1.75rem 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: background-color 0.2s;
}
.cta-agendar-link:hover {
    background-color: var(--teal);
}

/* === CARDS DE NOTÍCIAS (listagem, 3 por linha) === */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.noticia-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(18,58,93,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.noticia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18,58,93,0.15);
}

.noticia-card-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}
.noticia-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
}
@media (max-width: 600px) {
    .noticia-card-image { height: 200px; }
}
.noticia-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem 1.5rem;
}
.noticia-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.noticia-card-meta i { color: var(--teal); }
.noticia-card-title {
    color: var(--title-color);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 1.25rem;
}
.noticia-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    color: var(--teal);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.noticia-card-plus { font-size: 1rem; line-height: 1; }

@media (max-width: 992px) {
    .noticias-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .noticias-grid { grid-template-columns: 1fr; }
}

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

.footer-col-info { flex: 0 0 260px; }
.footer-col-unidades { flex: 1; min-width: 280px; }

.footer-logo-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer-logo {
    max-width: 220px;
    flex-shrink: 0;
}

.footer-unidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-unidade h4 {
    color: var(--navy);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.6rem;
}
.footer-unidade p {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-color);
}
.footer-unidade-tel { color: var(--navy) !important; font-weight: 600; }

.footer-col { flex: 1; min-width: 300px; }

@media (max-width: 992px) {
    .footer-unidades-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .footer-logo-social { align-items: center; text-align: center; }
    .footer-unidades-grid { grid-template-columns: 1fr; text-align: center; }
}

.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: 1.4rem;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.site-footer .social-icons a:hover {
    background-color: var(--teal);
    color: #fff;
}

.site-footer .social-icons a[aria-label="WhatsApp"] {
    width: auto;
    height: auto;
    background-color: transparent;
    color: var(--title-color);
    border-radius: 0;
    font-size: 1rem;
}
.site-footer .social-icons a[aria-label="WhatsApp"]:hover {
    background-color: transparent;
    color: var(--teal);
}
.site-footer .social-icons a[aria-label="WhatsApp"] i {
    color: #25D366;
    margin-right: 5px;
    font-size: 1.4rem;
}

.contact-info .whatsapp-link, .contact-info .social-icons { margin-bottom: 1rem; }
.contact-info img {
    width: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
}
.btn-footer { display: inline-block; background-color: var(--teal); color: #fff; padding: 0.8rem 1.5rem; text-decoration: none; font-weight: 600; text-transform: uppercase; margin-top: 1rem; }
.btn-footer:hover { background-color: var(--teal-dark); }
.footer-divider { border: none; border-top: 1px solid rgba(0,0,0,0.1); margin: 2rem 0; }
.footer-bottom { background-color: #F4F4F4; color: var(--text-color); padding: 1rem 0; font-size: 0.8rem; border-top: 1px solid rgba(0,0,0,0.08); }
.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 transparent;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fff;
    color: var(--title-color);
}
.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; }
}

/* === 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(--teal);
}

/* === BOTÃO FLUTUANTE WHATSAPP (com formulário de captação) === */
.zapbox {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}
.zapbox .btw {
    width: 90px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
}
.zapbox .btw:hover {
    transform: scale(1.05);
}
.zapbox .questao {
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    width: 260px;
    background-color: #fff;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.zapbox .questao.show {
    display: flex;
}
.zapbox .questao p {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--title-color);
}
.zapbox .questao label {
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: -0.3rem;
}
.zapbox .questao input[type="text"] {
    padding: 0.6rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 0.9rem;
}
.zapbox .questao button {
    margin-top: 0.4rem;
    background-color: var(--teal);
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.zapbox .questao button:hover {
    background-color: var(--teal-dark);
}
@media (max-width: 480px) {
    .zapbox { right: 15px; bottom: 80px; }
    .zapbox .questao { width: 220px; }
}


/* ======================================================
   ### ESTILOS PARA PÁGINAS INTERNAS ###
   ====================================================== */
.pagina{ padding: 0; background-color: var(--white); }
.pagina .pagina-banner { width: 100%; display: inline-block; z-index: -1; }
.pagina .meio{ line-height: 1.8; font-size: 16px; max-width: 1000px; margin: 0 auto; padding: 20px; background: var(--white); z-index: 2; }
.pagina .meio iframe { width: 100%; }

.page-wrapper {
    padding: 30px 20px 40px;
    background-color: var(--white);
}
/* ======================================================
   ### ESTILOS PARA PÁGINAS DE DETALHE E BUSCA ###
   ====================================================== */

.detail-page .container {
    max-width: 1000px;
    padding: 10px;
}
.detail-image {
    max-width: 40%;
    float: left;
    margin: 0 20px 20px 0;
}
.detail-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 100%;
    margin: 0 auto;
}
.detail-text h3, .detail-text h4 { color: var(--navy); }
.noticia-data { color: var(--teal); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; margin-top: -0.5rem; }

@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);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .search-results-grid,
    .solucoes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .search-results-grid,
    .solucoes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* === PÁGINA DE DETALHE DA ESPECIALIDADE/NOTÍCIA (BANNER FULL) === */
.solucao-banner {
    width: 100%;
    height: 40vh;
    position: relative;
    overflow: hidden;
}
.solucao-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.solucao-title-box {
    background-color: var(--navy);
    color: #fff;
    padding: 0.5rem 1rem;
    margin: -80px auto 0;
    position: relative;
    z-index: 10;
    display: table;
    max-width: 80%;
    text-align: center;
}
.solucao-title-box h2 {
    margin: 0;
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .solucao-banner { height: 40vh; }
    .solucao-title-box { display: block; width: auto; margin-top: -40px; padding: 1.5rem; }
    .solucao-title-box h2 { font-size: 1.5rem; }
}

/* ======================================================
   ### ESTILOS PARA A PÁGINA DE CONTATO (/contato) ###
   ====================================================== */

.contato-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.contato-intro h1 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.contato-intro p {
    color: var(--text-color);
}

.unidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.unidade-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18,58,93,0.08);
}
.unidade-mapa { aspect-ratio: 4 / 3; }
.unidade-mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.unidade-info { padding: 1.5rem; }
.unidade-info h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
}
.unidade-endereco, .unidade-telefone {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0 0 0.6rem;
}
.unidade-endereco i, .unidade-telefone i {
    color: var(--teal);
    margin-top: 0.2rem;
}
.unidade-telefone a { color: var(--text-color); text-decoration: none; }
.unidade-telefone a:hover { color: var(--teal); }

.contato-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 10px;
}
.contato-form-wrapper h2 {
    text-align: center;
    color: var(--navy);
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.contato-form-wrapper .contact-form-footer input,
.contato-form-wrapper .contact-form-footer textarea {
    border: 1px solid var(--border-light);
    color: var(--title-color);
}
.contato-form-wrapper .btn-main {
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 992px) {
    .unidades-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .unidades-grid { grid-template-columns: 1fr; }
    .contato-form-wrapper { padding: 1.5rem; }
}
.contact-form button:hover {
    background-color: var(--navy);
}
