/* ===== NAV-DROPDOWN (inline — not in global CSS) ===== */
        .nav-dropdown{ position: relative; }
        .nav-dropdown-toggle{
            background: none; border: none;
            font-family: 'Source Sans 3', sans-serif;
            font-size: 1rem; font-weight: 600;
            color: rgba(255,255,255,0.9);
            cursor: pointer; display: inline-flex;
            align-items: center; gap: 5px; padding: 0;
            white-space: nowrap; text-transform: uppercase;
            letter-spacing: 0.05em; position: relative;
        }
        .nav-dropdown-toggle::after{
            content:''; position:absolute; width:0; height:2px;
            bottom:-4px; left:0; background-color:var(--secondary);
            transition:width .3s;
        }
        .nav-dropdown-toggle:hover::after{ width:100%; }
        .nav-dropdown-toggle:hover{ color:#fff; }
        .dropdown-chevron{ transition:transform .25s ease; display:inline-flex; }
        .nav-dropdown.open .dropdown-chevron{ transform:rotate(180deg); }

        .nav-dropdown-menu{
            position:absolute; top:calc(100% + 14px); right:0;
            min-width:270px; background:#fff;
            border:1px solid #E7E5E4; border-radius:12px;
            box-shadow:0 20px 50px rgba(0,0,0,0.15);
            padding:10px 0; opacity:0; visibility:hidden;
            transform:translateY(8px);
            transition:opacity .22s ease,transform .22s ease,visibility .22s;
            z-index:9000;
        }
        .nav-dropdown.open .nav-dropdown-menu{
            opacity:1; visibility:visible; transform:translateY(0);
        }
        [data-theme="dark"] .nav-dropdown-menu{
            background:#1C1917; border-color:#44403C;
            box-shadow:0 20px 50px rgba(0,0,0,0.45);
        }
        .dropdown-section-title{
            display:block; padding:10px 20px 6px;
            font-size:0.72rem; font-weight:800;
            text-transform:uppercase; letter-spacing:.08em; color:#57534E;
        }
        [data-theme="dark"] .dropdown-section-title{ color:#A8A29E; }
        .dropdown-item{
            display:flex; align-items:center; gap:12px;
            padding:10px 20px; font-size:0.95rem; color:#1C1917;
            text-decoration:none; transition:background .15s ease,color .15s ease;
            white-space:nowrap;
        }
        [data-theme="dark"] .dropdown-item{ color:#F5F5F4; }
        .dropdown-item:hover,.dropdown-item:focus-visible{
            background:rgba(10,77,104,0.07); color:#0A4D68;
        }
        [data-theme="dark"] .dropdown-item:hover,
        [data-theme="dark"] .dropdown-item:focus-visible{
            background:rgba(56,189,248,0.10); color:#38BDF8;
        }
        .dropdown-item i{ flex-shrink:0; color:#0A4D68; opacity:.7; }
        [data-theme="dark"] .dropdown-item i{ color:#38BDF8; }

        @media (max-width:900px){
            .nav-dropdown-menu{
                position:static; box-shadow:none; border:none;
                border-radius:0; background:transparent !important;
                padding:6px 0 0 0; opacity:1; visibility:visible;
                transform:none; max-height:0; overflow:hidden;
                transition:max-height .3s ease;
            }
            .nav-dropdown.open .nav-dropdown-menu{ max-height:500px; }
            .dropdown-section-title{ color:rgba(255,255,255,0.5); padding:6px 8px 4px; }
            .dropdown-item{ color:rgba(255,255,255,0.9); padding:6px 8px; font-size:0.88rem; }
            .dropdown-item:hover,.dropdown-item:focus-visible{
                background:rgba(255,255,255,0.08); color:#fff;
            }
            .dropdown-item i{ color:rgba(255,255,255,0.6); }
        }

        /* ===== COOKIE BANNER ===== */
        .cookie-banner {
            position: fixed; bottom: 20px; left: 50%;
            transform: translateX(-50%) translateY(150%);
            width: 90%; max-width: 1200px;
            background-color: var(--bg-card, #ffffff);
            color: var(--text-main, #1c1917);
            padding: 20px 24px; border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            border: 1px solid var(--border-subtle, #e2e8f0);
            z-index: 10000; display: flex; flex-wrap: wrap;
            align-items: center; justify-content: space-between; gap: 20px;
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }
        .cookie-banner.show { transform: translateX(-50%) translateY(0); }
        .cookie-content { flex: 1; min-width: 300px; }
        .cookie-title {
            font-weight: 800; font-size: 1rem; margin-bottom: 6px;
            display: flex; align-items: center; gap: 8px;
        }
        .cookie-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
        .cookie-text a { color: var(--primary); text-decoration: underline; font-weight: 600; }
        .cookie-actions { display: flex; gap: 12px; }
        .btn-cookie-accept {
            background-color: #0A4D68; color: #fff; border: none;
            padding: 10px 24px; border-radius: 999px;
            font-weight: 700; font-size: 0.9rem; cursor: pointer;
            transition: background 0.2s; white-space: nowrap;
        }
        .btn-cookie-accept:hover { background-color: #06384d; }
        .btn-cookie-close {
            background: transparent; border: 2px solid var(--border-subtle);
            color: var(--text-muted); padding: 10px 20px; border-radius: 999px;
            font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
        }
        .btn-cookie-close:hover { border-color: var(--text-muted); color: var(--text-main); }
        @media (max-width: 768px) {
            .cookie-banner {
                bottom: 0; left: 0; width: 100%;
                border-radius: 16px 16px 0 0;
                transform: translateY(100%);
                border-left: none; border-right: none; border-bottom: none;
            }
            .cookie-banner.show { transform: translateY(0); }
            .cookie-actions { width: 100%; flex-direction: column-reverse; }
            .btn-cookie-accept, .btn-cookie-close { width: 100%; text-align: center; }
        }

        /* ===== GLOSSARY PAGE STYLES ===== */
        .page-header {
            padding: 56px 0 10px;
            text-align: center;
            background-color: var(--bg-body);
        }
        .page-header h1 {
            font-family: 'Playfair Display', serif;
            font-weight: 800;
            color: var(--primary);
            font-size: 3.25rem;
            letter-spacing: -0.03em;
            margin-bottom: 14px;
        }
        .page-header p {
            font-size: 1.15rem;
            color: var(--text-muted);
            max-width: 820px;
            margin: 0 auto;
        }

        .trust-row {
            max-width: 980px;
            margin: 26px auto 0;
            display: flex;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
            padding: 0 24px;
        }
        .trust-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid var(--border-subtle);
            background: var(--bg-card);
            color: var(--text-muted);
            padding: 10px 12px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.9rem;
        }
        .trust-pill strong { color: var(--primary); }

        /* Alphabet navigation bar */
        .alpha-bar {
            position: sticky;
            top: var(--header-height);
            z-index: 900;
            background-color: var(--bg-body);
            border-bottom: 1px solid var(--border-subtle);
            padding: 12px 0;
            transition: background-color 0.3s;
        }
        .alpha-bar .container {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .alpha-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 8px;
            font-weight: 800;
            font-size: 0.9rem;
            color: var(--text-main);
            border: 1px solid var(--border-subtle);
            background: var(--bg-card);
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
        }
        .alpha-link:hover {
            background-color: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
        }
        .alpha-link.disabled {
            opacity: 0.3;
            pointer-events: none;
            cursor: default;
        }

        /* Glossary content */
        .glossary-section {
            padding: 28px 0 100px;
        }

        .letter-group {
            margin-bottom: 48px;
        }

        .letter-heading {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 24px;
            padding-top: 20px;
        }
        .letter-circle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background-color: var(--accent);
            color: #fff;
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
            flex-shrink: 0;
        }
        .letter-heading h2 {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            color: var(--text-main);
            letter-spacing: -0.02em;
            border-bottom: 2px solid var(--border-subtle);
            padding-bottom: 8px;
            flex-grow: 1;
        }

        .terms-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 20px;
        }

        .term-card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-subtle);
            border-radius: 14px;
            padding: 24px;
            transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
        }
        .term-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.08);
            border-color: rgba(10, 77, 104, 0.4);
        }

        .term-card h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 10px;
            letter-spacing: -0.02em;
        }

        .term-card p {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.65;
            margin-bottom: 14px;
        }

        .term-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--accent);
            transition: color 0.2s, gap 0.2s;
        }
        .term-link:hover {
            color: var(--primary);
            gap: 10px;
        }

        /* Back to top (floating) */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            border: none;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 16px rgba(0,0,0,0.2);
            z-index: 800;
            transition: opacity 0.3s, transform 0.3s;
        }
        .back-to-top.visible {
            display: flex;
        }
        .back-to-top:hover {
            transform: translateY(-3px);
        }

        /* Footer (inline — matches artigos.html) */
        footer {
            background-color: #1C1917;
            color: #A8A29E;
            padding: 80px 0 0;
            font-size: 0.95rem;
            border-top: 4px solid var(--accent);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 50px;
            padding-bottom: 60px;
        }
        footer h4 {
            color: #fff;
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            margin-bottom: 25px;
            letter-spacing: 0.05em;
            position: relative;
        }
        footer h4::after {
            content: '';
            display: block;
            width: 30px;
            height: 2px;
            background-color: var(--accent);
            margin-top: 10px;
        }
        footer ul li { margin-bottom: 12px; }
        footer ul li a {
            color: #A8A29E;
            transition: 0.2s;
            display: inline-block;
        }
        footer ul li a:hover { color: #fff; transform: translateX(5px); }

        .social-row {
            display: flex;
            gap: 10px;
            margin-top: 16px;
        }
        .social-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.15);
            color: #E7E5E4;
            background: rgba(255,255,255,0.04);
        }
        .social-btn:hover { background: rgba(255,255,255,0.10); transform: translateY(-1px); }

        .footer-bottom {
            border-top: 1px solid #333;
            padding: 30px 0;
            text-align: center;
            font-size: 0.85rem;
            background-color: #151312;
        }

        /* Responsive */
        @media (max-width: 820px) {
            .page-header h1 { font-size: 2.4rem; }
            .terms-grid { grid-template-columns: 1fr; }
            .alpha-link { width: 34px; height: 34px; font-size: 0.8rem; }
        }
