/*
 * Página Institucional / Quem Somos
 * (extraído dos templates — não misturar CSS com HTML)
 */

    /* --- CSS ESPECÍFICO DA PÁGINA "QUEM SOMOS" --- */

    /* Hero Interno */
    .page-hero {
        position: relative;
        height: 350px;
        display: flex;
        align-items: center;
        background: linear-gradient(rgba(0, 34, 102, 0.85), rgba(0, 51, 153, 0.8)), url('https://images.unsplash.com/photo-1573164713988-8665fc963095?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
        background-size: cover;
        background-position: center;
        color: var(--white);
        text-align: center;
    }

    .page-hero-content {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .page-hero h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        color: var(--accent-yellow);
    }

    /* --- Seção Nossa História --- */
    .history-section {
        padding: 100px 0;
        background-color: var(--white);
        overflow: hidden;
    }

    .history-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    /* Textos da História */
    .history-text-col {
        padding-right: 20px;
    }

    .history-text-col h2 {
        font-size: 2.2rem;
        color: var(--primary-blue);
        margin-bottom: 25px;
        line-height: 1.3;
        position: relative;
        padding-bottom: 15px;
    }

    .history-text-col h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background-color: var(--accent-yellow);
        border-radius: 2px;
    }

    .history-text-col p {
        font-size: 1.1rem;
        color: var(--text-gray);
        line-height: 1.8;
        margin-bottom: 20px;
        text-align: justify;
    }

    .history-text-col p:first-of-type::first-letter {
        font-family: 'Montserrat', sans-serif;
        font-size: 3.5rem;
        font-weight: 800;
        color: var(--primary-green);
        float: left;
        margin-right: 12px;
        line-height: 0.85;
        margin-top: 6px;
    }

    .highlight-box {
        background: var(--light-green);
        border-left: 4px solid var(--primary-green);
        padding: 20px;
        border-radius: 0 8px 8px 0;
        margin-top: 30px;
    }

    .highlight-box p {
        margin: 0;
        font-size: 1.05rem;
        color: var(--text-dark);
        font-style: italic;
    }

    /* Galeria de Fotos (Novo Layout Grid Assimétrico) */
    .history-images-col {
/*         display: grid; */
/*         grid-template-columns: 1fr 1fr; */
        gap: 20px;
        align-items: center; /* Centraliza verticalmente */
    }

    .hist-img-wrapper {
        background: var(--white);
        padding: 8px 8px 30px 8px; /* Borda Polaroid */
        border-radius: 4px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .hist-img-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 2px;
        object-fit: cover;
    }

    .hist-caption {
        position: absolute;
        bottom: 8px;
        left: 0;
        width: 100%;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--text-dark);
    }

    /* Estilos individuais para criar o efeito assimétrico */
    .img-reuniao {
        transform: translateY(-20px) rotate(-2deg);
    }

    .img-fundadores {
        transform: translateY(20px) rotate(2deg);
    }

    /* Hover effect aprimorado */
    .hist-img-wrapper:hover {
        transform: translateY(0) scale(1.05) rotate(0deg);
        z-index: 10;
        box-shadow: 0 20px 45px rgba(0, 51, 153, 0.2);
    }

    /* --- Seção CTA: Seja Nosso Associado --- */
    .cta-association-section {
        padding: 0 0 100px 0;
        background-color: var(--white);
    }

    .cta-assoc-card {
        max-width: 1000px;
        margin: 0 auto;
        background: var(--white);
        border-radius: var(--radius-md);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
    }

    .cta-assoc-img {
        width: 100%;
        height: 100%;
        min-height: 400px;
        object-fit: cover;
    }

    .cta-assoc-content {
        padding: 60px 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: var(--bg-light);
    }

    .cta-assoc-content h2 {
        font-size: 2.2rem;
        color: var(--primary-blue);
        margin-bottom: 15px;
        text-transform: uppercase;
    }

    .cta-assoc-content h4 {
        font-size: 1.1rem;
        color: var(--primary-green);
        margin-bottom: 25px;
        font-weight: 700;
        line-height: 1.4;
    }

    .cta-assoc-content p {
        color: var(--text-gray);
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .btn-assoc {
        background: var(--primary-green);
        color: var(--white);
        padding: 16px 35px;
        border-radius: var(--radius-btn);
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1rem;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 10px 20px rgba(0, 153, 51, 0.2);
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .btn-assoc:hover {
        background: var(--primary-blue);
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0, 51, 153, 0.3);
        color: var(--white);
    }

    /* Responsividade */
    @media (max-width: 992px) {
        .history-grid {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        .history-text-col {
            padding-right: 0;
        }
        .history-images-col {
            max-width: 700px;
            margin: 0 auto;
        }
        .img-reuniao {
            transform: translateY(0) rotate(-2deg);
        }
        .img-fundadores {
            transform: translateY(0) rotate(2deg);
        }
        .cta-assoc-card {
            grid-template-columns: 1fr;
        }
        .cta-assoc-img {
            min-height: 300px;
        }
    }

    @media (max-width: 768px) {
        .page-hero h1 {
            font-size: 2.2rem;
        }
        .history-images-col {
            grid-template-columns: 1fr; /* Empilha as fotos no mobile */
            gap: 40px;
        }
        .img-reuniao, .img-fundadores {
            transform: none; /* Remove a rotação no celular para economizar espaço */
        }
        .cta-assoc-content {
            padding: 40px 30px;
        }
    }

    /* --- SEÇÃO INSTITUCIONAL & DOWNLOADS (NOVO DESIGN PREMIUM) --- */
    .abpc-institutional-section {
        background: linear-gradient(135deg, #002266 0%, #003399 100%);
        padding: 80px 20px;
        font-family: 'Montserrat', sans-serif;
        position: relative;
        overflow: hidden;
    }

    /* Elemento decorativo de fundo */
    .abpc-institutional-section::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255, 204, 0, 0.05); /* Amarelo super suave */
        z-index: 1;
    }

    .abpc-inst-container {
        max-width: 1000px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
        text-align: center;
    }

    /* Texto de Destaque */
    .inst-statement {
        margin-bottom: 50px;
    }

    .inst-icon-quote {
        color: #FFCC00;
        font-size: 2.5rem;
        margin-bottom: 20px;
        opacity: 0.8;
    }

    .inst-statement h2 {
        color: #ffffff;
        font-size: 1.6rem;
        font-weight: 500;
        line-height: 1.6;
        margin: 0;
        letter-spacing: 0.5px;
    }

    .inst-divider {
        width: 60px;
        height: 3px;
        background-color: #009933;
        margin: 30px auto 0;
        border-radius: 2px;
    }

    /* Container dos Cards de Download */
    .inst-downloads-grid {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    /* Estilo do Card Moderno */
    .doc-download-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 30px 25px;
        display: flex;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 380px;
        text-decoration: none;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-bottom: 4px solid transparent;
        text-align: left;
    }

    .doc-download-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
        border-bottom-color: #009933;
    }

    .doc-icon {
        width: 60px;
        height: 60px;
        background: #e6f7eb;
        color: #009933;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .doc-download-card:hover .doc-icon {
        background: #009933;
        color: #ffffff;
    }

    .doc-info {
        flex-grow: 1;
    }

    .doc-info h3 {
        color: #002266;
        font-size: 1.2rem;
        font-weight: 700;
        margin: 0 0 5px 0;
    }

    .doc-info span {
        color: #5e6d7a;
        font-size: 0.85rem;
        font-family: 'Lato', sans-serif;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
    }

    .doc-action {
        color: #FFCC00;
        font-size: 1.3rem;
        transition: transform 0.3s ease;
    }

    .doc-download-card:hover .doc-action {
        transform: translateY(4px);
    }

    /* Responsividade */
    @media (max-width: 768px) {
        .inst-statement h2 {
            font-size: 1.3rem;
        }
        .abpc-institutional-section {
            padding: 60px 20px;
        }
    }

    /* Estilos complementares para organizar as listas da Diretoria */
    .board-header {
      text-align: center;
      margin-bottom: 50px;
    }
    
    .board-grid-main {
      margin-bottom: 40px;
    }

    .board-grid-secondary {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
    }

    @media (min-width: 992px) {
      .board-grid-secondary {
        grid-template-columns: 1fr 1fr;
      }
    }

    .board-box h3 {
      font-size: 1.4rem;
      color: var(--primary-blue);
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 2px solid var(--bg-light);
    }

    .board-meta {
      display: block;
      font-size: 0.8rem;
      color: var(--text-gray);
      font-weight: 400;
      margin-top: 4px;
    }

    /* Variação de cores nas bordas laterais para diferenciar os quadros */
    .box-fiscal { border-left-color: var(--primary-green); }
    .box-etica { border-left-color: var(--dark-blue); }
  

    /* Estilos específicos para o Acordeão de Regiões */
    .regions-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .accordion-container {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    /* Estilizando a tag nativa details */
    details.accordion-item {
      background: var(--white);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-soft);
      border-left: 5px solid var(--accent-yellow);
      transition: all 0.3s ease;
    }

    details.accordion-item[open] {
      box-shadow: var(--shadow-hover);
      border-left-color: var(--primary-green);
    }

    /* Estilizando o cabeçalho clicável (summary) */
    summary.accordion-header {
      padding: 20px 30px;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--primary-blue);
      cursor: pointer;
      list-style: none; /* Remove a setinha padrão do navegador */
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* Remove a setinha no Safari */
    summary.accordion-header::-webkit-details-marker {
      display: none;
    }

    /* Ícone de + e - customizado */
    summary.accordion-header::after {
      content: '+';
      font-size: 1.8rem;
      font-weight: 400;
      color: var(--primary-green);
      line-height: 1;
      transition: transform 0.3s ease;
    }

    details.accordion-item[open] summary.accordion-header::after {
      content: '−'; /* Sinal de menos */
      color: var(--primary-blue);
    }

    /* Conteúdo interno do acordeão */
    .accordion-content {
      padding: 0 30px 30px 30px;
      border-top: 1px dashed #eee;
      margin-top: 10px;
      padding-top: 20px;
    }

    /* Lista de nomes em grid para aproveitar espaço */
    .names-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .names-list li {
      position: relative;
      padding-left: 18px;
      color: var(--text-dark);
      font-size: 0.95rem;
    }

    .names-list li::before {
      content: "•";
      color: var(--primary-green);
      position: absolute;
      left: 0;
      font-size: 1.2rem;
      line-height: 1;
    }

    /* Responsividade para criar colunas nos nomes */
    @media (min-width: 768px) {
      .names-list {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 992px) {
      .names-list.large-list {
        grid-template-columns: repeat(3, 1fr);
      }
    }
  
