/* =============================================================================
   LEGAL PAGES - Premium Design
   ============================================================================= */

/* Scroll padding para compensar header fixo */
html {
    scroll-padding-top: 200px;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Hero Section */
.legal-hero {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 50px;
    background: linear-gradient(135deg, var(--gray-900) 0%, #0a1520 100%);
    overflow: hidden;
}

.legal-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(91, 138, 138, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 185, 74, 0.1) 0%, transparent 50%);
}

/* Pentagrama Fixo na Tela */
.legal-hero-pentagram {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%235b8a8a' stroke-width='0.5'%3E%3Ccircle cx='100' cy='100' r='95'/%3E%3Ccircle cx='100' cy='100' r='85'/%3E%3Cpath d='M100 5 L123.5 69 L195 69 L137 111 L156 175 L100 138 L44 175 L63 111 L5 69 L76.5 69 Z'/%3E%3Cpath d='M100 15 L120 68 L180 68 L132 105 L148 160 L100 128 L52 160 L68 105 L20 68 L80 68 Z'/%3E%3Cline x1='100' y1='5' x2='100' y2='195'/%3E%3Cline x1='5' y1='100' x2='195' y2='100'/%3E%3Cline x1='25' y1='25' x2='175' y2='175'/%3E%3Cline x1='175' y1='25' x2='25' y2='175'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.legal-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(91, 138, 138, 0.15);
    border: 1px solid rgba(91, 138, 138, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
}

.legal-hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--reiko-blue);
}

.legal-hero-badge span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--reiko-blue);
}

.legal-hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.1;
}

.legal-hero-title span {
    background: linear-gradient(135deg, var(--reiko-gold) 0%, #e8dea0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-hero-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 24px;
    line-height: 1.6;
}

.legal-hero-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.legal-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-400);
    white-space: nowrap;
}

.legal-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--reiko-gold);
}

/* Scroll Indicator */
.legal-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-500);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--reiko-blue);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

/* Content Section */
.legal-content {
    padding: 80px 24px;
    padding-top: 40px;
    background: var(--white);
}

.legal-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
}

/* Sidebar */
.legal-sidebar {
    position: relative;
}

.legal-sidebar-sticky {
    position: sticky;
    top: 120px;
}

.legal-sidebar-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 24px;
    padding-left: 16px;
}

.legal-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.legal-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.legal-nav-link:hover {
    background: var(--gray-50);
}

.legal-nav-link.active {
    background: rgba(91, 138, 138, 0.1);
    border-left-color: var(--reiko-blue);
}

.legal-nav-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    min-width: 24px;
}

.legal-nav-link.active .legal-nav-number {
    color: var(--reiko-blue);
}

.legal-nav-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.legal-nav-link.active .legal-nav-text {
    color: var(--gray-900);
}

/* Sidebar CTA */
.legal-sidebar-cta {
    padding: 24px;
    background: var(--gray-50);
    border-radius: 16px;
}

.legal-sidebar-cta p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.legal-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-sidebar-btn:hover {
    background: var(--reiko-blue);
    transform: translateY(-2px);
}

.legal-sidebar-btn svg {
    width: 18px;
    height: 18px;
}

/* Main Content */
.legal-main {
    max-width: 800px;
}

/* Anchor offset */
.legal-anchor {
    display: block;
    height: 30px;
    margin-top: -30px;
    visibility: hidden;
    pointer-events: none;
}

/* Section Styling */
.legal-section {
    margin-bottom: 80px;
    position: relative;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.legal-section-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--reiko-blue);
    background: rgba(91, 138, 138, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
}

.legal-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
}

/* Content Styling */
.legal-section-content {
    color: var(--gray-600);
    line-height: 1.8;
}

.legal-section-content p {
    margin-bottom: 20px;
}

.legal-section-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 40px 0 20px;
}

.legal-lead {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* Highlight Box */
.legal-highlight {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(91, 138, 138, 0.08);
    border-left: 4px solid var(--reiko-blue);
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
}

.legal-highlight-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--reiko-blue);
    border-radius: 10px;
}

.legal-highlight-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.legal-highlight-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
}

.legal-highlight--security {
    background: rgba(34, 197, 94, 0.08);
    border-left-color: #22c55e;
}

.legal-highlight--security .legal-highlight-icon {
    background: #22c55e;
}

/* Warning Box */
.legal-warning {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    margin: 24px 0;
}

.legal-warning svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #ef4444;
}

.legal-warning div {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
}

.legal-warning--info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.legal-warning--info svg {
    color: #3b82f6;
}

/* Card Grid */
.legal-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.legal-card {
    padding: 28px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.legal-card:hover {
    border-color: var(--reiko-blue);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.legal-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.legal-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--reiko-blue);
}

.legal-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.legal-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-card li {
    font-size: 14px;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.legal-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--reiko-blue);
    border-radius: 50%;
}

/* Table */
.legal-table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-table th {
    background: var(--gray-50);
    padding: 16px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
}

.legal-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover td {
    background: var(--gray-50);
}

/* Purposes */
.legal-purposes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.legal-purpose {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--gray-50);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.legal-purpose:hover {
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.legal-purpose-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--reiko-blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
}

.legal-purpose-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.legal-purpose-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Bases */
.legal-bases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.legal-base {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.legal-base:hover {
    border-color: var(--reiko-blue);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.legal-base-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.legal-base-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 138, 138, 0.1);
    border-radius: 10px;
}

.legal-base-icon svg {
    width: 18px;
    height: 18px;
    color: var(--reiko-blue);
}

.legal-base h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.legal-base p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-base-article {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}

/* Sharing */
.legal-sharing {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.legal-sharing-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 12px;
}

.legal-sharing-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.legal-sharing-icon.allowed {
    background: rgba(34, 197, 94, 0.15);
}

.legal-sharing-icon.allowed svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
}

.legal-sharing-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.legal-sharing-content p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

/* Never Share */
.legal-never-share {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.legal-never-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 8px;
}

.legal-never-item svg {
    width: 18px;
    height: 18px;
    color: #ef4444;
}

.legal-never-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

/* Security Grid */
.legal-security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.legal-security-item {
    padding: 28px;
    background: var(--gray-50);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.legal-security-item:hover {
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.legal-security-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 138, 138, 0.1);
    border-radius: 16px;
    margin: 0 auto 20px;
}

.legal-security-icon svg {
    width: 28px;
    height: 28px;
    color: var(--reiko-blue);
}

.legal-security-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.legal-security-item p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* Cookies */
.legal-cookies {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.legal-cookie {
    padding: 28px;
    background: var(--gray-50);
    border-radius: 16px;
}

.legal-cookie-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.legal-cookie-type {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-cookie-type.essential {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.legal-cookie-type.analytics {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.legal-cookie-type.marketing {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.legal-cookie-status {
    font-size: 12px;
    color: var(--gray-500);
}

.legal-cookie p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.legal-cookie-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legal-cookie-examples span {
    padding: 4px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
    color: var(--gray-600);
}

/* Browser Settings */
.legal-browser-settings {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.legal-browser-link {
    padding: 12px 24px;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-browser-link:hover {
    background: var(--gray-900);
    color: var(--white);
}

/* Rights */
.legal-rights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.legal-right {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.legal-right:hover {
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.legal-right-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 138, 138, 0.1);
    border-radius: 12px;
}

.legal-right-icon svg {
    width: 22px;
    height: 22px;
    color: var(--reiko-blue);
}

.legal-right-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.legal-right-content p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Exercise Rights */
.legal-exercise-rights {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a2635 100%);
    border-radius: 20px;
    color: var(--white);
}

.legal-exercise-rights h3 {
    color: var(--white);
    margin-top: 0;
}

.legal-exercise-rights p {
    color: var(--gray-300);
}

.legal-contact-options {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.legal-contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-contact-option:hover {
    background: var(--reiko-blue);
    border-color: var(--reiko-blue);
}

.legal-contact-option svg {
    width: 20px;
    height: 20px;
    color: var(--reiko-gold);
}

.legal-contact-option span {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

/* Retention Table */
.legal-retention-table {
    margin: 32px 0;
}

.legal-retention-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 12px;
}

.legal-retention-category {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.legal-retention-period {
    text-align: right;
}

.legal-retention-time {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--reiko-blue);
    margin-bottom: 4px;
}

.legal-retention-reason {
    font-size: 13px;
    color: var(--gray-500);
}

/* DPO Card */
.legal-dpo-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(91, 138, 138, 0.1) 0%, rgba(196, 185, 74, 0.05) 100%);
    border: 1px solid rgba(91, 138, 138, 0.2);
    border-radius: 20px;
    margin: 32px 0;
}

.legal-dpo-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--reiko-blue);
    border-radius: 20px;
}

.legal-dpo-avatar svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.legal-dpo-info h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.legal-dpo-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.legal-dpo-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.legal-dpo-contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-dpo-contacts a:hover {
    color: var(--reiko-blue);
}

.legal-dpo-contacts svg {
    width: 18px;
    height: 18px;
    color: var(--reiko-blue);
}

/* ANPD */
.legal-anpd {
    margin-top: 48px;
    padding: 28px;
    background: var(--gray-50);
    border-radius: 16px;
}

.legal-anpd h3 {
    margin-top: 0;
}

.legal-anpd-info {
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    margin-top: 16px;
}

.legal-anpd-info p {
    margin: 4px 0;
}

.legal-anpd-info a {
    color: var(--reiko-blue);
}

/* Version */
.legal-version {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 40px;
}

.legal-version p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

/* CTA Section */
.legal-cta {
    padding: 80px 24px;
    background: var(--gray-900);
    text-align: center;
}

.legal-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.legal-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.legal-cta p {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.legal-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.legal-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-cta-btn.primary {
    background: var(--reiko-blue);
    color: var(--white);
}

.legal-cta-btn.primary:hover {
    background: #4a7979;
    transform: translateY(-2px);
}

.legal-cta-btn.primary svg {
    width: 18px;
    height: 18px;
}

.legal-cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-700);
}

.legal-cta-btn.secondary:hover {
    border-color: var(--white);
}

/* Responsive */
@media (max-width: 1200px) {
    .legal-container {
        grid-template-columns: 240px 1fr;
        gap: 60px;
    }

    .legal-card-grid,
    .legal-bases,
    .legal-rights {
        grid-template-columns: 1fr;
    }

    .legal-security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .legal-container {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        display: none;
    }

    .legal-hero {
        min-height: 60vh;
        padding: 140px 24px 60px;
    }

    .legal-hero-title {
        font-size: clamp(32px, 5vw, 48px);
    }
}

@media (max-width: 768px) {
    .legal-hero-pentagram {
        display: none; /* Esconder pentagrama no mobile - causa overflow */
    }

    /* Fix overflow horizontal mobile */
    .legal-content {
        overflow-x: hidden;
    }

    .legal-main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .legal-section-content {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }

    .legal-section-content p,
    .legal-section-content li,
    .legal-section-content strong {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .legal-table-wrapper {
        max-width: calc(100vw - 40px);
    }

    .legal-table {
        font-size: 12px;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px 12px;
    }

    .legal-hero-meta {
        flex-direction: column;
        gap: 16px;
    }

    .legal-hero-scroll {
        display: none;
    }

    .legal-content {
        padding: 60px 20px;
    }

    .legal-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .legal-section-title {
        font-size: 24px;
    }

    .legal-security-grid {
        grid-template-columns: 1fr;
    }

    .legal-contact-options {
        flex-direction: column;
    }

    .legal-dpo-card {
        flex-direction: column;
        text-align: center;
    }

    .legal-dpo-avatar {
        margin: 0 auto;
    }

    .legal-dpo-contacts {
        justify-content: center;
    }

    .legal-version {
        flex-direction: column;
        gap: 8px;
    }

    .legal-cta-buttons {
        flex-direction: column;
    }

    .legal-retention-item {
        flex-direction: column;
        text-align: left;
        gap: 12px;
    }

    .legal-retention-period {
        text-align: left;
    }

    .legal-purpose {
        flex-direction: column;
        gap: 16px;
    }

    .legal-highlight {
        flex-direction: column;
        gap: 16px;
    }

    .legal-warning {
        flex-direction: column;
        gap: 12px;
    }

    .legal-sharing-item {
        flex-direction: column;
        gap: 16px;
    }

    .legal-right {
        flex-direction: column;
        gap: 12px;
    }

    .legal-exercise-rights {
        padding: 24px 20px;
    }

    .legal-contact-option {
        width: 100%;
        justify-content: center;
    }

    .legal-browser-settings {
        flex-direction: column;
    }

    .legal-browser-link {
        text-align: center;
    }

    .legal-never-share {
        flex-direction: column;
    }

    .legal-never-item {
        justify-content: center;
    }

    /* Cards e elementos com padding - evitar overflow */
    .legal-card,
    .legal-purpose,
    .legal-base,
    .legal-sharing-item,
    .legal-cookie,
    .legal-right,
    .legal-retention-item,
    .legal-anpd,
    .legal-anpd-info,
    .legal-exercise-rights {
        max-width: 100%;
        box-sizing: border-box;
    }

    .legal-card-grid,
    .legal-bases,
    .legal-rights,
    .legal-security-grid,
    .legal-purposes,
    .legal-sharing,
    .legal-cookies,
    .legal-retention-table {
        max-width: 100%;
    }

    .legal-highlight,
    .legal-warning {
        max-width: 100%;
        box-sizing: border-box;
    }

    .legal-dpo-card {
        max-width: 100%;
        box-sizing: border-box;
    }

    .legal-version {
        max-width: 100%;
    }
}
