/* GERAL */

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: rgb(0, 0, 0);
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* OTIMIZAÇÕES MOBILE */
@media (max-width: 768px) {
    /* Otimização de toque */
    * {
        -webkit-tap-highlight-color: rgba(0, 158, 16, 0.2);
    }
    
    /* Melhor área de toque para links e botões */
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Desabilitar zoom em inputs */
    input, textarea, select {
        font-size: 16px;
    }
    
    /* Melhorar performance de animações mobile */
    * {
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

h2.titulo {
    color: #fff;
    font-size: 38px;
    text-align: center;
}

h2.titulo span {
    color: rgb(0, 158, 16);
}

button:hover {
    box-shadow: 0px 0px 8px rgba(0, 191, 255, 0.435);
    transform: scale(1.05);
}

/* CABEÇALHO */

header {
    padding: 40px 4%;
}

header > .interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: #7d7c7c;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover {
    color: #fff;
    transform: scale(1.05);
}

header nav ul {
    list-style-type: none;
}

header nav ul li {
    display: inline-block;
    padding: 0 15px;
}

.menu-desktop {
    display: block;
}

.logo img {
    width: 100px;
}

/* TOPO */

section.topo-site {
    padding: 60px 4%;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.topo-site .hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Lado Esquerdo - Conteúdo Principal */
.txt-topo-site {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.topo-site h1 {
    color: #fff;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: center;
}

.topo-site .txt-topo-site h1 span {
    color: rgb(0, 158, 16);
}

.descricao-principal {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    max-width: 800px;
}

/* Estatísticas */
.stats-section {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.0rem;
    font-weight: 700;
    color: rgb(0, 158, 16);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 5px;
}

.logo-historia-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 900px;
    align-items: center;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-hero {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: pulseGlow 3s ease-in-out infinite;
}

.logo-zagonel {
    width: 230px;
    height: 230px;
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 10px 30px rgba(0, 158, 16, 0.3));
    }
}

.historia-card {
    background: rgba(23, 23, 23, 0.8);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 158, 16, 0.3);
    backdrop-filter: blur(10px);
}

.historia-card h3 {
    color: rgb(0, 158, 16);
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.historia-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.marcos-historicos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.marco {
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 12px;
    background: rgba(0, 158, 16, 0.1);
    border-radius: 8px;
    border-left: 3px solid rgb(0, 158, 16);
}

.marco strong {
    color: rgb(0, 158, 16);
    margin-right: 8px;
}

@media (max-width: 768px) {
    section.topo-site {
        padding: 30px 5%;
        min-height: auto;
    }
    
    .topo-site .hero-content {
        gap: 25px;
    }
    
    .txt-topo-site {
        gap: 20px;
    }
    
    .topo-site h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .descricao-principal {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 0 10px;
    }
    
    /* MELHORIAS MOBILE - LOGOS */
    .logo-container {
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }
    
    .logo-hero {
        width: 120px;
        height: 120px;
    }
    
    .logo-zagonel {
        width: 140px;
        height: 140px;
    }
    
    /* MELHORIAS MOBILE - ESTATÍSTICAS */
    .stats-section {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 15px 0;
    }
    
    .stat-item {
        background: rgba(0, 158, 16, 0.05);
        padding: 15px 20px;
        border-radius: 10px;
        width: 100%;
        border: 1px solid rgba(0, 158, 16, 0.2);
    }
    
    .stat-number {
        font-size: 2.2rem;
        font-weight: 800;
    }
    
    .stat-label {
        font-size: 0.9rem;
        margin-top: 8px;
    }
    
    /* MELHORIAS MOBILE - HISTÓRIA */
    .logo-historia-section {
        gap: 20px;
        padding: 0 5px;
    }
    
    .historia-card {
        padding: 20px 18px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .historia-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .historia-card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.7;
    }
    
    .marcos-historicos {
        gap: 10px;
        margin-top: 15px;
    }
    
    .marco {
        font-size: 0.88rem;
        padding: 10px 14px;
        line-height: 1.5;
        transition: all 0.3s ease;
    }
    
    .marco:active {
        transform: scale(0.98);
        background: rgba(0, 158, 16, 0.2);
    }
}

/* HORÁRIO DE ATENDIMENTO */

.horario-atendimento {
    background: #000000;
    padding: 50px 0;
    text-align: center;
    color: #fff;
}

.horario-atendimento .titulo {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.horario-atendimento .flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.horario-box {
    background: #171717;
    padding: 20px;
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
}

.horario-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255,255,255,0.2);
}

/* Efeito de toque em mobile para horario-box */
@media (max-width: 768px) {
    .horario-box:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
}

.horario-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.horario-box p {
    font-size: 1rem;
    color: #ccc;
}

/* Card único para informações */
.card-unico {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.info-content {
    background: #171717;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    color: #fff;
    max-width: 600px;
    width: 100%;
    text-align: left;
}

.info-content h3 {
    color: rgb(0, 158, 16);
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.info-content p {
    margin: 8px 0;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}

.info-content strong {
    color: #fff;
}

.divisor {
    border: none;
    height: 1px;
    background: rgb(0, 158, 16);
    margin: 25px 0;
}

/* Botão certificado */
.botao-certificado-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.btn-certificado {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgb(0, 158, 16) 0%, rgb(0, 120, 12) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-certificado:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 158, 16, 0.4);
    background: linear-gradient(135deg, rgb(0, 180, 18) 0%, rgb(0, 140, 14) 100%);
    text-decoration: none;
    color: #fff;
}

.btn-certificado i {
    font-size: 18px;
}

/* Responsividade para card único */
@media (max-width: 768px) {
    /* MELHORIAS MOBILE - HORÁRIOS E INFO */
    .horario-atendimento {
        padding: 40px 5%;
    }
    
    .horario-atendimento .titulo {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .horario-box {
        min-width: 100%;
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        border: 1px solid rgba(0, 158, 16, 0.2);
    }
    
    .horario-box h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .horario-box p {
        font-size: 0.95rem;
    }
    
    .info-content {
        padding: 22px 18px;
        margin: 0 10px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    }
    
    .info-content h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .info-content p {
        font-size: 0.92rem;
        line-height: 1.6;
        margin: 10px 0;
    }
    
    .btn-certificado {
        padding: 12px 22px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 158, 16, 0.3);
    }
    
    .btn-certificado:active {
        transform: scale(0.98);
    }
    
    .btn-certificado i {
        font-size: 17px;
    }
}

/* ESPECIALIDADES (GALERIA) */

section.especialidades {
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #ffffff0a;
}

section.especialidades .flex {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center; 
    margin-top: 40px;
}

.card {
    background: #000000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px;
    width: 320px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.card:hover {
    transform: translateY(-5px);
}

/* Efeito de toque em mobile para cards */
@media (max-width: 768px) {
    .card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
}

.card p {
    color: white;
}



/* RODAPÉ */

footer {
    padding: 40px 4%;
    background-color: black;
    color: #fff;
}

footer .borda {
    border-top: 2px solid rgb(0, 158, 16);
    padding-top: 20px;
}

footer .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-footer img {
    width: 100px;
}

.localizacao-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.localizacao-footer i {
    color: rgb(0, 158, 16);
    font-size: 20px;
}

.localizacao-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.localizacao-footer a:hover {
    color: rgb(0, 158, 16);
}

.btn-social {
    display: flex;
    gap: 8px;
}

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: rgb(0, 158, 16);
    font-size: 24px;
    cursor: pointer;
    margin: 0 4px;
    transition: .2s;
}

/* MENU DE ACESSIBILIDADE */

.menu-acessibilidade {
    position: relative;
    display: inline-block;
}

.btn-acessibilidade {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-acessibilidade:hover {
    background-color: #555;
}

.arrow-dropdown {
    transition: transform 0.3s ease;
}

.menu-acessibilidade.active .arrow-dropdown {
    transform: rotate(180deg);
}

.dropdown-acessibilidade {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #000000;
    border: 1px solid #6a6a6a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-acessibilidade.active .dropdown-acessibilidade {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.opcao-acessibilidade {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    color: #fafafa;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 6px;
    margin: 4px;
}

.opcao-acessibilidade:hover {
    background-color: #f5f5f5;
}

.opcao-acessibilidade i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

body.alto-contraste .dropdown-acessibilidade {
    background-color: #111 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .opcao-acessibilidade {
    color: #fff !important;
}

body.alto-contraste .opcao-acessibilidade:hover {
    background-color: #333 !important;
}

/* BUSCA NO SITE */

.acoes-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.busca-container {
    position: relative;
    display: inline-block;
}

.search-box {
    background-color: #1a1a1a;
    border: 1px solid #6a6a6a;
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: rgb(0, 158, 16);
    box-shadow: 0 0 0 2px rgba(0, 158, 16, 0.2);
}

.search-icon {
    color: #888;
    font-size: 16px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #888;
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: #1a1a1a;
    border: 1px solid #6a6a6a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 350px;
    max-width: 400px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.search-results.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #2a2a2a;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    color: rgb(0, 158, 16);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.search-result-text {
    color: #ccc;
    font-size: 12px;
    line-height: 1.4;
}

.search-result-text mark {
    background-color: rgba(0, 158, 16, 0.3);
    color: #fff;
    padding: 2px 4px;
    border-radius: 3px;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Estilos para alto contraste na busca */
body.alto-contraste .search-box,
body.alto-contraste .search-results {
    background-color: #000 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .search-input {
    background-color: #000 !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}

body.alto-contraste .search-result-item:hover {
    background-color: #222 !important;
}

/* ESTILOS DO MODO ALTO CONTRASTE */

body.alto-contraste {
    background-color: #000 !important;
    color: #fff !important;
}

body.alto-contraste header,
body.alto-contraste footer {
    background-color: #111 !important;
}

body.alto-contraste a,
body.alto-contraste h1,
body.alto-contraste h2,
body.alto-contraste h3,
body.alto-contraste p {
    color: #fff !important;
}

body.alto-contraste button {
    background-color: #ff0 !important;
    color: #000 !important;
    border: 2px solid #fff !important;
}

/* Regra universal para garantir que todos os elementos fiquem brancos */
body.alto-contraste * {
    color: #fff !important;
}

/* Spans e destaques em amarelo */
body.alto-contraste span {
    color: #ffff00 !important;
}

/* Alto contraste para seção topo */
body.alto-contraste section.topo-site {
    background-color: #000 !important;
}

body.alto-contraste section.topo-site .interface {
    background-color: #000 !important;
}

body.alto-contraste .topo-site h1,
body.alto-contraste .topo-site .txt-topo-site h1,
body.alto-contraste section.topo-site h1,
body.alto-contraste section.topo-site .txt-topo-site h1 {
    color: #fff !important;
}

body.alto-contraste .topo-site p,
body.alto-contraste .topo-site .txt-topo-site p,
body.alto-contraste section.topo-site p,
body.alto-contraste section.topo-site .txt-topo-site p {
    color: #fff !important;
}

body.alto-contraste .topo-site h1 span,
body.alto-contraste .topo-site .txt-topo-site h1 span,
body.alto-contraste section.topo-site h1 span,
body.alto-contraste section.topo-site .txt-topo-site h1 span {
    color: #ffff00 !important;
}

body.alto-contraste .descricao-principal {
    color: #fff !important;
}

body.alto-contraste .stat-number {
    color: #ffff00 !important;
}

body.alto-contraste .stat-label {
    color: #fff !important;
}

body.alto-contraste .historia-card {
    background: #111 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .historia-card h3 {
    color: #ffff00 !important;
}

body.alto-contraste .historia-card p {
    color: #fff !important;
}

body.alto-contraste .marco {
    background: rgba(255, 255, 0, 0.1) !important;
    border-left: 3px solid #ffff00 !important;
    color: #fff !important;
}

body.alto-contraste .marco strong {
    color: #ffff00 !important;
}

/* Alto contraste para seção de horários */
body.alto-contraste .horario-atendimento {
    background-color: #000 !important;
}

body.alto-contraste .horario-box {
    background-color: #222 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .horario-box h3,
body.alto-contraste .horario-box h4,
body.alto-contraste .horario-box p {
    color: #fff !important;
}

body.alto-contraste .info-content {
    background-color: #111 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .info-content h3 {
    color: #ffff00 !important;
}

body.alto-contraste .info-content p {
    color: #fff !important;
}

body.alto-contraste .info-content strong {
    color: #ffff00 !important;
}

body.alto-contraste .divisor {
    background: #ffff00 !important;
}

body.alto-contraste .btn-certificado {
    background: #ffff00 !important;
    color: #000 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .btn-certificado:hover {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #ffff00 !important;
    box-shadow: 0 8px 20px rgba(255, 255, 0, 0.4) !important;
}

body.alto-contraste .btn-certificado i {
    color: #000 !important;
}

/* Alto contraste para galeria/especialidades */
body.alto-contraste .especialidades {
    background-color: #000 !important;
}

body.alto-contraste .card {
    background-color: #222 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .card p {
    color: #fff !important;
}

/* Alto contraste para FAQ */
body.alto-contraste .faq-section {
    background-color: #000 !important;
}

body.alto-contraste .title {
    color: #fff !important;
}

body.alto-contraste .title span {
    color: #ffff00 !important;
}

body.alto-contraste .faq li {
    background-color: #222 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .q {
    color: #fff !important;
    background-color: #111 !important;
    border-left-color: #ffff00 !important;
}

body.alto-contraste .q:hover {
    background-color: #333 !important;
}

body.alto-contraste .arrow {
    border-left-color: #ffff00 !important;
}

body.alto-contraste .a {
    background-color: #111 !important;
}

body.alto-contraste .faq p {
    color: #fff !important;
}

/* Alto contraste para títulos gerais */
body.alto-contraste h2.titulo {
    color: #fff !important;
}

body.alto-contraste h2.titulo span {
    color: #ffff00 !important;
}

/* Alto contraste para botões sociais */
body.alto-contraste .btn-social button {
    background-color: #ffff00 !important;
    color: #000 !important;
    border: 2px solid #fff !important;
}

/* Alto contraste para ícones */
body.alto-contraste .localizacao-footer i {
    color: #ffff00 !important;
}

body.alto-contraste .localizacao-footer a {
    color: #fff !important;
}

body.alto-contraste .localizacao-footer a:hover {
    color: #ffff00 !important;
}

/* MEDIA QUERIES */

@media (max-width: 768px) {
    footer .flex {
        flex-direction: column;
        gap: 20px;
    }
}

/* Para tablets */
@media (max-width: 1200px) {
    header nav ul li {
        padding: 0 12px;
        font-size: 14px;
    }
    
    .search-box {
        min-width: 200px;
    }
}

@media (max-width: 1024px) {
    section.topo-site .flex,
    section.especialidades .flex {
        flex-direction: column;
        text-align: center;
    }

    header nav ul li {
        padding: 0 8px;
        font-size: 13px;
    }
    
    .search-box {
        min-width: 180px;
    }
}

@media (max-width: 900px) {
    header nav ul li {
        padding: 0 6px;
        font-size: 12px;
    }
    
    .search-box {
        min-width: 150px;
    }
}

/* Para celulares */
@media (max-width: 768px) {
    /* MELHORIAS MOBILE - HEADER */
    header {
        padding: 20px 5%;
    }
    
    header > .interface {
        flex-direction: column;
        gap: 15px;
    }

    nav.menu-desktop {
        display: none;
    }
    
    .logo img {
        width: 90px;
    }
    
    .search-box {
        min-width: 100%;
        padding: 12px 15px;
    }
    
    .search-input {
        font-size: 15px;
    }

    /* Menu de acessibilidade responsivo */
    .btn-acessibilidade {
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    .dropdown-acessibilidade {
        right: -10px;
        min-width: 200px;
        border-radius: 10px;
    }

    .opcao-acessibilidade {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* MELHORIAS MOBILE - TÍTULOS GERAIS */
    h2.titulo {
        font-size: 1.75rem;
        padding: 0 10px;
        line-height: 1.3;
    }

    .topo-site h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .topo-site .txt-topo-site p {
        font-size: 0.95rem;
        margin: 15px 0;
        text-align: center;
        line-height: 1.7;
    }
    
    /* MELHORIAS MOBILE - ESPECIALIDADES/GALERIA */
    section.especialidades {
        padding: 35px 5%;
    }
    
    section.especialidades .flex {
        gap: 25px;
        margin-top: 30px;
    }
    
    .card {
        width: 100%;
        max-width: 400px;
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(0, 158, 16, 0.2);
    }
    
    .card img {
        height: 220px;
        border-radius: 8px;
    }
    
    .card p {
        font-size: 0.95rem;
        margin-top: 8px;
    }
    
    /* MELHORIAS MOBILE - FOOTER */
    footer {
        padding: 30px 5%;
    }
    
    footer .flex {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .logo-footer img {
        width: 90px;
    }
    
    .localizacao-footer {
        flex-direction: column;
        gap: 10px;
        font-size: 15px;
    }
    
    .localizacao-footer i {
        font-size: 22px;
    }
    
    .btn-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .btn-social button {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .btn-social button:active {
        transform: scale(0.95);
    }
    
    /* MELHORIAS MOBILE - BUSCA */
    .search-results {
        min-width: 100%;
        max-width: 100%;
        max-height: 350px;
        border-radius: 10px;
    }
    
    .search-result-item {
        padding: 14px 16px;
    }
    
    .search-result-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .search-result-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .no-results {
        padding: 25px 15px;
        font-size: 0.9rem;
    }
    
    /* MELHORIAS MOBILE - FAQ (SOBRESCREVE ESTILOS INLINE) */
    .faq-section {
        padding: 40px 5% !important;
    }
    
    .faq li {
        margin-bottom: 12px;
        border-radius: 12px !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4) !important;
    }
    
    .q {
        padding: 16px 18px !important;
        font-size: 0.92rem !important;
    }
    
    .arrow {
        margin-right: 12px;
    }
    
    .a {
        padding: 0 18px 0 42px !important;
    }
    
    .a.a-opened {
        padding: 16px 18px 18px 42px !important;
    }
    
    .faq p {
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
    }
    
    .title {
        font-size: 1.65rem !important;
        margin-bottom: 25px !important;
        padding: 0 10px;
    }
}

/* MELHORIAS PARA DISPOSITIVOS MUITO PEQUENOS */
@media (max-width: 400px) {
    /* Ajustes para telas muito pequenas */
    .topo-site h1 {
        font-size: 1.3rem;
    }
    
    h2.titulo, .title {
        font-size: 1.5rem !important;
    }
    
    .logo-hero {
        width: 100px;
        height: 100px;
    }
    
    .logo-zagonel {
        width: 120px;
        height: 120px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .historia-card,
    .info-content,
    .categoria-transparencia {
        padding: 16px 14px;
    }
    
    .btn-certificado,
    .btn-download {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .card {
        padding: 10px;
    }
    
    .card img {
        height: 200px;
    }
    
    .btn-social button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .q {
        font-size: 0.85rem !important;
        padding: 14px 16px !important;
    }
    
    .faq p {
        font-size: 0.82rem !important;
    }
}

/* PÁGINA TRANSPARÊNCIA */

.transparencia-hero {
    padding: 80px 4% 60px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
}

.transparencia-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.transparencia-hero .hero-content h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 0;
    font-weight: 700;
    text-align: center;
    display: block;
    width: 100%;
}

.transparencia-hero .hero-content h1 .destaque {
    color: rgb(0, 158, 16);
    position: relative;
    display: inline;
}

.transparencia-hero .hero-content h1 .destaque::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgb(0, 158, 16);
    border-radius: 2px;
}

.transparencia-hero .hero-content h1 .ponto {
    color: rgb(0, 158, 16);
    font-weight: 700;
    display: inline;
}

.transparencia-hero .hero-content p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
    display: block;
}

.transparencia-ano {
    padding: 60px 4%;
    border-bottom: 2px solid #333;
}

.ano-header {
    text-align: center;
    margin-bottom: 40px;
}

.ano-header h2 {
    font-size: 36px;
    color: rgb(0, 158, 16);
    font-weight: 700;
}

.transparencia-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.categoria-transparencia {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #333;
}

.categoria-transparencia h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgb(0, 158, 16);
}

.botoes-download {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgb(0, 158, 16) 0%, rgb(0, 120, 12) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 158, 16, 0.3);
    background: linear-gradient(135deg, rgb(0, 180, 18) 0%, rgb(0, 140, 14) 100%);
}

.btn-download i {
    font-size: 16px;
}

/* Responsividade para transparência */
@media (max-width: 768px) {
    /* MELHORIAS MOBILE - PÁGINA TRANSPARÊNCIA */
    .transparencia-hero {
        padding: 50px 5% 40px;
    }
    
    .transparencia-hero .hero-content {
        gap: 18px;
    }
    
    .transparencia-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 5px;
    }
    
    .categoria-transparencia {
        padding: 22px 18px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .transparencia-hero .hero-content h1 {
        font-size: 1.65rem;
        line-height: 1.3;
    }
    
    .transparencia-hero .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .transparencia-ano {
        padding: 40px 5%;
    }
    
    .ano-header {
        margin-bottom: 30px;
    }
    
    .ano-header h2 {
        font-size: 1.65rem;
    }
    
    .categoria-transparencia h3 {
        font-size: 1.15rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .botoes-download {
        gap: 12px;
    }
    
    .btn-download {
        padding: 14px 18px;
        font-size: 0.92rem;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 158, 16, 0.25);
    }
    
    .btn-download:active {
        transform: scale(0.98);
    }
    
    .btn-download i {
        font-size: 17px;
    }
}

/* Alto contraste para página de transparência - deve vir por último para ter precedência */
body.alto-contraste .transparencia-hero {
    background: #000 !important;
}

body.alto-contraste .transparencia-hero .hero-content h1 {
    color: #fff !important;
}

body.alto-contraste .transparencia-hero .hero-content h1 .destaque,
body.alto-contraste .transparencia-hero .hero-content h1 .ponto {
    color: #ffff00 !important;
}

body.alto-contraste .transparencia-hero .hero-content h1 .destaque::after {
    background: #ffff00 !important;
}

body.alto-contraste .transparencia-hero .hero-content p {
    color: #fff !important;
}

body.alto-contraste .transparencia-ano {
    background-color: #000 !important;
    border-bottom: 2px solid #fff !important;
}

body.alto-contraste .ano-header h2 {
    color: #ffff00 !important;
}

body.alto-contraste .categoria-transparencia {
    background: #111 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .categoria-transparencia h3 {
    color: #fff !important;
    border-bottom: 2px solid #ffff00 !important;
}

body.alto-contraste .btn-download {
    background: #ffff00 !important;
    color: #000 !important;
    border: 2px solid #fff !important;
}

body.alto-contraste .btn-download:hover {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #ffff00 !important;
    box-shadow: none !important;
    transform: none !important;
}

body.alto-contraste .btn-download i {
    color: #000 !important;
}
