/* ==========================================================================
   RESET E VARIÁVEIS - INSTITUTO CASA CRER
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* PALETA DE CORES */
    --azul-principal: #2899AB;
    --azul-secundario: #2C7D9A;
    --azul-claro: #5BC0DE;
    --azul-suave: #A8D8EA;
    --verde-suave: #8FC93A;
    --bege-claro: #FAF0E6;
    --bege-medio: #F5F5DC;
    --bege-escuro: #DEB887;
    --dourado: #DAA520;
    --branco: #FFFFFF;
    --cinza-claro: #F8F8F8;
    
    /* GRADIENTES */
    --gradient-azul: linear-gradient(135deg, var(--azul-principal), var(--azul-secundario));
    --gradient-azul-claro: linear-gradient(135deg, var(--azul-secundario), var(--azul-claro));
    --gradient-bege: linear-gradient(135deg, var(--bege-claro), var(--bege-medio));
    --gradient-dourado: linear-gradient(135deg, var(--dourado), #F4C430);
    
    /* SOMBRAS */
    --shadow-light: 0 5px 15px rgba(40, 153, 171, 0.08);
    --shadow-medium: 0 8px 25px rgba(40, 153, 171, 0.12);
    --shadow-dark: 0 10px 30px rgba(40, 153, 171, 0.15);
    
    /* BORDAS */
    --border-radius: 12px;
    --border-radius-small: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--bege-claro);
    overflow-x: hidden;
}

/* ==========================================================================
   LAYOUT E CONTAINERS
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--bege-claro);
}

.section-title {
    font-size: 2.8rem;
    color: var(--azul-principal);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-dourado);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--azul-secundario);
    font-size: 1.2rem;
    max-width: 800px;
    margin: -2rem auto 3rem auto;
    line-height: 1.6;
}

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */
h1, h2, h3, h4 {
    color: var(--azul-principal);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

strong {
    color: var(--azul-secundario);
}

/* ==========================================================================
   HEADER E NAVEGAÇÃO
   ========================================================================== */
header {
    background: var(--gradient-azul);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo a {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.logo a:hover {
    color: var(--azul-suave);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--azul-suave);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--azul-suave);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* ==========================================================================
   BANNER HERO
   ========================================================================== */
.hero-banner {
    background: linear-gradient(rgba(40, 153, 171, 0.85), rgba(44, 125, 154, 0.75)),
                url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 75vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-dourado);
}

.banner-overlay {
    width: 100%;
    padding: 2rem 0;
}

.banner-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    padding: 0 20px;
}

.banner-content h1 {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.5;
}

.btn-banner {
    display: inline-block;
    background: var(--gradient-dourado);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.btn-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.5);
    background: linear-gradient(135deg, #F4C430, #FFD700);
}

/* ==========================================================================
   SEÇÃO MISSÃO
   ========================================================================== */
.mission-section {
    padding: 3rem 0;
    background: var(--bege-medio);
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 6px solid var(--azul-secundario);
}

.mission-icon i {
    font-size: 4rem;
    color: var(--azul-secundario);
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--azul-principal);
    margin: 0;
}

/* ==========================================================================
   SEÇÃO SOBRE
   ========================================================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--azul-principal);
}

.achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--bege-escuro);
}

.achievement {
    text-align: center;
}

.achievement-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--azul-secundario);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.achievement-text {
    display: block;
    font-size: 1rem;
    color: var(--azul-principal);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 5px solid white;
}

/* ==========================================================================
   SEÇÃO PROJETOS
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    border-left: 4px solid var(--azul-suave);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-bottom-color: var(--dourado);
}

.project-icon {
    margin-bottom: 1.5rem;
}

.project-icon i {
    font-size: 3.5rem;
    color: var(--azul-secundario);
}

.project-card h3 {
    color: var(--azul-principal);
}

/* ==========================================================================
   SEÇÃO TRANSPARÊNCIA - NOVO DESIGN
   ========================================================================== */
.transparency-container {
  
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 3rem;
}

.project-info h3 {
    color: var(--azul-principal);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--azul-secundario);
    margin-bottom: 2rem;
}

.document-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn {
    background: var(--gradient-azul);
    color: white;
}

.download-btn:hover {
    background: var(--azul-secundario);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 125, 154, 0.3);
}

.view-btn {
    background: var(--gradient-bege);
    color: var(--azul-principal);
    border: 2px solid var(--azul-suave);
}

.view-btn:hover {
    background: var(--bege-escuro);
    border-color: var(--azul-principal);
    transform: translateY(-2px);
}

/* Visualizador de Imagem */
.image-viewer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.image-container {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-small);
    overflow: hidden;
    background: var(--bege-claro);
    cursor: pointer;
    border: 2px solid var(--azul-suave);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 70%, rgba(40, 153, 171, 0.3));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.zoom-hint {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--azul-principal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.image-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-azul);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--azul-secundario);
    transform: scale(1.1);
}

.image-counter {
    font-weight: 600;
    color: var(--azul-principal);
}

/* Informações Adicionais */
.additional-info {
    background: var(--bege-medio);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--dourado);
}

.additional-info h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--azul-principal);
}

.cnpj-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bege-escuro);
    text-align: center;
}

.cnpj-info p {
    margin: 0;
    color: var(--azul-secundario);
    font-weight: 500;
}

/* Modal de Visualização */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--azul-principal);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.modal-caption {
    padding: 15px;
    background: var(--bege-claro);
    text-align: center;
    color: var(--azul-principal);
    font-weight: 500;
    border-top: 2px solid var(--azul-suave);
}

/* Estilo para o botão de download quando há erro */
.download-btn.error {
    background: #ff6b6b !important;
}

.download-btn.error:hover {
    background: #ff5252 !important;
}

/* ==========================================================================
   SEÇÃO CONTATO
   ========================================================================== */
.contact-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-column,
.map-column {
    display: flex;
    flex-direction: column;
}

.contact-card,
.map-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    height: 100%;
    border-top: 5px solid var(--azul-secundario);
}

.contact-card h3,
.map-card h3 {
    color: var(--azul-principal);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bege-escuro);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bege-escuro);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-bege);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--azul-secundario);
}

.contact-details h4 {
    color: var(--azul-principal);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--azul-secundario);
    margin: 0;
    font-size: 1rem;
}

.contact-extra {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bege-escuro);
}

.contact-extra p {
    margin-bottom: 1rem;
    color: var(--azul-principal);
}

.view-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--azul-secundario);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.view-map-link:hover {
    color: var(--dourado);
}

/* Mapa */
.map-container {
    margin: 1rem 0;
}

.map-placeholder {
    height: 400px;
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-light);
    max-width: 280px;
}

.map-overlay h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--azul-principal);
}

.reference-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--azul-secundario);
}

.map-instructions {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bege-claro);
    border-radius: var(--border-radius-small);
    font-size: 0.9rem;
    color: var(--azul-principal);
    border-left: 3px solid var(--dourado);
}

.map-instructions p {
    margin: 0.5rem 0;
}

.map-instructions i {
    color: var(--dourado);
    margin-right: 0.5rem;
}
/* ==========================================================================
   BOTÃO EXCEL OCUPANDO 100% DO QUADRADO BRANCO
   ========================================================================== */

.excel-full-container {
    margin-top: 2rem;
    width: 100%;
}

.excel-full-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 2px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.excel-full-card:hover {
    box-shadow: var(--shadow-dark);
    border-color: #21a366;
    transform: translateY(-2px);
}

.excel-full-content {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #21734615, #21a36615);
    border-bottom: 1px solid #e8e8e8;
}

.excel-full-icon {
    font-size: 2.2rem;
    color: #21a366;
    margin-right: 1.5rem;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(33, 115, 70, 0.15);
    border: 2px solid #21a36640;
}

.excel-full-text h4 {
    color: var(--azul-principal);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.excel-full-text p {
    color: var(--azul-secundario);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* BOTÃO QUE OCUPA TODA A LARGURA */
.excel-full-btn {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    width: 100%;
    transition: all 0.3s ease;
}

.excel-full-btn:hover {
    background: linear-gradient(135deg, #21734605, #21a36605);
}

.excel-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
    background: #21a366;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.excel-full-btn:hover .excel-btn-content {
    background: #185c3b;
}

.excel-btn-content i {
    font-size: 1.3rem;
}

/* INFORMAÇÕES DO ARQUIVO */
.excel-file-info {
    display: flex;
    justify-content: space-around;
    padding: 0.8rem;
    background: var(--bege-claro);
    border-top: 1px solid #e8e8e8;
}

.excel-file-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--azul-secundario);
}

.excel-file-info i {
    color: #21a366;
    font-size: 0.9rem;
}

/* ==========================================================================
   VERSÃO ALTERNATIVA - TUDO EM UM ÚNICO BLOCO
   ========================================================================== */
.excel-single-block {
    margin-top: 2rem;
    width: 100%;
}

.excel-single-block a {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 1.5rem;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    width: 100%;
}

.excel-single-block a:hover {
    border-color: #21a366;
    box-shadow: var(--shadow-dark);
    transform: translateY(-2px);
}

.excel-single-icon {
    font-size: 2.5rem;
    color: #21a366;
    margin-right: 1.5rem;
    background: linear-gradient(135deg, #21734615, #21a36615);
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.excel-single-info {
    flex-grow: 1;
}

.excel-single-info h4 {
    color: var(--azul-principal);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.excel-single-info p {
    color: var(--azul-secundario);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.excel-single-details {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.excel-single-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.excel-single-download {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #21a366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.excel-single-block a:hover .excel-single-download {
    background: #185c3b;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 768px) {
    .excel-full-content {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .excel-full-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .excel-file-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .excel-btn-content {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Versão single block */
    .excel-single-block a {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .excel-single-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .excel-single-details {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .excel-single-download {
        margin-top: 1rem;
        align-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .excel-full-card {
        border-radius: var(--border-radius-small);
    }
    
    .excel-full-text h4 {
        font-size: 1.1rem;
    }
    
    .excel-btn-content {
        font-size: 0.95rem;
    }
    
    .excel-file-info span {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   BOTÃO WHATSAPP FLUTUANTE
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background: #128C7E;
}

.whatsapp-btn i {
    font-size: 2.2rem;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: var(--azul-principal);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-small);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    font-weight: 500;
    box-shadow: var(--shadow-light);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--azul-principal);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--gradient-azul);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-dourado);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo i {
    color: var(--azul-suave);
}

.footer-mission {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-certifications {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius-small);
    border-left: 3px solid var(--azul-suave);
}

.footer-certifications p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.footer-certifications i {
    color: var(--azul-suave);
    margin-right: 0.5rem;
}

.footer-column h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--azul-suave);
}

/* Links de Navegação */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--azul-suave);
    transform: translateX(5px);
}

.footer-links i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Informações de Contato */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-contact i {
    color: var(--azul-suave);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact strong {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Redes Sociais */
.footer-social {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.facebook:hover {
    background: #1877F2;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-btn.youtube:hover {
    background: #FF0000;
}

.social-btn.whatsapp:hover {
    background: #25D366;
}

.emergency-contact {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius-small);
    margin-top: 1.5rem;
    border-left: 3px solid #ff6b6b;
}

.emergency-contact p {
    margin: 0.5rem 0;
    color: white;
}

.emergency-contact a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.emergency-contact a:hover {
    color: var(--azul-suave);
}

.emergency-contact small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Divisória */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--azul-suave);
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-azul);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(40, 153, 171, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--azul-secundario);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 153, 171, 0.4);
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1200px) {
    .transparency-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--gradient-azul);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: var(--shadow-medium);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .hero-banner {
        min-height: 70vh;
        margin-top: 70px;
        background-attachment: scroll;
    }
    
    .banner-content h1 {
        font-size: 2.8rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
    
    .mission-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .achievements {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .whatsapp-btn {
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-btn i {
        font-size: 1.8rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .document-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        min-height: 60vh;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .transparency-container {
        padding: 1.5rem;
    }
    
    .image-nav {
        gap: 1rem;
    }
    
    .doc-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 60px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .transparency-container {
        padding: 1rem;
    }
    
    .additional-info {
        padding: 1.5rem;
    }
}