/**
 * Theme Name: MOHGOM - Movimento de Humanização das Grotas
 * Theme URI: https://mohgom.org.br
 * Template: twentytwentyfive
 * Version: 1.0.0
 * Author: MOHGOM
 * Description: Tema oficial do Movimento de Humanização das Grotas de Maceió
 * Text Domain: mohgom
 */

/* ========== VARIÁVEIS CSS ========== */
:root {
  /* Cores */
  --mohgom-terra: #8b4513;
  --mohgom-terra-claro: #a0522d;
  --mohgom-verde-grota: #2e8b57;
  --mohgom-verde-claro: #3cb371;
  --mohgom-ouro: #daa520;
  --mohgom-laranja: #ff6b35;
  --mohgom-vermelho: #b22222;
  --mohgom-creme: #fdf5e6;
  --mohgom-bege: #f5f5dc;
  --mohgom-preto: #1a1a1a;
  --mohgom-cinza: #4a4a4a;
  --mohgom-branco: #ffffff;
  
  /* Tipografia */
  --font-titulo: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-corpo: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Espaçamento */
  --espaco-xs: 0.5rem;
  --espaco-sm: 1rem;
  --espaco-md: 2rem;
  --espaco-lg: 4rem;
  --espaco-xl: 6rem;
  
  /* Componentes */
  --borda-radius: 8px;
  --borda-radius-lg: 16px;
  --borda-radius-pill: 50px;
  --sombra-suave: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --sombra-media: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --sombra-forte: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transicao: all 0.3s ease;
}

/* ========== RESET BÁSICO ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corpo);
  font-size: 16px;
  line-height: 1.7;
  color: var(--mohgom-cinza);
  background-color: var(--mohgom-creme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== ACESSIBILIDADE ========== */
:focus-visible {
  outline: 3px solid var(--mohgom-ouro);
  outline-offset: 3px;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--mohgom-terra);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 99999;
}

.skip-to-content:focus {
  top: 0;
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titulo);
  font-weight: 800;
  line-height: 1.2;
  color: var(--mohgom-preto);
  margin-bottom: var(--espaco-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.mohgom-subtitulo {
  font-family: 'Pacifico', cursive;
  color: var(--mohgom-ouro);
  font-size: 1.25rem;
  display: block;
  margin-bottom: var(--espaco-xs);
}

/* ========== BOTÕES ========== */
.wp-block-button__link,
.mohgom-botao,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--borda-radius-pill) !important;
  border: none;
  cursor: pointer;
  transition: var(--transicao);
  background-color: var(--mohgom-terra);
  color: var(--mohgom-branco);
}

.wp-block-buttons .wp-block-button__link {
  width:fit-content !important;
}

.wp-block-button__link:hover,
.mohgom-botao:hover,
button:hover {
  transform: translateY(-3px);
  background-color: var(--mohgom-terra-claro);
  box-shadow: var(--sombra-media);
}

.mohgom-botao-secundario {
  background-color: var(--mohgom-verde-grota);
    border-radius: var(--borda-radius-pill);
}

.mohgom-botao-secundario:hover {
  background-color: var(--mohgom-verde-claro);
}

.mohgom-botao-outline {
  background-color: transparent !important;
  color: var(--mohgom-ouro);
  border: 3px solid var(--mohgom-ouro);
  border-radius: var(--borda-radius-pill)
}

.mohgom-botao-outline:hover {
  background-color: var(--mohgom-ouro);
  color: var(--mohgom-preto);
}

/* ========== HEADER ========== */
.mohgom-header {
  background-color: var(--mohgom-branco);
  box-shadow: var(--sombra-suave);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
}

.mohgom-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--espaco-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mohgom-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.mohgom-logo img {
  height: 110px;
  width: auto;
}

.mohgom-logo-texto {
  font-family: var(--font-titulo);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--mohgom-terra);
  line-height: 1.1;
}

.mohgom-logo-texto span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mohgom-verde-grota);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mohgom-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.mohgom-nav a {
  text-decoration: none;
  color: var(--mohgom-cinza);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.5rem;
}

.mohgom-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--mohgom-ouro);
  transition: var(--transicao);
}

.mohgom-nav a:hover {
  color: var(--mohgom-terra);
}

.mohgom-nav a:hover::after {
  width: 100%;
}

.mohgom-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* ========== HERO ========== */
.mohgom-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--mohgom-terra);
  overflow: hidden;
}

.mohgom-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.mohgom-hero-conteudo {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--espaco-xl) var(--espaco-md);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--espaco-lg);
  align-items: center;
}

.mohgom-hero-texto h1 {
  color: var(--mohgom-branco);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--espaco-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.mohgom-hero-texto h1 span {
  color: var(--mohgom-ouro);
  display: block;
}

.mohgom-hero-texto p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: var(--espaco-md);
  max-width: 600px;
}

.mohgom-hero-botoes {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mohgom-hero-imagem {
  position: relative;
}

.mohgom-hero-imagem img {
  border-radius: var(--borda-radius-lg);
  box-shadow: var(--sombra-forte);
  transform: rotate(2deg);
  transition: var(--transicao);
  max-width: 100%;
  height: auto;
}

.mohgom-hero-imagem:hover img {
  transform: rotate(0deg) scale(1.02);
}


/* ========================================
   MOHGOM CONTACT FORM 7 STYLES
   ======================================== */

.mohgom-cf7-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Grid Layout */
.mohgom-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.mohgom-form-col,
.mohgom-form-full {
    display: flex;
    flex-direction: column;
}

.mohgom-form-full {
    margin-bottom: 1.5rem;
}

/* Labels */
.mohgom-cf7-form label {
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: block;
}

.mohgom-cf7-form label span.required {
    color: #B22222;
    margin-left: 0.25rem;
}

/* Inputs & Textareas */
.mohgom-cf7-form input[type="text"],
.mohgom-cf7-form input[type="email"],
.mohgom-cf7-form input[type="tel"],
.mohgom-cf7-form textarea,
.mohgom-cf7-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #F5F5DC;
    border-radius: 8px;
    background: #fdf5e6;
    color: #1a1a1a;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mohgom-cf7-form input:focus,
.mohgom-cf7-form textarea:focus,
.mohgom-cf7-form select:focus {
    outline: none;
    border-color: #DAA520;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.15);
}

.mohgom-cf7-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.mohgom-cf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B4513' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* File Upload Styling */
.mohgom-file-upload {
    position: relative;
    padding: 1.5rem;
    background: #f9f9f9;
    border: 2px dashed #DAA520;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.mohgom-file-upload:hover {
    background: #fdf5e6;
    border-color: #8B4513;
}

.mohgom-file-upload input[type="file"] {
    padding: 1rem;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.mohgom-file-upload small {
    display: block;
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* LGPD Checkbox */
.mohgom-lgpd-check {
    margin: 2rem 0;
    padding: 1.25rem;
    background: #e7f3ff;
    border-left: 4px solid #0d6efd;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mohgom-lgpd-check input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
    transform: scale(1.2);
    accent-color: #2E8B57;
    cursor: pointer;
}

.mohgom-lgpd-check label {
    color: #084298 !important;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
}

/* Submit Button */
.mohgom-form-submit {
    text-align: center;
    margin-top: 2rem;
}

.mohgom-cf7-form input[type="submit"],
.mohgom-cf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    background: #8B4513 !important;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(139, 69, 19, 0.2);
}

.mohgom-cf7-form input[type="submit"]:hover {
    background: #A0522D !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(139, 69, 19, 0.3);
}

/* Note below form */
.mohgom-form-note {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #F5F5DC;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.mohgom-form-note .dashicons {
    color: #DAA520;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Validation & Messages */
.mohgom-cf7-form .wpcf7-not-valid-tip {
    color: #B22222;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.mohgom-cf7-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

.mohgom-cf7-form input.wpcf7-not-valid,
.mohgom-cf7-form textarea.wpcf7-not-valid,
.mohgom-cf7-form select.wpcf7-not-valid {
    border-color: #B22222;
    background: #fff5f5;
}

.wpcf7-response-output {
    margin: 2rem 0 !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600;
    text-align: center;
}

.wpcf7-form.sent .wpcf7-response-output {
    background: #d4edda !important;
    border-color: #2E8B57 !important;
    color: #155724 !important;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
    background: #f8d7da !important;
    border-color: #B22222 !important;
    color: #721c24 !important;
}

/* Spinner */
.wpcf7-spinner {
    display: block !important;
    margin: 1rem auto 0 !important;
    width: 32px;
    height: 32px;
    border: 4px solid #F5F5DC;
    border-top-color: #8B4513;
}

/* Responsive */
@media (max-width: 768px) {
    .mohgom-cf7-form {
        padding: 1.5rem;
    }
    
    .mohgom-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .mohgom-cf7-form input[type="submit"],
    .mohgom-cf7-form .wpcf7-submit {
        width: 100%;
        padding: 1rem;
    }
}


/* ============== ACORDEON ==========*/

/* Estilização do bloco Details nativo */
.mohgom-accordion-item summary {
    list-style: none;
    position: relative;
}

.mohgom-accordion-item summary::-webkit-details-marker {
    display: none;
}

.mohgom-accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.mohgom-accordion-item[open] summary::after {
    content: '−';
}

.mohgom-accordion-item .mohgom-accordion-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ========== SOBRE ========== */
.mohgom-sobre {
  padding: var(--espaco-xl) var(--espaco-md);
  background-color: var(--mohgom-bege);
}

.mohgom-sobre-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--espaco-lg);
  align-items: center;
}

.mohgom-sobre-texto h2 {
  color: var(--mohgom-terra);
}

.mohgom-sobre-destaque {
  background-color: var(--mohgom-branco);
  padding: var(--espaco-md);
  border-radius: var(--borda-radius-lg);
  border-left: 5px solid var(--mohgom-ouro);
  margin: var(--espaco-md) 0;
  box-shadow: var(--sombra-suave);
}

.mohgom-sobre-imagem {
  position: relative;
}

.mohgom-sobre-imagem::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--mohgom-ouro);
  border-radius: var(--borda-radius-lg);
  z-index: 1;
}

.mohgom-sobre-imagem img {
  position: relative;
  z-index: 2;
  border-radius: var(--borda-radius-lg);
  width: 100%;
  display: block;
}

/* ========== PROJETOS ========== */
.mohgom-projetos {
  padding: var(--espaco-xl) var(--espaco-md);
  background-color: var(--mohgom-creme);
}

.mohgom-projetos-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--espaco-lg);
}

.mohgom-projetos-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--espaco-md);
}

.mohgom-projeto-card {
  background-color: var(--mohgom-branco);
  border-radius: var(--borda-radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  transition: var(--transicao);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mohgom-projeto-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sombra-forte);
}

.mohgom-projeto-card.destaque {
  border: 3px solid var(--mohgom-vermelho);
  position: relative;
}

.mohgom-projeto-card.destaque::before {
  content: 'DESTAQUE';
  position: absolute;
  top: 20px;
  right: -35px;
  background-color: var(--mohgom-vermelho);
  color: white;
  padding: 0.25rem 3rem;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  z-index: 2;
}

.mohgom-projeto-imagem {
  height: 220px;
  background-color: var(--mohgom-terra);
  position: relative;
  overflow: hidden;
}

.mohgom-projeto-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transicao);
}

.mohgom-projeto-card:hover .mohgom-projeto-imagem img {
  transform: scale(1.1);
}

.mohgom-projeto-conteudo {
  padding: var(--espaco-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Impede que filhos estiquem horizontalmente */
}

.mohgom-projeto-tag {
  display: inline-flex; /* Alterado de inline-block para inline-flex */
  align-items: center;
  justify-content: center;
  height: 32px; /* Altura fixa para padronizar */
  padding: 0 16px; /* Padding horizontal apenas, vertical controlado pela altura */
  border-radius: var(--borda-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap; /* Impede quebra de linha dentro do botão */
  margin-bottom: 0.75rem;
  flex-shrink: 0; /* Impede que o flexbox encolha o botão */
  align-self: flex-start; /* Garante alinhamento à esquerda sem esticar */
  background-color: var(--mohgom-verde-grota);
  color: white !important;
  line-height: 1; /* Remove line-height extra que pode afetar altura */
  max-height: 32px !important;
  min-height: 32px !important;
  width: fit-content !important;
}
.mohgom-projeto-tag.educacao{
    background-color: var(--mohgom-verde-grota);
}
.mohgom-projeto-tag.cultura{
    background-color: var(--mohgom-bege);
}
.mohgom-projeto-tag.esporte{
    background-color: var(--mohgom-laranja);
}

.mohgom-projeto-card.destaque .mohgom-projeto-tag {
  background-color: var(--mohgom-vermelho);
}

.mohgom-projeto-conteudo h3 {
  color: var(--mohgom-terra);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  width: 100%; /* Garante que o título ocupe a largura disponível */
}

.mohgom-projeto-conteudo > p {
  color: var(--mohgom-cinza);
  margin-bottom: var(--espaco-sm);
  flex: 1;
  width: 100%; /* Garante que o parágrafo ocupe a largura disponível */
}

.mohgom-projeto-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--mohgom-terra);
  margin-top: auto;
  padding-top: var(--espaco-sm);
  border-top: 1px solid var(--mohgom-bege);
  width: 100%; /* Garante que o meta ocupe a largura disponível */
}

.mohgom-projeto-meta p {
    margin-block-start: 0;
}

/* ========== IMPACTO ========== */
.mohgom-impacto {
  padding: var(--espaco-xl) var(--espaco-md);
  background-color: var(--mohgom-verde-grota);
  color: var(--mohgom-branco);
  text-align: center;
}

.mohgom-impacto h2 {
  color: var(--mohgom-branco);
  margin-bottom: var(--espaco-lg);
}

.mohgom-impacto-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--espaco-lg);
}

.mohgom-impacto-item {
  padding: var(--espaco-md);
}

.mohgom-impacto-numero {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--mohgom-ouro);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.mohgom-impacto-label {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== ACESSIBILIDADE ========== */
.mohgom-acessibilidade {
  padding: var(--espaco-xl) var(--espaco-md);
  background-color: var(--mohgom-branco);
}

.mohgom-acessibilidade-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--espaco-lg);
  align-items: center;
}

.mohgom-acessibilidade-texto h2 {
  color: var(--mohgom-terra);
}

.mohgom-acessibilidade-lista {
  list-style: none;
  padding: 0;
  margin: var(--espaco-md) 0;
}

.mohgom-acessibilidade-lista li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--espaco-sm);
  padding: var(--espaco-sm);
  background-color: var(--mohgom-creme);
  border-radius: var(--borda-radius);
  transition: var(--transicao);
}

.mohgom-acessibilidade-lista li:hover {
  background-color: var(--mohgom-bege);
  transform: translateX(10px);
}

.mohgom-acessibilidade-icone {
  width: 50px;
  height: 50px;
  background-color: var(--mohgom-verde-grota);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mohgom-acessibilidade-lista h4 {
  margin: 0 0 0.25rem 0;
  color: var(--mohgom-terra);
  font-size: 1.1rem;
}

.mohgom-acessibilidade-lista p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mohgom-cinza);
}

/* ========== PÚBLICO ========== */
.mohgom-publico {
  padding: var(--espaco-xl) var(--espaco-md);
  background-color: var(--mohgom-terra);
  color: var(--mohgom-branco);
}

.mohgom-publico-header {
  text-align: center;
  margin-bottom: var(--espaco-lg);
}

.mohgom-publico-header h2 {
  color: var(--mohgom-branco);
}

.mohgom-publico-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--espaco-md);
}

.mohgom-publico-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--espaco-md);
  border-radius: var(--borda-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: var(--transicao);
}

.mohgom-publico-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.mohgom-publico-icone {
  font-size: 3rem !important;
  margin-bottom: 1rem !important;
}

.mohgom-publico-card h4 {
  color: var(--mohgom-ouro);
  margin-bottom: 0.5rem;
}

.mohgom-publico-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* ===================== PLUGINS TRANSPARENCIA ================== */

/* ========== INTEGRAÇÃO SIMPLE FILE LIST ========== */
.mohgom-transparencia .simple-file-list {
    background: transparent !important;
    border: none !important;
}

.mohgom-transparencia .simple-file-list ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mohgom-transparencia .simple-file-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem !important;
    background: #f9f9f9 !important;
    border-radius: 8px !important;
    margin-bottom: 0.5rem !important;
    border: 1px solid #f0f0f0 !important;
    flex-wrap: wrap;
    gap: 1rem;
}

.mohgom-transparencia .simple-file-list .sfl-file-info {
    flex: 1;
    min-width: 200px;
}

.mohgom-transparencia .simple-file-list .file-name {
    font-weight: 600 !important;
    color: #8B4513 !important;
    font-size: 1rem !important;
}

.mohgom-transparencia .simple-file-list .file-date,
.mohgom-transparencia .simple-file-list .file-size {
    font-size: 0.85rem !important;
    color: #666 !important;
    margin-left: 0.5rem !important;
}

/* Botões de download do Simple File List */
.mohgom-transparencia .simple-file-list a.sfl-button,
.mohgom-transparencia .simple-file-list .sfl-download-link {
    display: inline-block !important;
    padding: 0.5rem 1rem !important;
    background: #8B4513 !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.mohgom-transparencia .simple-file-list a.sfl-button:hover {
    background: #a0522d !important;
    transform: translateY(-2px) !important;
}

/* Ícones de arquivo */
.mohgom-transparencia .simple-file-list .file-icon {
    margin-right: 0.75rem !important;
    font-size: 1.2rem !important;
}

/* ========== INTEGRAÇÃO TABLEPRESS ========== */
.mohgom-transparencia .tablepress {
    border-collapse: collapse !important;
    width: 100% !important;
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    font-size: 0.95rem !important;
}

.mohgom-transparencia .tablepress thead th {
    background-color: #8B4513 !important;
    color: white !important;
    padding: 1rem !important;
    text-align: left !important;
    font-weight: 600 !important;
}

.mohgom-transparencia .tablepress tbody td {
    padding: 1rem !important;
    border-bottom: 1px solid #F5F5DC !important;
    color: #333 !important;
}

.mohgom-transparencia .tablepress tbody tr:last-child td {
    border-bottom: none !important;
}

.mohgom-transparencia .tablepress tbody tr:hover {
    background-color: #fafafa !important;
}

/* Valores monetários em verde */
.mohgom-transparencia .tablepress td.column-4,
.mohgom-transparencia .tablepress td.remuneracao {
    color: #2E8B57 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
}

/* Responsividade TablePress */
@media (max-width: 768px) {
    .mohgom-transparencia .tablepress {
        font-size: 0.85rem !important;
    }
    .mohgom-transparencia .tablepress thead th,
    .mohgom-transparencia .tablepress tbody td {
        padding: 0.75rem 0.5rem !important;
    }
}

/* ========== ACORDEÃO DETAILS (Nativo) ========== */
.mohgom-accordion-item summary {
    list-style: none;
    position: relative;
    outline: none;
}

.mohgom-accordion-item summary::-webkit-details-marker {
    display: none;
}

.mohgom-accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s;
    font-weight: 300;
}

.mohgom-accordion-item[open] summary::after {
    content: '−';
}

.mohgom-accordion-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cores específicas por seção */
.mohgom-accordion-item.institucional summary { background-color: #8B4513; }
.mohgom-accordion-item.parcerias summary { background-color: #2E8B57; }
.mohgom-accordion-item.rh summary { background-color: #DAA520; color: #1a1a1a !important; }
.mohgom-accordion-item.contas summary { background-color: #B22222; }
.mohgom-accordion-item.dados summary { background-color: #4a4a4a; }

/* ========== AJUSTE WP ACCESSIBILITY HELPER ========== */
/* Remove conflitos com a barra do plugin */
.mohgom-transparencia [class*="wah-"] {
    z-index: 99999 !important;
}

/* Garante contraste adequado para foco do plugin */
.mohgom-transparencia :focus-visible {
    outline: 3px solid #DAA520 !important;
    outline-offset: 3px !important;
}

/* Skip link do plugin ou nativo */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B4513;
    color: white;
    padding: 1rem 2rem;
    z-index: 100000;
    transition: top 0.3s;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* ========== CONTATO ========== */
.mohgom-contato {
  padding: var(--espaco-xl) var(--espaco-md);
  background-color: var(--mohgom-bege);
}

.mohgom-contato-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--espaco-lg);
}

.mohgom-contato-info h2 {
  color: var(--mohgom-terra);
}

.mohgom-contato-dados {
  margin-top: var(--espaco-md);
}

.mohgom-contato-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--espaco-md);
  padding: var(--espaco-sm);
  background-color: var(--mohgom-branco);
  border-radius: var(--borda-radius);
  box-shadow: var(--sombra-suave);
}

.mohgom-contato-icone {
  width: 50px;
  height: 50px;
  background-color: var(--mohgom-ouro);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mohgom-contato-item h4 {
  margin: 0 0 0.25rem 0;
  color: var(--mohgom-terra);
  font-size: 1rem;
  text-transform: uppercase;
}

.mohgom-contato-item p,
.mohgom-contato-item a {
  margin: 0;
  color: var(--mohgom-cinza);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.mohgom-contato-item a:hover {
  color: var(--mohgom-verde-grota);
}

.mohgom-contato-mapa {
  background-color: var(--mohgom-branco);
  padding: var(--espaco-sm);
  border-radius: var(--borda-radius-lg);
  box-shadow: var(--sombra-suave);
  min-height: 400px;
}

.mohgom-contato-mapa iframe {
  border: 0;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* ========== FOOTER ========== */
.mohgom-footer {
  background-color: var(--mohgom-preto);
  color: var(--mohgom-branco);
  padding: var(--espaco-lg) var(--espaco-md) var(--espaco-md);
}

.mohgom-footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--espaco-lg);
  margin-bottom: var(--espaco-lg);
}

.mohgom-footer-brand h3 {
  color: var(--mohgom-ouro);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mohgom-footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.mohgom-footer-selo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--borda-radius);
  margin-top: 1rem;
  font-size: 0.8rem;
}

.mohgom-footer h4 {
  color: var(--mohgom-ouro);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.mohgom-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mohgom-footer li {
  margin-bottom: 0.5rem;
}

.mohgom-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transicao);
}

.mohgom-footer a:hover {
  color: var(--mohgom-ouro);
}

.mohgom-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: var(--espaco-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.mohgom-footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.mohgom-footer-social {
  display: flex;
  gap: 1rem;
}

.mohgom-footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mohgom-branco);
  text-decoration: none;
  transition: var(--transicao);
}

.mohgom-footer-social a:hover {
  background-color: var(--mohgom-ouro);
  color: var(--mohgom-preto);
  transform: translateY(-3px);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 968px) {
  .mohgom-hero-conteudo,
  .mohgom-sobre-grid,
  .mohgom-acessibilidade-grid,
  .mohgom-contato-grid,
  .mohgom-footer-grid {
    grid-template-columns: 1fr;
  }
  
  .mohgom-hero-imagem {
    order: -1;
  }
  
  .mohgom-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mohgom-nav {
    display: none;
  }
  
  .mohgom-menu-toggle {
    display: block;
  }
  
  .mohgom-footer-grid {
    grid-template-columns: 1fr;
  }
  
  .mohgom-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .mohgom-impacto-numero {
    font-size: 2.5rem;
  }
  
  .mohgom-projetos-grid {
    grid-template-columns: 1fr;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mohgom-animate {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   CRONOGRAMA - RESPONSIVIDADE MOBILE
   ======================================== */

/* Desktop: Mantém 2 colunas */
.mohgom-cronograma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Mobile: Quebra para 1 coluna (empilhado) */
@media (max-width: 768px) {
    .mohgom-cronograma-grid {
        grid-template-columns: 1fr; /* Uma coluna apenas */
        gap: 1rem;
    }
    
    .mohgom-cronograma-grid ul {
        margin: 0;
        padding-left: 0.5rem;
    }
    
    .mohgom-cronograma-grid li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(139, 69, 19, 0.1);
        font-size: 1rem; /* Fonte maior para legibilidade */
        line-height: 1.5;
    }
    
    .mohgom-cronograma-grid li:last-child {
        border-bottom: none;
    }
    
    /* Ícones de calendário alinhados */
    .mohgom-cronograma-grid li::marker {
        font-size: 1.2rem;
    }
}

/* Telas muito pequenas: ajustes extras */
@media (max-width: 480px) {
    .mohgom-cronograma-box {
        padding: 1.5rem 1rem; /* Padding menor nas laterais */
    }
    
    .mohgom-cronograma h3 {
        font-size: 1.3rem; /* Título menor */
    }
}

/* ========================================
   FORMULÁRIO OUVIDORIA - UPLOAD MOBILE (CORREÇÃO DEFINITIVA)
   ======================================== */

@media (max-width: 768px) {
    /* Container do upload - força coluna */
    .mohgom-cf7-form .mohgom-file-upload,
    .wpcf7-form .mohgom-file-upload {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 1.5rem 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Wrapper do CF7 */
    .mohgom-file-upload .wpcf7-form-control-wrap {
        display: block !important;
        width: 100% !important;
        margin: 1rem 0 0.5rem !important;
    }
    
    /* Input de arquivo - força quebra */
    .mohgom-file-upload input[type="file"],
    .mohgom-file-upload .wpcf7-file {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
        font-size: 0.9rem !important;
        background: transparent !important;
        border: none !important;
        padding: 0.5rem !important;
        color: #666 !important;
        /* Força o texto a quebrar linha */
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }
    
    /* Esconde o texto "Nenhum arquivo escolhido" e mostra abaixo formatado */
    .mohgom-file-upload input[type="file"]::file-selector-button,
    .mohgom-file-upload input[type="file"]::-webkit-file-upload-button {
        display: block !important;
        width: 100% !important;
        margin: 0 auto 0.75rem auto !important;
        padding: 0.875rem 1.5rem !important;
        background: #8B4513 !important;
        color: white !important;
        border: none !important;
        border-radius: 50px !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        font-family: inherit !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        cursor: pointer !important;
        box-shadow: 0 4px 6px rgba(139, 69, 19, 0.2) !important;
    }
    
    /* Esconde o texto padrão do arquivo e substitui */
    .mohgom-file-upload input[type="file"]:not(:valid)::before {
        content: "Nenhum arquivo selecionado";
        display: block;
        text-align: center;
        color: #666;
        font-size: 0.85rem;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    /* Labels centralizadas */
    .mohgom-file-upload label,
    .mohgom-file-upload > label {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-bottom: 0.5rem !important;
        font-weight: 600 !important;
        color: #8B4513 !important;
    }
    
    /* Texto pequeno (PDF, JPG...) */
    .mohgom-file-upload small {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        color: #666 !important;
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Fallback para browsers específicos */
@supports (-webkit-touch-callout: none) {
    /* CSS específico para iOS */
    @media (max-width: 768px) {
        .mohgom-file-upload input[type="file"] {
            font-size: 16px !important; /* Previne zoom */
        }
    }
}

/* ========================================
   BOTÕES CF7 - CORREÇÃO DE TEXTO CORTADO (MOBILE)
   ======================================== */

@media (max-width: 768px) {
    /* Botão de upload - ajuste específico */
    .mohgom-file-upload input[type="file"]::file-selector-button,
    .mohgom-file-upload input[type="file"]::-webkit-file-upload-button {
        display: block !important;
        width: auto !important; /* Largura automática baseada no conteúdo */
        min-width: 200px !important; /* Largura mínima garantida */
        max-width: 90% !important; /* Não ultrapassa o container */
        margin: 0 auto 0.75rem auto !important;
        padding: 0.75rem 1rem !important; /* Padding horizontal reduzido */
        background: #8B4513 !important;
        color: white !important;
        border: none !important;
        border-radius: 25px !important; /* Border-radius menor */
        font-weight: 600 !important;
        font-size: 0.85rem !important; /* Fonte um pouco menor */
        font-family: inherit !important;
        text-transform: uppercase !important;
        letter-spacing: 0.02em !important; /* Espaçamento entre letras reduzido */
        cursor: pointer !important;
        white-space: nowrap !important; /* Impede quebra de linha */
        overflow: hidden !important;
        text-overflow: ellipsis !important; /* Adiciona "..." se cortar */
        box-shadow: 0 2px 4px rgba(139, 69, 19, 0.2) !important;
    }
    
    /* Botão de submit principal */
    .mohgom-cf7-form input[type="submit"],
    .mohgom-cf7-form .wpcf7-submit,
    .mohgom-form-submit input[type="submit"] {
        width: 100% !important; /* Largura total no mobile */
        max-width: 100% !important;
        padding: 1rem 1.5rem !important; /* Mais espaço interno */
        font-size: 0.9rem !important; /* Fonte ligeiramente menor */
        letter-spacing: 0.02em !important;
        white-space: normal !important; /* Permite quebra de linha se necessário */
        line-height: 1.3 !important; /* Espaçamento entre linhas se quebrar */
        border-radius: 50px !important; /* Mantém arredondado */
        word-wrap: break-word !important; /* Quebra palavras longas */
        overflow-wrap: break-word !important;
    }
    
    /* Container do botão de submit */
    .mohgom-form-submit {
        width: 100% !important;
        padding: 0 0.5rem !important; /* Margem nas laterais */
        box-sizing: border-box !important;
    }
}

/* Telas muito pequenas (iPhone SE, etc) */
@media (max-width: 375px) {
    .mohgom-file-upload input[type="file"]::file-selector-button,
    .mohgom-file-upload input[type="file"]::-webkit-file-upload-button {
        font-size: 0.8rem !important; /* Fonte ainda menor */
        min-width: 180px !important;
        padding: 0.75rem 0.875rem !important;
        letter-spacing: 0 !important; /* Sem espaçamento extra */
    }
    
    .mohgom-cf7-form input[type="submit"],
    .mohgom-cf7-form .wpcf7-submit {
        font-size: 0.85rem !important;
        padding: 0.875rem 1.25rem !important;
    }
}

/* ========================================
   UPLOAD CUSTOMIZADO - BOTÃO "ARQUIVO"
   ======================================== */

.mohgom-file-custom {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Esconde o input nativo mas mantém 100% funcional */
.mohgom-file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Botão customizado "Arquivo" */
.mohgom-file-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background: #8B4513;
    color: white !important;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(139, 69, 19, 0.2);
}

.mohgom-file-button:hover {
    background: #A0522D;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(139, 69, 19, 0.3);
}

/* Ícone dentro do botão */
.mohgom-file-button .dashicons {
    font-size: 1.2rem;
    width: auto;
    height: auto;
    line-height: 1;
}

/* Nome do arquivo selecionado */
.mohgom-file-name {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .mohgom-file-custom {
        width: 100%;
    }
    
    .mohgom-file-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem;
    }
    
    .mohgom-file-name {
        font-size: 0.85rem;
        max-width: 100%;
    }
}

/* Quando arquivo selecionado - cor verde */
.mohgom-file-custom.has-file .mohgom-file-button {
    background: #2E8B57;
}

.mohgom-file-custom.has-file .mohgom-file-name {
    color: #2E8B57;
    font-weight: 600;
}
/* Esconde <br> indesejados dentro do botão de arquivo */
.mohgom-file-button br {
    display: none !important;
}

/* Garante que o label seja flexível e ignore elementos de bloco */
.mohgom-file-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
}

/* ========================================
   BOTÃO ARQUIVO - CORREÇÃO DE CONTRASTE
   ======================================== */

/* Garante que o botão tenha texto branco (não herde do label pai) */
.mohgom-file-button,
.mohgom-file-upload label.mohgom-file-button {
    color: #ffffff !important; /* TEXTO BRANCO obrigatório */
    background: #8B4513 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.875rem 2.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    box-shadow: 0 4px 6px rgba(139, 69, 19, 0.2) !important;
    border: none !important;
    margin-bottom: 0 !important; /* Remove margem que vem do label pai */
}

/* Hover do botão */
.mohgom-file-button:hover {
    background: #A0522D !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 15px rgba(139, 69, 19, 0.3) !important;
    color: #ffffff !important; /* Mantém branco no hover */
}

/* Mobile */
@media (max-width: 768px) {
    .mohgom-file-button,
    .mohgom-file-upload label.mohgom-file-button {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 1rem !important;
        color: #ffffff !important; /* Garante branco no mobile */
    }
}

/* ========================================
   PADRONIZAÇÃO DE MARGENS - MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Cronograma - reduzir margens laterais */
    .mohgom-cronograma,
    .wp-block-group.alignfull.mohgom-cronograma {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .mohgom-cronograma-box {
        padding: 1.5rem 1rem !important; /* Padding interno reduzido */
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Formulário de Ouvidoria - mesma margem do cronograma */
    .mohgom-ouvidoria,
    .wp-block-group.mohgom-ouvidoria {
        padding: 2rem 1rem !important; /* Padding lateral de 1rem */
        margin: 2rem auto !important;
        width: calc(100% - 2rem) !important; /* 100% menos margens */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Container do formulário CF7 */
@media (max-width: 768px) {
    /* Container do formulário com margem externa padronizada */
    .mohgom-cf7-form {
        padding: 0 1rem !important; /* Padding interno de 1rem nas laterais */
        margin: 0 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Campos do formulário com largura adequada */
    .mohgom-cf7-form input[type="text"],
    .mohgom-cf7-form input[type="email"],
    .mohgom-cf7-form input[type="tel"],
    .mohgom-cf7-form textarea,
    .mohgom-cf7-form select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
    /* Inputs do formulário não ultrapassarem */
    .mohgom-cf7-form input[type="text"],
    .mohgom-cf7-form input[type="email"],
    .mohgom-cf7-form input[type="tel"],
    .mohgom-cf7-form textarea,
    .mohgom-cf7-form select {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ========================================
   SEÇÃO FALE CONOSCO - RESPONSIVIDADE MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Container principal da seção */
    .mohgom-contato,
    .wp-block-group.mohgom-contato,
    section.mohgom-contato {
        padding: 2rem 1rem !important; /* Padding lateral de 1rem */
        overflow-x: hidden !important; /* Previne scroll horizontal */
    }
    
    /* Grid de contato (cards de email, telefone, etc.) */
    .mohgom-contato-grid,
    .mohgom-contato-info {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Cards individuais de contato */
    .mohgom-contato-item,
    .mohgom-contato-card {
        padding: 1.25rem !important; /* Padding interno adequado */
        margin-bottom: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important; /* Quebra texto longo */
        overflow-wrap: break-word !important;
    }
    
    /* Garante que textos longos (email) quebrem linha */
    .mohgom-contato-item a,
    .mohgom-contato-item p,
    .mohgom-contato-card a,
    .mohgom-contato-card p {
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        font-size: 0.95rem !important; /* Fonte ligeiramente menor no mobile */
        line-height: 1.5 !important;
    }
    
    /* Email específico - quebra em telas pequenas */
    .mohgom-contato-item a[href^="mailto:"] {
        display: block !important; /* Força bloco para quebrar linha */
        word-break: break-all !important; /* Quebra email longo */
    }
    
    /* Container do mapa */
    .mohgom-contato-mapa,
    .wp-block-embed__wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 1.5rem 0 0 0 !important;
        overflow: hidden !important;
        border-radius: 8px !important;
    }
    
    /* Iframe do Google Maps */
    .mohgom-contato-mapa iframe,
    .mohgom-contato-mapa > * {
        width: 100% !important;
        max-width: 100% !important;
        border: 0 !important;
    }
}