/**
 * ==========================================================================
 * REDE BRASILEIRA DE TEÓLOGAS - CUSTOM CSS
 * ==========================================================================
 * 
 * Arquivo principal de estilos customizados para o site da Rede Brasileira
 * de Teólogas. Contém todas as customizações visuais organizadas por seções.
 * 
 * Autor: Desenvolvido para Rede Brasileira de Teólogas
 * Versão: 1.0
 * Data: 2025
 */

/* ==========================================================================
   1. VARIÁVEIS CSS (ROOT)
   ========================================================================== */
:root {
    /* Cores Principais do Site */
    --primary-yellow: #ffc114;    /* Amarelo principal - usado no navbar e CTAs */
    --primary-red: #720404;       /* Vermelho principal - usado em botões e textos */
    --dark-blue: #001427;         /* Azul escuro - usado em textos e backgrounds */
    --light-gray: #f5f5f5;        /* Cinza claro - background geral */
    --text-gray: #838b91;         /* Cinza para textos secundários */
    
    /* Sistema de Fontes Responsivas */
    --main-font: 'Nunito', sans-serif;
    
    /* Tamanhos de Fonte Base - Desktop */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
}

/* ==========================================================================
   2. SISTEMA DE TIPOGRAFIA RESPONSIVA
   ========================================================================== */

/* Tamanhos base para mobile */
@media (max-width: 576px) {
    :root {
        /* Tamanhos otimizados para smartphones - mais confortáveis */
        --font-size-xs: 0.75rem;      /* 12px */
        --font-size-sm: 0.875rem;     /* 14px */
        --font-size-base: 0.9375rem;  /* 15px */
        --font-size-lg: 1.0625rem;    /* 17px */
        --font-size-xl: 1.125rem;     /* 18px */
        --font-size-2xl: 1.375rem;    /* 22px */
        --font-size-3xl: 1.75rem;     /* 28px */
        --font-size-4xl: 2rem;        /* 32px */
        --font-size-5xl: 2.25rem;     /* 36px */
        --font-size-6xl: 2.5rem;      /* 40px */
    }
    
    /* Hero sections em smartphones - títulos grandes e impactantes */
    .hero-banner .hero-title,
    .hero-section .hero-title,
    .hero-banner h1,
    .hero-section h1 {
        font-size: 2rem !important; /* ~32px */
        font-weight: 700 !important; /* Bold */
        line-height: 1.1 !important;
        text-align: left !important;
    }
    
    .hero-banner .hero-subtitle,
    .hero-section .hero-subtitle,
    .hero-banner p,
    .hero-section p {
        font-size: 1.0625rem !important; /* ~17px */
        font-weight: 400 !important; /* Normal */
        line-height: 1.45 !important;
        text-align: left !important;
    }
}

/* Tamanhos para tablet */
@media (min-width: 577px) and (max-width: 768px) {
    :root {
        --font-size-xs: 0.75rem;      /* 12px */
        --font-size-sm: 0.85rem;      /* 14px */
        --font-size-base: 0.95rem;    /* 15px */
        --font-size-lg: 1.05rem;      /* 17px */
        --font-size-xl: 1.15rem;      /* 18px */
        --font-size-2xl: 1.35rem;     /* 22px */
        --font-size-3xl: 1.65rem;     /* 26px */
        --font-size-4xl: 2rem;        /* 32px */
        --font-size-5xl: 2.5rem;      /* 40px */
        --font-size-6xl: 3rem;        /* 48px */
    }
}

/* Classes de tipografia utilitárias */
.text-xs { font-size: var(--font-size-xs); line-height: var(--line-height-normal); }
.text-sm { font-size: var(--font-size-sm); line-height: var(--line-height-normal); }
.text-base { font-size: var(--font-size-base); line-height: var(--line-height-normal); }
.text-lg { font-size: var(--font-size-lg); line-height: var(--line-height-normal); }
.text-xl { font-size: var(--font-size-xl); line-height: var(--line-height-normal); }
.text-2xl { font-size: var(--font-size-2xl); line-height: var(--line-height-tight); }
.text-3xl { font-size: var(--font-size-3xl); line-height: var(--line-height-tight); }
.text-4xl { font-size: var(--font-size-4xl); line-height: var(--line-height-tight); }
.text-5xl { font-size: var(--font-size-5xl); line-height: var(--line-height-tight); }
.text-6xl { font-size: var(--font-size-6xl); line-height: var(--line-height-tight); }

/* Font weights */
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }

/* Line heights */
.leading-tight { line-height: var(--line-height-tight); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }

/* ==========================================================================
   3. CONFIGURAÇÕES GERAIS
   ========================================================================== */

/* Configuração geral do body */
body {
    background-color: var(--light-gray);
    font-family: var(--main-font);
    /* Padroniza legibilidade: 16pt desktop/tablet */
    font-size: 16pt !important;
    line-height: var(--line-height-normal);
    color: var(--dark-blue);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Melhor legibilidade para parágrafos */
p {
    /* Mantém hierarquia porém respeita base */
    font-size: 1em;
    line-height: var(--line-height-relaxed);
    margin-bottom: 1rem;
    color: var(--dark-blue);
    text-align: left;
}

/* Títulos responsivos */
h1 { font-size: var(--font-size-5xl); font-weight: var(--font-weight-extrabold); line-height: var(--line-height-tight); margin-bottom: 1rem; }
h2 { font-size: var(--font-size-4xl); font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); margin-bottom: 0.8rem; }
h3 { font-size: var(--font-size-3xl); font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); margin-bottom: 0.6rem; }
h4 { font-size: var(--font-size-2xl); font-weight: var(--font-weight-semibold); line-height: var(--line-height-normal); margin-bottom: 0.5rem; }
h5 { font-size: var(--font-size-xl); font-weight: var(--font-weight-semibold); line-height: var(--line-height-normal); margin-bottom: 0.4rem; }
h6 { font-size: var(--font-size-lg); font-weight: var(--font-weight-medium); line-height: var(--line-height-normal); margin-bottom: 0.3rem; }

/* Lead paragraphs */
.lead {
    font-size: 1.15em;
    line-height: var(--line-height-relaxed);
    font-weight: var(--font-weight-normal);
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Small text */
small, .small {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

/* Configuração da fonte para elementos SVG do navbar */
.navbar-brand svg text {
    font-family: var(--main-font);
}

/* ==========================================================================
   4. SISTEMA DE BOTÕES
   ========================================================================== */

/* Botão Primário Customizado (Vermelho) */
.btn-primary-custom {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    padding: 12px 24px;
    transition: all 0.3s ease;
}

/* Estado hover do botão primário */
.btn-primary-custom:hover {
    background-color: #8a0505;  /* Vermelho mais escuro no hover */
    border-color: #8a0505;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(114, 4, 4, 0.3);
}

/* Estado focus do botão primário */
.btn-primary-custom:focus {
    box-shadow: 0 0 0 0.2rem rgba(114, 4, 4, 0.25);
}

/* ==========================================================================
   4. SISTEMA DE CORES UTILITÁRIAS
   ========================================================================== */

/* Texto com cor primária vermelha */
.text-primary-custom {
    color: var(--primary-red) !important;
}

/* Background amarelo primário */
.bg-primary-yellow {
    background-color: var(--primary-yellow) !important;
}

/* Background vermelho primário */
.bg-primary-red {
    background-color: var(--primary-red) !important;
}

/* Texto cinza customizado */
.text-gray-custom {
    color: var(--text-gray);
}

/* Padronização de alinhamento justificado em áreas de conteúdo */
/* Padronização de alinhamento à esquerda em áreas de conteúdo */
.content-section,
.comunicacao-content,
.juridico-financeira-content,
.secretariado-content,
.event-description,
.card-text {
    text-align: left;
}

.comunicacao-content p,
.juridico-financeira-content p,
.secretariado-content p,
.event-description p,
.card-text p,
.comunicacao-content li,
.juridico-financeira-content li,
.secretariado-content li,
.event-description li {
    text-align: left;
}

/* ==========================================================================
   5. LOGOS - NAVBAR E FOOTER
   ========================================================================== */

/* Logo principal do navbar - desktop */
.navbar-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    margin-left: 250px;
    transition: transform 0.3s ease;
}

/* Logo do navbar - mobile */
.navbar-logo-mobile {
    height: 40px;
    width: auto;
    max-width: 140px;
    margin-left: 0px;
    transition: transform 0.3s ease;
}

/* Efeito hover nas logos do navbar */
.navbar-logo:hover,
.navbar-logo-mobile:hover {
    transform: scale(1.05);
}

/* Logo do footer */
.footer-logo {
    height: 60px;
    width: auto;
    max-width: 120px;
    filter: brightness(0.8); /* Escurece um pouco para contrastar com o fundo amarelo */
}

/* Responsivo para logos do navbar */
/* Tablets e dispositivos médios */
@media (max-width: 992px) and (min-width: 769px) {
    .navbar-logo {
        margin-left: 50px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar-logo {
        margin-left: 0px !important;
    }
    
    .navbar-logo-mobile {
        height: 35px;
        max-width: 120px;
        margin-left: 0px !important;
    }
}

/* Responsivo para logo do footer */
@media (max-width: 768px) {
    .footer-logo {
        height: 50px;
        max-width: 100px;
    }
}

/* ==========================================================================
   6. NAVBAR - BARRA DE NAVEGAÇÃO
   ========================================================================== */

/* Estilização dos links da navbar */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);  /* Usando sistema responsivo */
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: lowercase;  /* Mantém o estilo em minúsculas */
}

/* Efeito hover nos links da navbar */
.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Remove o foco padrão do botão toggle da navbar */
.navbar-toggler:focus {
    box-shadow: none;
}

/* Estilização do ícone do menu mobile */
.navbar-toggler .bi-list {
    color: var(--dark-blue) !important;
    font-size: 1.8rem !important;
}

/* ==========================================================================
   7. NAVBAR RESPONSIVO (MOBILE)
   ========================================================================== */

/* Configurações para telas menores que 992px */
@media (max-width: 991.98px) {
    /* Container do menu colapsado */
    .navbar-collapse {
        background-color: var(--primary-yellow);
        margin-top: 1rem;
        border-radius: 10px;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    /* Espaçamento entre itens do menu mobile */
    .navbar-nav .nav-item {
        margin-bottom: 0.8rem;
    }
    
    /* Tamanho da fonte no menu mobile */
    .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 12px 16px !important;
    }
}

/* ==========================================================================
   8. HERO BANNER - SEÇÃO PRINCIPAL
   ========================================================================== */

/* Container principal do hero banner */
.hero-banner {
    display: flex;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Imagem de fundo do hero banner */
.hero-background {
    background-image: url('/banner/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;  /* Efeito parallax */
}

/* Título principal do hero banner */
.hero-title {
    font-size: var(--font-size-5xl);
    line-height: var(--line-height-tight);
    font-weight: var(--font-weight-extrabold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    color: white;
}

/* Subtítulo do hero banner */
.hero-subtitle {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-relaxed);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    color: white;
    margin-bottom: 2rem;
}

/* Container do conteúdo do hero */
.hero-content {
    padding-right: 2rem;
}

/* Remover espaços laterais excessivos em mobile */
@media (max-width: 768px) {
    .container,
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* ==========================================================================
   9. FORMULÁRIO DE CADASTRO
   ========================================================================== */

/* Container principal do formulário - maior contraste */
.signup-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* Efeito hover no formulário - mais sutil */
.signup-form:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* Título do formulário - mais destaque */
.signup-form h3 {
    color: var(--primary-red) !important;
    font-weight: var(--font-weight-extrabold) !important;
    font-size: var(--font-size-2xl) !important;
    text-decoration: underline;
    text-decoration-color: var(--primary-red);
    text-underline-offset: 8px;
    text-decoration-thickness: 4px;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.01em;
}

/* Labels dos campos do formulário */
.signup-form .form-label {
    font-weight: var(--font-weight-semibold);
    color: var(--dark-blue) !important;
    margin-bottom: 8px;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

/* Campos de input do formulário */
.signup-form .form-control {
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

/* Melhoria especial para campos de formulário em geral */
.form-control, .form-select {
    font-size: var(--font-size-base) !important;
    line-height: var(--line-height-normal) !important;
    padding: 12px 15px !important;
}

.form-label {
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-semibold) !important;
    margin-bottom: 0.5rem !important;
}

/* Estado focus dos campos */
.signup-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(114, 4, 4, 0.25);
    background-color: white;
    transform: scale(1.02);
}

/* Placeholder dos campos */
.signup-form .form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* ==========================================================================
   10. ACTION SEARCH - BARRA DE PESQUISA
   ========================================================================== */

/* Container principal da seção de busca */
.action-search-section {
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    border-top: 1px solid rgba(114, 4, 4, 0.1);
    position: relative;
}

/* Container da barra de busca */
.action-search-container {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(114, 4, 4, 0.1);
    transition: all 0.3s ease;
}

/* Efeito hover no container */
.action-search-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: rgba(114, 4, 4, 0.2);
}

/* Grupo do input de busca */
.search-input-group {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 4px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

/* Estado focus do grupo de input */
.search-input-group:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(114, 4, 4, 0.1);
    background: white;
}

/* Ícone de busca */
.search-icon {
    padding: 0 15px;
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Cor do ícone quando em foco */
.search-input-group:focus-within .search-icon {
    color: var(--primary-red);
}

/* Campo de input principal */
.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 10px;
    font-size: 1rem;
    color: var(--dark-blue);
    outline: none;
    font-weight: 500;
}

/* Placeholder do input */
.search-input::placeholder {
    color: var(--text-gray);
    font-style: italic;
    font-weight: 400;
}

/* Botão de pesquisar */
.search-button {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    min-width: 120px;
}

/* Efeito hover no botão */
.search-button:hover {
    background: #8a0505;
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(114, 4, 4, 0.3);
}

/* Estado active do botão */
.search-button:active {
    transform: scale(0.98) translateX(2px);
}

/* Container das sugestões */
.search-suggestions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

/* Label das sugestões */
.suggestions-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-right: 10px;
    font-weight: 500;
}

/* Tags de sugestão */
.suggestion-tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--dark-blue);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    margin: 2px 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
}

/* Efeito hover nas tags */
.suggestion-tag:hover {
    background: var(--primary-yellow);
    color: var(--primary-red);
    text-decoration: none;
    transform: translateY(-1px);
    border-color: var(--primary-red);
}

/* ==========================================================================
   11. SEÇÕES DE CONTEÚDO
   ========================================================================== */

/* Espaçamento padrão das seções */
.content-section {
    padding: 4rem 0;
}

/* Títulos das seções */
.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: var(--line-height-tight);
}

/* Subtítulos das seções */
.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
    line-height: var(--line-height-relaxed);
}

/* ==========================================================================
   12. CARDS - RESPONSIVE STYLES
   ========================================================================== */
/* Base card styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.card-text {
    flex: 1;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Card image container */
.card-img-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.card-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-container img {
    transform: scale(1.05);
}

/* Card footer */
.card-footer {
    background: transparent;
    border-top: 1px solid #edf2f7;
    padding: 1rem 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    /* Acomoda tipografia e evita espaços laterais grandes */
    body { font-size: 14pt !important; }

    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 1em;
        line-height: 1.6;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   13. FOOTER STYLES
   ========================================================================== */
footer {
    color: #000000 !important; /* Black text for all footer content */
}

footer a,
footer a:hover,
footer a:focus,
footer .text-muted,
footer small,
footer .small {
    color: #000000 !important; /* Force black color for all text and links */
}

footer .footer-link {
    color: #000000 !important; /* Force black color for footer links */
    text-decoration: none; /* Remove underline from links */
}

footer .footer-link:hover,
footer .footer-link:focus {
    color: #333333 !important; /* Slightly lighter black on hover */
    text-decoration: underline; /* Add underline on hover for better UX */
}

/* ==========================================================================
   14. CARDS DE TEÓLOGAS
   ========================================================================== */

/* Container dos cards */
.theologian-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    
    /* Modern shadow on hover */
    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
}

/* Efeito hover nos cards */
.theologian-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Imagem do card */
.theologian-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efeito hover na imagem */
.theologian-card:hover img {
    transform: scale(1.05);
}

/* Conteúdo do card */
.card-content {
    padding: 1.5rem;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

/* Container principal do footer */
.custom-footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

/* Footer amarelo (usado no footer atual) */
.footer-yellow {
    background-color: var(--primary-yellow);
    color: #000;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

/* Links do footer padrão */
.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-yellow);
}

/* Links do footer amarelo */
.footer-yellow .footer-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-yellow .footer-link:hover {
    text-decoration: underline;
    color: var(--primary-red);
}

/* Classe para cor vermelha */
.text-primary-red {
    color: var(--primary-red) !important;
}

/* Footer melhorado após remoção do newsletter */
.footer-yellow {
    padding: 3rem 0 2rem;
}

.footer-yellow .footer-logo {
    max-width: 80px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-yellow .footer-logo:hover {
    transform: scale(1.05);
}

/* Links do footer com hover melhorado */
.footer-yellow .footer-link {
    transition: all 0.3s ease;
    position: relative;
}

.footer-yellow .footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.footer-yellow .footer-link:hover::after {
    width: 100%;
}

/* Seção de contato com ícones */
.footer-yellow .bi {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-yellow p:hover .bi {
    transform: scale(1.2);
    color: var(--primary-red) !important;
}

/* Ícones sociais melhorados */
.footer-yellow .gap-3 a {
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(114, 4, 4, 0.1);
}

.footer-yellow .gap-3 a:hover {
    background: var(--primary-red);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(114, 4, 4, 0.3);
}

/* Ícones sociais no footer */
.footer-yellow .bi {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.footer-yellow .footer-link:hover .bi {
    transform: scale(1.2);
}

/* ==========================================================================
   14. SEÇÕES ESPECIAIS
   ========================================================================== */

/* Seção de call-to-action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffcd39 100%);
    padding: 4rem 0;
    text-align: center;
}

/* Seção sobre a missão */
.mission-section {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    padding: 4rem 0;
}

/* ==========================================================================
   15. MELHORIAS ESPECÍFICAS DE TIPOGRAFIA
   ========================================================================== */

/* Cards */
.card-title {
    font-size: var(--font-size-xl) !important;
    font-weight: var(--font-weight-bold) !important;
    line-height: var(--line-height-tight) !important;
    margin-bottom: 0.75rem !important;
}

.card-text {
    font-size: var(--font-size-base) !important;
    line-height: var(--line-height-relaxed) !important;
    margin-bottom: 1rem !important;
}

/* Botões Bootstrap */
.btn {
    font-size: var(--font-size-base) !important;
    line-height: var(--line-height-normal) !important;
    font-weight: var(--font-weight-medium) !important;
    padding: 0.75rem 1.5rem !important;
}

.btn-sm {
    font-size: var(--font-size-sm) !important;
    padding: 0.5rem 1rem !important;
}

.btn-lg {
    font-size: var(--font-size-lg) !important;
    padding: 1rem 2rem !important;
}

/* Badges */
.badge {
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-medium) !important;
}

/* Alerts */
.alert {
    font-size: var(--font-size-base) !important;
    line-height: var(--line-height-normal) !important;
}

/* Navbar brand */
.navbar-brand {
    font-size: var(--font-size-xl) !important;
    font-weight: var(--font-weight-bold) !important;
}

/* Links */
a {
    font-size: inherit;
    line-height: inherit;
}

/* Breadcrumbs */
.breadcrumb-item {
    font-size: var(--font-size-sm) !important;
}

/* Tables */
th {
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-semibold) !important;
}

td {
    font-size: var(--font-size-base) !important;
}

/* ==========================================================================
   16. RESPONSIVIDADE COMPLEMENTAR
   ========================================================================== */

/* Tablets e dispositivos médios (768px e abaixo) */
@media (max-width: 768px) {
    /* Hero banner mobile - agora usa sistema responsivo automaticamente */
    
    .hero-banner {
        min-height: auto !important;
    }
    
    /* Formulário mobile */
    .signup-form {
        margin-top: 2rem;
        padding: 1.5rem !important;
    }
    
    /* =================================================================
       AJUSTES ESPECÍFICOS PARA PÁGINA INDEX PRINCIPAL - MOBILE
       ================================================================= */
    
    /* Maior destaque para headers/títulos de seção no mobile */
    .section-title,
    h2.fw-bold {
        font-size: var(--font-size-3xl) !important;
        font-weight: var(--font-weight-extrabold) !important;
        line-height: var(--line-height-tight) !important;
        margin-bottom: 2rem !important;
    }
    
    /* Headers dentro de cards também com maior destaque */
    .card h5,
    .card .fw-bold {
        font-size: var(--font-size-lg) !important;
        font-weight: var(--font-weight-bold) !important;
    }
    
    /* Todos os cards no mobile com padding mínimo de 10px (esquerda e direita) */
    .card,
    .card-body,
    .card.shadow-sm,
    .card.border-0 {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Cards na página principal - garantir espaçamento consistente */
    .col-md-4 .card,
    .col-md-3 .card {
        margin-bottom: 1rem;
    }
    
    /* Container mobile - padding mínimo */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Row com gap - ajustar para mobile */
    .row.g-4 {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 1rem;
    }
    
    /* Cards de notícias - ajuste específico */
    .card.p-4 {
        padding: 1rem 10px !important;
    }
    
    /* Cards com rounded-4 - manter padding */
    .card.rounded-4 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Formulário de cadastro - mobile responsivo e confortável */
    /* Container do formulário com margem mínima de 4px */
    .col-lg-5.col-md-6 {
        padding-left: 4px !important;
        padding-right: 4px !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    /* Card de cadastro ocupando largura máxima */
    .signup-form {
        width: 100% !important;
        padding: 1.5rem 1rem !important;
        margin: 0 !important;
    }
    
    /* Inputs maiores e confortáveis para digitação mobile */
    .signup-form .form-control {
        font-size: 16px !important; /* Evita zoom no iOS */
        padding: 0.875rem 1rem !important;
        min-height: 48px !important; /* Tamanho confortável para toque */
    }
    
    /* Labels mais legíveis */
    .signup-form .form-label {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Título do formulário */
    .signup-form h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Botão de envio confortável */
    .signup-form .btn-lg {
        padding: 0.875rem 1.5rem !important;
        font-size: 1.1rem !important;
        min-height: 48px !important;
    }
    
    
    .footer-yellow .form-text {
        font-size: 0.7rem;
    }
    
    /* Action Search mobile */
    .action-search-section {
        padding: 2rem 0 1.5rem;
    }
    
    .action-search-container {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .search-input-group {
        padding: 3px;
    }
    
    .search-input {
        padding: 12px 8px;
        font-size: 0.95rem;
    }
    
    .search-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .search-suggestions {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }
    
    .suggestion-tag {
        padding: 4px 8px;
        font-size: 0.8rem;
        margin: 1px 2px;
    }
    
    /* Seções mobile - agora usa sistema responsivo automaticamente */
    
    /* Padding das seções mobile */
    .content-section {
        padding: 2rem 0;
    }
    
    /* Hero content mobile */
    .hero-content {
        padding-right: 0;
    }
}

/* Smartphones pequenos (576px e abaixo) */
@media (max-width: 576px) {
    /* Hero banner para smartphones - agora usa sistema responsivo automaticamente */
    
    /* Action Search smartphones */
    .action-search-section {
        padding: 1.5rem 0 1rem;
    }
    
    .action-search-container {
        padding: 0.8rem 0.75rem;
        margin: 0;
        border-radius: 14px;
    }
    
    .search-input-group {
        flex-direction: column;
        width: 100%;
        padding: 8px;
        border-radius: 12px;
    }
    
    .search-input {
        padding: 12px 12px;
        margin-bottom: 8px;
        border-radius: 10px;
        background: white;
        border: 1px solid #e9ecef;
        text-align: left;
        width: 100%;
    }
    
    .search-button {
        width: 100%;
        margin-left: 0;
        padding: 12px;
        border-radius: 10px;
    }
    
    .search-icon {
        display: none; /* Oculta o ícone em smartphones */
    }
    
    /* Formulário de cadastro - smartphones */
    /* Container com margem de 4px da tela */
    .col-lg-5.col-md-6 {
        padding-left: 4px !important;
        padding-right: 4px !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    /* Card ocupando máximo da largura */
    .signup-form {
        width: 100% !important;
        padding: 1.25rem 0.875rem !important;
        margin: 0 !important;
    }
    
    /* Inputs otimizados para smartphones */
    .signup-form .form-control {
        font-size: 16px !important; /* Previne zoom automático */
        padding: 0.875rem 0.875rem !important;
        min-height: 50px !important;
        border-radius: 8px !important;
    }
    
    /* Título menor em smartphones */
    .signup-form h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    /* Labels em smartphones */
    .signup-form .form-label {
        font-size: 0.9rem !important;
    }
    
    /* Botão em smartphones */
    .signup-form .btn-lg {
        min-height: 50px !important;
        font-size: 1.05rem !important;
    }
    
    /* Seções smartphones - agora usa sistema responsivo automaticamente */
}

/* ==========================================================================
   16. ANIMAÇÕES E TRANSIÇÕES
   ========================================================================== */

/* Animação de fade in para elementos */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classe para aplicar animação de fade in */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Animação de slide para elementos */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Classe para slide da esquerda */
.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* ==========================================================================
   17. UTILIDADES ADICIONAIS
   ========================================================================== */

/* Remove scroll horizontal em dispositivos mobile */
html, body {
    overflow-x: hidden;
}

/* Melhora a performance de animações */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Configuração de scroll suave */
html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   18. COMPATIBILIDADE COM HERO SECTION ANTIGO
   ========================================================================== */

/* Mantém compatibilidade com hero-section existente */
.hero-section {
    background: linear-gradient(rgba(0, 20, 39, 0.6), rgba(0, 20, 39, 0.6)), url('/placeholder.svg?height=300&width=1920&query=professional+business+meeting+hands+on+table');
    background-size: cover;
    background-position: center;
}

/* ==========================================================================
   19. CORREÇÕES DE DESIGN SYSTEM E CONSISTÊNCIA
   ========================================================================== */

/* Garantir que Call-to-Action use cores corretas */
.bg-primary-yellow h2,
.bg-primary-yellow .display-5 {
    color: var(--dark-blue) !important;
}

.bg-primary-yellow p,
.bg-primary-yellow .lead {
    color: var(--dark-blue) !important;
    opacity: 0.8;
}

/* Hero sections padronizados - tons mais escuros como no Figma */
.hero-banner {
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.85), rgba(45, 25, 20, 0.75)), url('/banner/banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Garantir que o overlay seja sempre consistente */
.hero-banner .position-absolute[style*="background"] {
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.85), rgba(45, 25, 20, 0.75)) !important;
}

/* Melhorar contraste do texto no hero - fontes maiores e mais grossas */
.hero-banner .hero-title {
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8), 1px 1px 4px rgba(0, 0, 0, 0.9);
    color: white !important;
    font-size: var(--font-size-6xl) !important;
    font-weight: var(--font-weight-extrabold) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em;
}

.hero-banner .hero-subtitle {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: var(--font-size-xl) !important;
    font-weight: var(--font-weight-medium) !important;
    line-height: 1.4 !important;
}

/* Melhorias responsivas para tipografia do hero */
@media (max-width: 768px) {
    /* Hero title - maior presença no mobile, bold, alinhado à esquerda */
    .hero-banner .hero-title,
    .hero-section .hero-title,
    .hero-banner h1,
    .hero-section h1 {
        font-size: 2.25rem !important; /* ~36px */
        font-weight: 700 !important; /* Bold */
        line-height: 1.15 !important;
        margin-bottom: 1.25rem !important;
        letter-spacing: -0.02em !important;
        text-align: left !important;
    }
    
    /* Hero subtitle - peso normal, alinhado à esquerda */
    .hero-banner .hero-subtitle,
    .hero-section .hero-subtitle,
    .hero-banner p,
    .hero-section p {
        font-size: 1.125rem !important; /* ~18px */
        font-weight: 400 !important; /* Normal */
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        text-align: left !important;
    }
    
    /* Textos gerais mais confortáveis para leitura mobile */
    body {
        font-size: 15px !important;
    }
    
    p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    
    /* Títulos de seção com mais destaque */
    h2 {
        font-size: 1.75rem !important; /* ~28px */
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }
    
    h3 {
        font-size: 1.375rem !important; /* ~22px */
        font-weight: 700 !important;
    }
    
    h4 {
        font-size: 1.125rem !important; /* ~18px */
        font-weight: 600 !important;
    }
    
    /* Lead text */
    .lead {
        font-size: 1.0625rem !important; /* ~17px */
        line-height: 1.65 !important;
    }
}

@media (min-width: 1200px) {
    .hero-banner .hero-title {
        font-size: 4rem !important;
        line-height: 1.05 !important;
    }
    
    .hero-banner .hero-subtitle {
        font-size: 1.4rem !important;
    }
}

/* Botões outline consistentes */
.btn-outline-dark {
    border-color: var(--dark-blue);
    color: var(--dark-blue);
}

.btn-outline-dark:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: white;
}

/* Pagination colors fix */
.pagination .page-link {
    color: var(--primary-red) !important;
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: #8a0505 !important;
    background-color: var(--light-gray);
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    color: white !important;
}

/* Garantir que textos escuros sejam legíveis */
.text-dark {
    color: var(--dark-blue) !important;
}

/* Override para garantir consistência em backgrounds amarelos */
.bg-primary-yellow * {
    color: var(--dark-blue) !important;
}

.bg-primary-yellow .btn {
    color: white !important; /* Exceção para botões */
}

.bg-primary-yellow .btn-outline-dark {
    color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
}

.bg-primary-yellow .btn-outline-dark:hover {
    background-color: var(--dark-blue) !important;
    color: white !important;
}

/* ==========================================================================
   FIM DO ARQUIVO CUSTOM.CSS
   ========================================================================== */
