/**
 * Paleta GDC e header para ferramentas
 * Navy: #1E2535 | Laranja: #F76B1C | Branco: #FFFFFF
 */
:root {
    --gdc-navy: #1E2535;
    --gdc-navy-light: #283348;
    --gdc-orange: #F76B1C;
    --gdc-orange-soft: #FF8C2B;
    --gdc-white: #FFFFFF;
    --gdc-text: #FFFFFF;
    --gdc-text-muted: rgba(255, 255, 255, 0.85);
}

/* Header GDC */
.gdc-header {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    min-height: 72px;
    background: var(--gdc-navy);
    color: var(--gdc-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gdc-header .gdc-logo {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--gdc-white);
}

.gdc-header .gdc-logo::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 4px;
    margin-left: 6px;
    background: var(--gdc-orange);
    vertical-align: middle;
}

.gdc-header .gdc-logo:has(.gdc-logo-img)::after {
    display: none;
}

.gdc-header .gdc-logo-img {
    display: block;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.gdc-header .gdc-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 1rem;
    flex: 1;
}

.gdc-header .gdc-nav a {
    color: var(--gdc-text-muted);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: color 0.2s, background 0.2s;
}

.gdc-header .gdc-nav a:hover {
    color: var(--gdc-white);
    background: rgba(255, 255, 255, 0.08);
}

.gdc-header .gdc-nav a.active {
    color: var(--gdc-orange);
    font-weight: 600;
}

.gdc-header .gdc-dropdown {
    position: relative;
    display: inline-block;
}
.gdc-header .gdc-dropdown .dropdown-menu {
    background: var(--gdc-navy);
    border: 1px solid var(--gdc-navy-light);
    border-radius: 6px;
    padding: 0.25rem 0;
    margin-top: 0.25rem;
}
.gdc-header .gdc-dropdown .dropdown-item {
    color: var(--gdc-text-muted);
    padding: 0.5rem 1rem;
}
.gdc-header .gdc-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gdc-white);
}
.gdc-header .gdc-dropdown .dropdown-item:focus {
    background: rgba(247, 107, 28, 0.2);
    color: var(--gdc-orange);
}

.gdc-header .gdc-atendimento {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--gdc-orange);
    color: var(--gdc-white);
    min-height: 72px;
}

.gdc-header .gdc-atendimento-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.gdc-header .gdc-atendimento-text {
    line-height: 1.25;
}

.gdc-header .gdc-atendimento-text small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.95;
}

.gdc-header .gdc-atendimento-text strong {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

/* Corpo das páginas com paleta */
body.gdc-theme {
    background: #f0f2f5;
    color: #1a1a1a;
}

.gdc-theme .gdc-main {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.gdc-theme .card {
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.gdc-theme .btn-primary {
    background: var(--gdc-orange);
    border-color: var(--gdc-orange);
}

.gdc-theme .btn-primary:hover {
    background: var(--gdc-orange-soft);
    border-color: var(--gdc-orange-soft);
}

.gdc-theme .text-primary,
.gdc-theme .navbar-brand.text-primary {
    color: var(--gdc-orange) !important;
}

.gdc-theme .border-primary {
    border-color: var(--gdc-orange) !important;
}

/* Home: cards das ferramentas */
.gdc-tool-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
}

.gdc-tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 107, 28, 0.2);
    color: inherit;
}

.gdc-tool-card .card-header {
    background: var(--gdc-navy);
    color: var(--gdc-white);
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
}

.gdc-tool-card .card-header .badge {
    background: var(--gdc-orange);
    font-size: 0.7rem;
}

.gdc-tool-card .card-body {
    padding: 1.25rem;
}

@media (max-width: 768px) {
    .gdc-header .gdc-atendimento {
        width: 100%;
        justify-content: center;
    }
    .gdc-header .gdc-nav {
        width: 100%;
        padding: 0.5rem 1rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
