/* =========================================
   FOOTER COMPLETO - Design Elegante Área Saúde
   Fundo Azul #1A3E74, Design Suave e Profissional
   ========================================= */
/* =========================================
   VARIÁVEIS CSS
   ========================================= */
:root {
    --footer-bg: #1A3E74;
    --footer-bg-gradient: linear-gradient(180deg, #1A3E74 0%, #0f2744 50%, #0a1d32 100%);
    --footer-text: #ffffff;
    --footer-text-muted: rgba(255, 255, 255, 0.75);
    --footer-text-heading: #ffffff;
    --footer-accent: #00bcd4;
    --footer-divider: rgba(255, 255, 255, 0.15);
    --cookie-primary: #1A3E74;
    --cookie-white: #ffffff;
    --font-nunito: 'Nunito Sans', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

/* =========================================
   TIPOGRAFIA DO FOOTER - Preservar estilo próprio
   ========================================= */
#footer,
#footer .footer-content,
#footer .footer-section,
#footer p,
#footer li,
#footer a {
    font-family: var(--font-inter), sans-serif;
}

#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6 {
    font-family: var(--font-inter), sans-serif;
}

/* =========================================
   FOOTER PRINCIPAL - Design Elegante
   ========================================= */
#footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    background: var(--footer-bg-gradient);
    color: var(--footer-text);
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    min-height: 320px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 20 L50 20 L38 30 L43 45 L30 35 L17 45 L22 30 L10 20 L25 20 Z' fill='none' stroke='rgba(255,255,255,0.015)' stroke-width='0.5'/%3E%3C/svg%3E");
    pointer-events: none;
}

#footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--footer-accent), var(--footer-bg), transparent);
    opacity: 0.6;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}
/* Linha divisória suave */
.footer-logo-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 20%, 
        rgba(255, 255, 255, 0.15) 80%, 
        transparent 100%
    );
    margin: 1.25rem 0;
}
/* =========================================
   LAYOUT DO FOOTER - Elegante e Profissional
   ========================================= */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2.5rem 0;
}
/* =========================================
   LOGOTIPO PRINCIPAL DO FOOTER
   ========================================= */
.footer-header {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 0.75rem;
    align-items: flex-start;
}
.footer-main-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    /* Remover fundo - deixar transparente */
    background: transparent;
    border: none;
}
.footer-main-logo:hover {
    transform: scale(1.05);
}
.footer-main-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 15%,
        rgba(255, 255, 255, 0.4) 85%,
        transparent 100%
    );
    margin-top: 0.75rem;
    margin-bottom: 2rem;
}
.footer-bottom-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 15%, 
        rgba(255, 255, 255, 0.2) 85%, 
        transparent 100%
    );
    margin: 2rem 0;
}
/* =========================================
   TODAS SEÇÕES COM MESMA LARGURA - Design Elegante
   ========================================= */
.footer-section {
    min-width: 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-section:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.footer-section h3 {
    font-family: var(--font-inter), sans-serif;
    color: var(--footer-text-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 188, 212, 0.4);
    position: relative;
    letter-spacing: 0.02em;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 15%, 
        rgba(255, 255, 255, 0.2) 85%, 
        transparent 100%
    );
}
/* =========================================
   REDES SOCIAIS - Animações Elegantes
   ========================================= */
.social-links-container {
    margin-top: 1.25rem;
    margin-left: -20px;
    margin-right: 60px;
}
.social-links-label {
    font-family: var(--font-inter), sans-serif;
    font-size: 0.75rem;
    color: var(--footer-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    font-weight: 600;
}
.social-links {
    display: flex;
    gap: 0.75rem;
}
.social-links a {
    width: 48px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-links a:hover {
    background: rgba(0, 188, 212, 0.25);
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
    border-color: var(--footer-accent);
}
.social-links .fab {
    color: #ffffff;
    font-size: 1.2rem;
    transition: transform 0.4s ease;
}
.social-links a:hover .fab {
    transform: rotate(360deg) scale(1.15);
}
/* =========================================
   LINKS COM ANIMAÇÃO DE TRAÇO - Elegante
   ========================================= */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.35rem;
}
.footer-links a {
    font-family: var(--font-inter), sans-serif;
    color: var(--footer-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0;
    position: relative;
}
/* Animação de hover com traço */
.footer-links a:hover {
    color: #ffffff;
    padding-left: 8px;
}
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0.35rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 188, 212, 0.5);
}
}
.footer-links a:hover::after {
    width: 100%;
}
/* =========================================
   BANNER DE COOKIES - NOVO DESIGN
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    color: #1A3E74;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.2);
    z-index: 10050;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid #1A3E74;
}
.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}
.cookie-banner.hidden {
    display: none;
}
/* Ícone de cookie no canto esquerdo */
.cookie-banner-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1A3E74 0%, #0f2744 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 62, 116, 0.3);
}
.cookie-banner-icon .fas {
    color: #ffffff;
    font-size: 1.5rem;
}
/* Container do banner */
.cookie-banner-container {
    display: flex;
    align-items: center;
    padding-left: 70px;
    max-width: 1400px;
    margin: 0 auto;
}
.cookie-content {
    flex: 1;
}
.cookie-content p {
    margin: 0;
    font-size: 0.938rem;
    line-height: 1.7;
    color: #1A3E74;
    margin-bottom: 1rem;
}
/* Ações dos botões */
.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
/* Links do banner */
.cookie-banner-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.cookie-link-text {
    color: #1A3E74;
    font-size: 0.813rem;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}
.cookie-link-text:hover {
    color: #0f2744;
    text-decoration: underline;
}
.cookie-links-separator {
    color: rgba(26, 62, 116, 0.4);
    font-size: 0.75rem;
}
/* Botões mesma largura */
.cookie-btn {
    width: 150px;
    height: 44px;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.cookie-btn-primary {
    background: #1A3E74;
    color: #ffffff;
    border-color: #1A3E74;
}
.cookie-btn-primary:hover {
    background: #0f2744;
    border-color: #0f2744;
}
.cookie-btn-secondary {
    background: transparent;
    color: #1A3E74;
    border-color: #1A3E74;
}
.cookie-btn-secondary:hover {
    background: rgba(26, 62, 116, 0.08);
}
.cookie-btn-tertiary {
    background: #f0f4f8;
    color: #1A3E74;
    border-color: #e0e5eb;
}
.cookie-btn-tertiary:hover {
    background: #e4e9f0;
    border-color: #c5cdd8;
}
/* =========================================
   OVERLAY ESCURO
   ========================================= */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 39, 68, 0.85);
    z-index: 10055;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.cookie-overlay.visible {
    opacity: 1;
    visibility: visible;
}
/* =========================================
   MODAL DE PREFERÊNCIAS - ESTILO LINDO
   ========================================= */
.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    z-index: 10056;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 25px 60px rgba(26, 62, 116, 0.3);
    display: flex;
    flex-direction: column;
}
.cookie-modal.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
/* Header azul lindão */
.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #1A3E74;
    color: #ffffff;
}
.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
}
/* =========================================
   BOTÕES DE FECHAR PADRONIZADOS
   ========================================= */
.btn-close-white {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.btn-close-white:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.btn-close-white:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}
/* Botão fechar */
.cookie-modal-close {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.cookie-modal-close:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}
/* Corpo do modal */
.cookie-modal-body {
    padding: 2rem;
    color: #1A3E74;
    max-height: calc(85vh - 160px);
    overflow-y: auto;
    background: #ffffff;
    flex: 1;
}
/* =========================================
   CATEGORIAS - ACCORDION FUNCIONAL
   ========================================= */
.cookie-category {
    border: 2px solid #c5cdd8;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
}
.cookie-category:hover {
    border-color: #1A3E74;
    box-shadow: 0 4px 12px rgba(26, 62, 116, 0.15);
}
.cookie-category.active {
    border-color: #1A3E74;
    box-shadow: 0 4px 12px rgba(26, 62, 116, 0.2);
}
.cookie-category-desc {
    font-size: 0.875rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}
/* Categoria Ativa (Tecnicamente Necessário) */
.cookie-category-active {
    border: 2px solid #1A3E74;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #1A3E74 0%, #0f2744 100%);
    box-shadow: 0 4px 12px rgba(26, 62, 116, 0.3);
}
.cookie-category-active .cookie-category-header {
    background: linear-gradient(135deg, #1A3E74 0%, #0f2744 100%);
}
.cookie-category-active .cookie-category-header h4 {
    color: #ffffff;
    font-weight: 700;
}
.cookie-category-active .cookie-category-header:hover {
    background: linear-gradient(135deg, #0f2744 0%, #0a1a2e 100%);
}
.cookie-category-active .cookie-category-desc {
    color: rgba(255, 255, 255, 0.9);
}
.cookie-category-active .cookie-category-actions {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.chevron-white {
    color: #ffffff;
}
/* Status Ativo */
.cookie-switch-status-active {
    background: rgba(255, 255, 255, 0.95);
    color: #1A3E74;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
/* Ações da categoria (switch + botão info) */
.cookie-category-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    justify-content: flex-end;
    flex-shrink: 0;
}
/* Necessary category - específico para posicionamento do status Ativo e botão info */
.cookie-category-active .cookie-category-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    justify-content: flex-end;
}
/* Switch toggle */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #c5cdd8;
    transition: 0.3s ease;
    border-radius: 24px;
    border: 2px solid #a0aab8;
}
.cookie-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 2px;
    background-color: #ffffff;
    transition: 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.cookie-switch input:checked + .cookie-slider {
    background-color: #1A3E74;
    border-color: #1A3E74;
}
.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(20px);
    background-color: #ffffff;
}
.cookie-switch input:focus + .cookie-slider {
    box-shadow: 0 0 0 3px rgba(26, 62, 116, 0.2);
}
/* Botão info */
.cookie-info-btn {
    background: #ffffff;
    border: 2px solid #1A3E74;
    color: #1A3E74;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(26, 62, 116, 0.15);
    flex-shrink: 0;
}
.cookie-info-btn:hover {
    background: #1A3E74;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 62, 116, 0.3);
}
.cookie-info-btn:focus {
    outline: 3px solid rgba(26, 62, 116, 0.4);
    outline-offset: 2px;
}
/* =========================================
   DESCRIÇÃO EXPANDÍVEL
   ========================================= */
.cookie-category-description {
    display: none;
    overflow: hidden;
    transition: display 0.3s ease, opacity 0.3s ease;
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e8ecf4;
}
.cookie-category.active .cookie-category-description,
.cookie-category-active .cookie-category-description {
    display: block;
}
.cookie-category-description p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4a5568;
}
.cookie-service-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}
.cookie-service-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A3E74;
    margin: 0;
}
/* Lista de serviços */
.cookie-services-list {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border-top: 1px solid #e8ecf4;
}
.cookie-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}
/* =========================================
   MODAL DE DETALHES DE COOKIES
   ========================================= */
.cookie-detail-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    z-index: 10057;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 25px 60px rgba(26, 62, 116, 0.3);
    overflow: hidden;
}
.cookie-detail-modal.hidden {
    display: none;
}
.cookie-detail-modal.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.cookie-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #1A3E74;
    color: #ffffff;
    gap: 1rem;
}
.cookie-detail-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
}
.cookie-detail-header h4 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}
.cookie-detail-body {
    padding: 1.5rem;
    color: #1A3E74;
    max-height: calc(85vh - 100px);
    overflow-y: auto;
    background: #ffffff;
}
.cookie-detail-content {
    font-size: 0.9rem;
    line-height: 1.8;
}
.cookie-detail-content p {
    margin: 0 0 1rem 0;
    color: #4a5568;
}
.cookie-detail-content strong {
    color: #1A3E74;
}
.cookie-detail-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A3E74;
    margin: 1.5rem 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cookie-detail-content h5:first-of-type {
    margin-top: 0;
}
.cookie-detail-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e8ecf4;
    background: #f8fafc;
    display: flex;
    justify-content: flex-start;
}
.cookie-detail-footer .cookie-detail-back {
    min-width: 100px;
    height: 40px;
}
/* =========================================
   FOOTER DO MODAL
   ========================================= */
.cookie-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e8ecf4;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.cookie-modal-footer .cookie-btn {
    width: 150px;
    height: 48px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(26, 62, 116, 0.2);
    transition: all 0.2s ease;
}
.cookie-modal-footer .cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 62, 116, 0.3);
}
.cookie-modal-footer .cookie-btn:focus {
    outline: 3px solid rgba(26, 62, 116, 0.4);
    outline-offset: 2px;
}
/* =========================================
   BOTÕES FLUTUANTES
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 1rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1A3E74;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(26, 62, 116, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10040;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #0f2744;
    transform: translateY(-5px);
}
/* Posicionamento do botão quando banner de cookies está ativo */
.back-to-top.cookie-banner-active {
    bottom: calc(var(--cookie-banner-total-height, 100px) + 25px);
}
/* FAB de Cookies */
.cookie-fab {
    position: fixed;
    bottom: 90px;
    right: 1rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1A3E74;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(26, 62, 116, 0.4);
    transition: all 0.3s ease;
    z-index: 10045;
}
.cookie-fab.visible {
    display: flex;
}
.cookie-fab:hover {
    background: #0f2744;
    transform: translateY(-5px);
}
/* FAB oculto quando banner ativo */
.cookie-fab.cookie-banner-active {
    display: none !important;
}
/* =========================================
   TOAST
   ========================================= */
.toast-notification {
    position: fixed;
    bottom: 130px;
    right: 1.5rem;
    background: #1A3E74;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10060;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}
.toast-notification.visible {
    transform: translateX(0);
}
/* =========================================
   SCROLLBAR
   ========================================= */
.cookie-modal-body::-webkit-scrollbar,
.cookie-detail-body::-webkit-scrollbar {
    width: 8px;
}
.cookie-modal-body::-webkit-scrollbar-track,
.cookie-detail-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.cookie-modal-body::-webkit-scrollbar-thumb,
.cookie-detail-body::-webkit-scrollbar-thumb {
    background: #c1c9d6;
    border-radius: 4px;
}
.cookie-modal-body::-webkit-scrollbar-thumb:hover,
.cookie-detail-body::-webkit-scrollbar-thumb:hover {
    background: #a0aab8;
}
/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .footer-section:last-child {
        grid-column: 1 / -1;
    }
    .social-links-container {
        margin-left: 0;
        margin-top: 1rem;
    }
    /* Banner de Cookies - Tablet */
    .cookie-banner {
        padding: 1.25rem 1.5rem;
    }
    .cookie-banner-icon {
        width: 45px;
        height: 45px;
        left: 1rem;
    }
    .cookie-banner-icon .fas {
        font-size: 1.25rem;
    }
    .cookie-banner-container {
        padding-left: 65px;
    }
    .cookie-content p {
        font-size: 0.875rem;
    }
    .cookie-banner-actions {
        gap: 0.5rem;
    }
    .cookie-btn {
        min-width: 120px;
        height: 40px;
        padding: 0 1rem;
        font-size: 0.813rem;
    }
}
@media (max-width: 768px) {
    .footer-header {
        justify-content: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-section:last-child {
        grid-column: auto;
    }
    /* Todas as seções alinhadas à esquerda */
    .footer-section {
        text-align: left;
    }
    .footer-section h3 {
        text-align: left;
    }
    .footer-links {
        text-align: left;
    }
    .footer-links li {
        text-align: left;
    }
    .footer-links a {
        justify-content: flex-start;
    }
    .footer-tagline {
        text-align: left;
    }
    .footer-seals {
        justify-content: flex-start;
    }
    /* Redes sociais alinhadas à esquerda */
    .social-links-container {
        margin-left: 0;
        margin-top: 1rem;
        text-align: left;
        justify-content: flex-start;
    }
    .social-links {
        justify-content: flex-start;
    }
    /* Footer bottom alinhado à esquerda */
    .footer-bottom {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
    .footer-copyright {
        width: 100%;
        text-align: left;
    }
    .footer-legal-links {
        width: 100%;
        justify-content: flex-start;
    }
    .social-links-container {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.5rem;
        margin-left: 0;
    }
    /* Banner de Cookies - Mobile */
    .cookie-banner {
        padding: 1rem;
    }
    .cookie-banner-icon {
        position: relative;
        width: 40px;
        height: 40px;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 0.75rem;
    }
    .cookie-banner-container {
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-content p {
        font-size: 0.813rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    .cookie-btn {
        width: 100%;
        min-width: auto;
        height: 42px;
    }
    .cookie-banner-links {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    .cookie-link-text {
        font-size: 0.75rem;
    }
    .back-to-top,
    .cookie-fab {
        width: 48px;
        height: 48px;
    }
    .cookie-modal {
        width: 95%;
        max-height: 80vh;
    }
    .cookie-modal-header,
    .cookie-detail-header {
        padding: 1.25rem 1.5rem;
    }
    .cookie-modal-body {
        padding: 1.5rem;
    }
}
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-section {
        text-align: left;
    }
    .footer-section h3 {
        text-align: left;
    }
    .footer-links {
        text-align: left;
    }
    .footer-links a {
        justify-content: flex-start;
    }
    .footer-tagline {
        text-align: left;
    }
    .footer-seals {
        justify-content: flex-start;
    }
    /* Footer bottom alinhado à esquerda */
    .footer-bottom {
        text-align: left;
        align-items: flex-start;
    }
    .footer-legal-links {
        justify-content: flex-start;
    }
    .social-links-container {
        justify-content: flex-start;
    }
    .social-links {
        justify-content: flex-start;
    }
    .cookie-btn {
        min-width: auto;
        padding: 0 1rem;
        font-size: 0.85rem;
        height: 44px;
    }
    .back-to-top {
        bottom: 20px;
        right: 1rem;
    }
    .cookie-fab {
        bottom: 80px;
        right: 1rem;
    }
}
/* =========================================
   FOOTER TAGLINE
   ========================================= */
.footer-tagline {
    color: var(--footer-text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
/* =========================================
   SELOS DO FOOTER
   ========================================= */
.footer-seals {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}
.footer-seal {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    transition: all 0.3s ease;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-seal:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
/* =========================================
   FOOTER BOTTOM
   ========================================= */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-copyright {
    flex: 1;
    min-width: 200px;
}
.footer-copyright p {
    margin: 0 0 0.75rem 0;
    color: var(--footer-text-muted);
    font-size: 0.813rem;
}
.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-legal-links a {
    color: var(--footer-text-muted);
    font-size: 0.813rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-legal-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
.footer-legal-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}
.footer-legal-links a:hover::after {
    width: 60%;
}
.footer-legal-links .fas {
    font-size: 0.875rem;
}
/* =========================================
   LINKS DOS MODAIS DE DETALHES
   ========================================= */
.cookie-detail-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8ecf4;
    flex-wrap: wrap;
}
.cookie-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #1A3E74;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.625rem 1rem;
    background: #f0f4f8;
    border-radius: 8px;
    border: 1px solid #c5cdd8;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    white-space: nowrap;
}
.cookie-link:hover {
    background: #1A3E74;
    color: #ffffff;
    border-color: #1A3E74;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 62, 116, 0.25);
}
.cookie-link:focus {
    outline: 3px solid rgba(26, 62, 116, 0.4);
    outline-offset: 2px;
}
.cookie-link .fas {
    font-size: 0.813rem;
    transition: transform 0.2s ease;
}
.cookie-link:hover .fas {
    transform: translateX(2px);
}
@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .cookie-modal,
    .cookie-detail-modal,
    .back-to-top,
    .cookie-fab,
    .cookie-category-description,
    .footer-links a {
        transition: none;
    }
}
/* Responsive adjustments for cookie detail links */
@media (max-width: 480px) {
    .cookie-detail-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    .cookie-link {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
}
.cookie-banner:focus-visible,
.cookie-modal:focus-visible,
.cookie-detail-modal:focus-visible,
.back-to-top:focus-visible,
.cookie-fab:focus-visible,
.cookie-btn:focus-visible {
    outline: 3px solid rgba(26, 62, 116, 0.5);
    outline-offset: 2px;
}
