/* ── HERO LEGAL (consistente com .faqs hero style) ── */
        .legal-hero {
            background: #1C1B20;
            color: #fff;
            padding: 64px 0 56px;
            position: relative;
            overflow: hidden;
        }
        .legal-hero::before {
            content: "";
            position: absolute;
            top: -38px; left: 0;
            width: 60%; aspect-ratio: 1162 / 376;
            background: rgba(50,239,219,0.12);
            clip-path: polygon(100% 0%, 0% 89.74%, 0% 100%, 100% 100%);
            transform: rotate(180deg);
        }
        .legal-hero .wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
        .legal-hero h1 {
            font-size: clamp(32px, 5vw, 65px);
            font-weight: 900;
            letter-spacing: -0.02em;
            margin: 0 0 12px;
        }
        .legal-hero h1 .u { color: var(--teal); margin-right: 4px; }
        .legal-hero p {
            font-size: 18px;
            color: rgba(255,255,255,0.7);
            margin: 0;
            max-width: 560px;
        }

        /* ── TABS (inspiradas no estilo dos botões do site) ── */
        .legal-tabs {
            background: #fff;
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 103px; /* abaixo da topbar */
            z-index: 50;
        }
        .legal-tabs .wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; gap: 0; overflow-x: auto; }
        .tab-btn {
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            padding: 18px 24px;
            font-family: "Futura PT", "Space Mono", sans-serif;
            font-size: 15px;
            font-weight: 700;
            color: var(--muted);
            cursor: pointer;
            transition: all 0.2s ease;
            letter-spacing: 0.01em;
            white-space: nowrap;
        }
        .tab-btn:hover { color: var(--purple); }
        .tab-btn.active {
            color: var(--purple);
            border-bottom-color: var(--purple);
        }
        @media (max-width: 640px) {
            .tab-btn { padding: 14px 12px; font-size: 13px; }
        }

        /* ── CONTEÚDO LEGAL (estilo .faqs) ── */
        .legal-body {
            background: #fff;
            padding: 56px 0 96px;
            position: relative;
        }
        .legal-body .wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

        .doc-panel { display: none; }
        .doc-panel.active { display: block; }

        /* Secções — accordion style do site */
        .legal-section {
            border-bottom: 1px solid var(--e42-color-12bab9);
            padding: 8px 0;
        }
        .legal-section:last-child { border-bottom: none; }

        .legal-section-header {
            display: flex;
            gap: 12px;
            align-items: center;
            padding: 16px 6px;
            cursor: pointer;
        }
        .legal-section-header .sign {
            flex: 0 0 20px;
            font-size: 22px;
            color: #12BAB9;
            font-weight: 700;
            line-height: 1;
            font-family: "Space Mono", monospace;
        }
        .legal-section-header h3 {
            margin: 0;
            font-size: 20px;
            font-weight: 700;
            color: #12BAB9;
            transition: color 0.2s;
        }
        .legal-section.open .legal-section-header .sign { color: var(--purple); }
        .legal-section.open .legal-section-header h3 { color: var(--purple); }

        .legal-section-body {
            display: none;
            padding: 6px 6px 20px 38px;
            color: var(--purple);
        }
        .legal-section.open .legal-section-body { display: block; }

        .legal-section-body p { margin: 0 0 12px; text-align: justify; color: #1C1B20; }
        .legal-section-body p:last-child { margin-bottom: 0; }

        .legal-section-body ul {
            padding-left: 20px;
            margin: 8px 0 12px;
        }
        .legal-section-body ul li {
            color: #1C1B20;
            margin-bottom: 6px;
            text-align: justify;
        }

        .legal-section-body .highlight {
            background: rgba(96, 0, 188, 0.05);
            border-left: 3px solid var(--purple);
            padding: 14px 18px;
            margin: 14px 0;
            border-radius: 0 6px 6px 0;
        }
        .legal-section-body .highlight p { color: #1C1B20; margin: 0; }

        .contact-block {
            margin-top: 12px;
            background: #f7f5ff;
            border-radius: 8px;
            padding: 20px 24px;
            display: grid;
            gap: 10px;
        }
        .contact-row { display: flex; gap: 16px; align-items: flex-start; }
        .contact-key {
            font-family: "Space Mono", monospace;
            font-size: 12px;
            font-weight: 700;
            color: var(--purple);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            min-width: 80px;
            padding-top: 2px;
        }
        .contact-val { font-size: 16px; color: #1C1B20; line-height: 1.5; }
        .contact-val a { color: var(--purple); text-decoration: underline; }

        .term-grid { margin: 8px 0; }
        .term-row {
            display: grid;
            grid-template-columns: 160px 1fr;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
            align-items: baseline;
        }
        .term-row:last-child { border-bottom: none; }
        .term-key { font-weight: 700; color: var(--purple); font-size: 15px; }
        .term-val { font-size: 16px; color: #1C1B20; line-height: 1.5; }
        @media (max-width: 640px) {
            .term-row { grid-template-columns: 1fr; gap: 4px; }
        }

        /* ── SECTION TITLE (style do site) ── */
        .legal-doc-title {
            font-size: clamp(28px, 4vw, 48px);
            font-weight: 900;
            letter-spacing: .02em;
            color: #6123e6;
            margin: 0 0 32px;
        }
        .legal-doc-title .u { color: #6123e6; margin-right: 8px; }

        /* ── FOOTER (idêntico ao site) ── */
        :root { --purple-deep: #4a0fc5; }
        .contactos {
            position: relative;
            background: #6000BC;
            color: #fff;
            padding: 56px 0 72px;
        }
        .contactos::after {
            content: "";
            position: absolute;
            left: -8%; top: -36px;
            width: 49%; height: 75px;
            background: #6000BC;
            pointer-events: none;
        }
        .contactos .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .contactos .grid {
            display: grid;
            grid-template-columns: 1fr auto auto;
            align-items: center;
            gap: 24px 32px;
        }
        .contactos .title { margin: 0 0 14px; font-size: clamp(28px,4vw,46px); font-weight: 900; letter-spacing: .02em; }
        .contactos .title .u { margin-right: 8px; }
        address { font-style: normal; line-height: 1.6; opacity: .95; }
        address a { color: #fff; text-decoration: underline; }
        .legal-links { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; font-size: .92rem; opacity: .8; }
        .legal-links a { color: #fff; text-decoration: none; font-weight: 600; }
        .legal-links a:hover { text-decoration: underline; }
        .social { display: flex; gap: 10px; align-items: center; justify-content: flex-start; }
        .ico {
            display: grid; place-items: center;
            width: 40px; height: 40px; border-radius: 50%;
            background: transparent; border: none; text-decoration: none;
            transition: .2s;
        }
        .ico:hover { transform: translateY(-2px); }
        .ico i { font-size: 30px; color: #fff; transition: color 0.2s ease, transform 0.2s ease; }
        .ico:hover i { transform: scale(1.1); }
        .btn.ghost {
            display: inline-block; padding: 10px 16px;
            border: 2px solid rgba(255,255,255,.9); border-radius: 8px;
            font-weight: 900; letter-spacing: .04em;
            color: #fff; background: transparent; text-transform: uppercase;
        }
        .right { display: flex; justify-content: flex-end; }
        @media (max-width: 900px) {
            .contactos .grid { grid-template-columns: 1fr; text-align: left; }
            .right { justify-content: flex-start; }
            .social { justify-content: flex-start; }
        }

        /* Scrollbar sutil */
        /* ::-webkit-scrollbar { width: 5px; }
        ::-webkit-scrollbar-track { background: #f5f5f5; }
        ::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; } */