
:root {
    --brand-primary: var(--partner-brand-primary, #7e319c);
    --brand-dark: var(--partner-brand-dark, #5a1e7a);
    --brand-light: var(--partner-brand-light, #9d4edd);
    --brand-lighter: var(--partner-brand-lighter, #c77dff);
    --brand-lightest: var(--partner-brand-lightest, #e0aaff);
    --white: var(--partner-section-surface, #ffffff);
    --gray-50: var(--partner-section-soft, #f9fafb);
    --gray-100: var(--partner-section-muted, #f3f4f6);
    --gray-200: var(--partner-section-border-soft, #e5e7eb);
    --gray-300: var(--partner-section-border, #d1d5db);
    --gray-400: var(--partner-section-text-secondary, #9ca3af);
    --gray-500: var(--partner-section-text-secondary, #6b7280);
    --gray-600: var(--partner-section-text-secondary, #4b5563);
    --gray-700: var(--partner-section-text-primary, #374151);
    --gray-800: var(--partner-section-title-strong, #1f2937);
    --gray-900: var(--partner-section-title-strong, #111827);
    --section-border: var(--partner-section-border, rgba(126, 49, 156, 0.3));
    --section-divider: var(--partner-section-divider, var(--brand-lightest));
    --section-fill-soft: var(--partner-section-fill-soft, rgba(126, 49, 156, 0.02));
    --section-fill-strong: var(--partner-section-fill-strong, rgba(126, 49, 156, 0.05));
    --section-chip-bg: var(--partner-section-chip-bg, var(--brand-lightest));
    --section-chip-text: var(--partner-section-chip-text, var(--brand-dark));
    --section-chip-border: var(--partner-section-chip-border, rgba(126, 49, 156, 0.18));
    --section-shadow: var(--partner-section-shadow, 0 4px 20px rgba(126, 49, 156, 0.08));
    --section-shadow-hover: var(--partner-section-shadow-hover, 0 8px 30px rgba(126, 49, 156, 0.15));
    --section-item-surface: var(--partner-section-item-surface, #ffffff);
    --section-item-hover-surface: var(--partner-section-item-hover-surface, rgba(126, 49, 156, 0.02));
    --section-item-shadow: var(--partner-section-item-shadow, 0 2px 8px rgba(126, 49, 156, 0.1));
}

.region-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    min-height: 100vh;
}

.detail-section {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--section-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--section-border);
}

.detail-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--section-shadow-hover);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--partner-section-title, var(--brand-dark));
    border-bottom: 2px solid var(--section-divider);
    padding-bottom: 12px;
}

.section-title .icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px color-mix(in srgb, var(--brand-primary) 26%, transparent));
}

.section-expand-corner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--brand-primary);
    color: rgba(255, 255, 255, 1);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--section-chip-border);
    z-index: 3;
    pointer-events: none;
}

.section-expand-corner.hidden {
    display: none;
}

.section-content {
    position: relative;
    transition: max-height 260ms ease, background-color 260ms ease;
}

.section-content.section-content-collapsed {
  max-height: 43px;
  overflow: hidden;
  cursor: pointer;
}

.section-content.section-content-collapsed * {
    pointer-events: none;
}

/* FADE */
.section-content.section-content-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35px;

    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-soft) 100%);
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 1)
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 1)
    );

  pointer-events: none;
}

/* Seção de Comércios */
.commerce-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-soft) 100%);
}

.commerce-section .section-title {
    color: var(--brand-primary);
}

.stat-highlight {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    border-radius: 12px;
    color: var(--white);
    box-shadow: var(--section-item-shadow);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.commerce-list {
    display: grid;
    gap: 8px;
}

.commerce-item {
    background: var(--section-item-surface);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.commerce-item-selected {
    border: 1px solid var(--brand-lightest);
}

.commerce-item:hover {
    background: var(--section-item-hover-surface);
    transform: translateX(4px);
    border-color: var(--brand-primary);
    box-shadow: var(--section-item-shadow);
}

.commerce-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-transform: capitalize;
    color: var(--gray-800);
}

.commerce-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.commerce-stats2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-600);
}

@media (max-width: 480px) {
    .commerce-name {
        margin-bottom: 5px;
    }

    .commerce-stats2 {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }
}

.quantity {
    background: var(--section-chip-bg);
    color: var(--section-chip-text);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid var(--section-chip-border);
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--brand-primary);
    font-weight: 600;
}

.more-info {
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background: var(--section-fill-strong);
    border-radius: 8px;
    font-style: italic;
    color: var(--partner-section-title, var(--brand-dark));
    border: 1px solid var(--section-chip-border);
}

/* Seção de Vida Noturna */
.nightlife-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-soft) 100%);
}

.nightlife-section .section-title {
    color: var(--brand-light);
}

.nightlife-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.nightlife-item {
    text-align: center;
    padding: 24px;
    background: var(--section-item-surface);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.nightlife-item:hover {
    background: var(--section-item-hover-surface);
    transform: scale(1.05);
    border-color: var(--brand-light);
    box-shadow: var(--section-item-shadow);
}

.nightlife-distance {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nightlife-estimate {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    display: inline-block;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nightlife-low {
    background: linear-gradient(135deg, #bd80d7 0%, #cb69f5 100%);
    color: #ffffff;
}

.nightlife-moderate {
    background: linear-gradient(135deg, var(--brand-lighter) 0%, var(--brand-light) 100%);
    color: #ffffff;
}

.nightlife-high {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    color: #ffffff;
}

.nightlife-very-high {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #3c1053 100%);
    color: #ffffff;
}

.nightlife-low,
.nightlife-moderate,
.nightlife-high,
.nightlife-very-high {
    text-shadow: 0 1px 2px rgba(25, 10, 41, 0.32);
}

.nightlife-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-style: italic;
}

/* Seção de Inclinação */
.inclination-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-soft) 100%);
}

.inclination-section .section-title {
    color: var(--brand-lighter);
}

.inclination-display {
    text-align: center;
    padding: 24px;
}

.inclination-value {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.inclination-level {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    color: var(--white);
}

.level-flat { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.level-gentle { background: linear-gradient(135deg, var(--brand-lighter) 0%, var(--brand-light) 100%); }
.level-moderate { background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%); }
.level-steep { background: linear-gradient(135deg, var(--brand-dark) 0%, #3c1053 100%); }

.inclination-description {
    font-size: 1rem;
    color: var(--gray-600);
    font-style: italic;
}

/* Seção de Movimento */
.movement-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-soft) 100%);
}

.movement-section .section-title {
    color: var(--brand-primary);
}

.streets-list {
    display: grid;
    gap: 8px;
}

.street-item {
    background: var(--section-item-surface);
    border-radius: 10px;
    padding: 18px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.street-item:hover {
    background: var(--section-item-hover-surface);
    transform: translateY(-2px);
    border-color: var(--brand-primary);
    box-shadow: var(--section-item-shadow);
}

.street-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.street-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.distance {
    background: var(--section-chip-bg);
    color: var(--section-chip-text);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--section-chip-border);
}

:root[data-theme="dark"] {
    --white: var(--surface-background);
    --gray-50: var(--surface-elevated);
    --gray-100: var(--surface-muted);
    --gray-200: color-mix(in srgb, var(--border-color) 82%, var(--surface-elevated) 18%);
    --gray-300: var(--border-color);
    --gray-400: color-mix(in srgb, var(--text-secondary) 82%, var(--surface-elevated) 18%);
    --gray-500: var(--text-secondary);
    --gray-600: var(--text-secondary);
    --gray-700: color-mix(in srgb, var(--text-primary) 78%, var(--text-secondary) 22%);
    --gray-800: var(--text-primary);
    --gray-900: var(--text-primary);
}

:root[data-theme="dark"] .region-details-container {
    background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface-background) 100%);
    color: var(--text-primary);
}

:root[data-theme="dark"] .detail-section,
:root[data-theme="dark"] .commerce-item,
:root[data-theme="dark"] .nightlife-item,
:root[data-theme="dark"] .street-item {
    background: var(--surface-background);
    border-color: color-mix(in srgb, var(--primary-color) 26%, var(--border-color) 74%);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--surface-overlay-strong) 38%, transparent);
}

:root[data-theme="dark"] .section-content.section-content-collapsed::after {
    background: linear-gradient(135deg, var(--surface-background) 0%, color-mix(in srgb, var(--primary-color) 10%, var(--surface-background)) 100%);
}

:root[data-theme="dark"] .commerce-section,
:root[data-theme="dark"] .nightlife-section,
:root[data-theme="dark"] .inclination-section,
:root[data-theme="dark"] .movement-section {
    background: linear-gradient(135deg, var(--surface-background) 0%, color-mix(in srgb, var(--primary-color) 8%, var(--surface-elevated)) 100%);
}

:root[data-theme="dark"] .commerce-item:hover,
:root[data-theme="dark"] .nightlife-item:hover,
:root[data-theme="dark"] .street-item:hover {
    background: color-mix(in srgb, var(--primary-color) 8%, var(--surface-background));
    box-shadow: 0 8px 26px color-mix(in srgb, var(--surface-overlay-strong) 44%, transparent);
}

:root[data-theme="dark"] .section-title,
:root[data-theme="dark"] .commerce-name,
:root[data-theme="dark"] .street-name,
:root[data-theme="dark"] .more-info,
:root[data-theme="dark"] .inclination-description,
:root[data-theme="dark"] .nightlife-description,
:root[data-theme="dark"] .nightlife-distance,
:root[data-theme="dark"] .commerce-stats,
:root[data-theme="dark"] .commerce-stats2,
:root[data-theme="dark"] .street-details,
:root[data-theme="dark"] .street-details span,
:root[data-theme="dark"] .street-details p,
:root[data-theme="dark"] .street-item p,
:root[data-theme="dark"] .detail-section p,
:root[data-theme="dark"] .detail-section li,
:root[data-theme="dark"] .detail-section span {
    color: var(--text-primary);
}

:root[data-theme="dark"] .commerce-stats,
:root[data-theme="dark"] .commerce-stats2,
:root[data-theme="dark"] .nightlife-description,
:root[data-theme="dark"] .nightlife-distance,
:root[data-theme="dark"] .inclination-description,
:root[data-theme="dark"] .street-item p,
:root[data-theme="dark"] .detail-section .muted,
:root[data-theme="dark"] .detail-section small {
    color: var(--text-secondary);
}

:root[data-theme="dark"] .quantity,
:root[data-theme="dark"] .distance,
:root[data-theme="dark"] .more-info {
    background: color-mix(in srgb, var(--primary-color) 18%, var(--surface-muted));
    color: var(--text-primary);
    border-color: color-mix(in srgb, var(--primary-color) 28%, var(--border-color));
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --white: var(--surface-background);
        --gray-50: var(--surface-elevated);
        --gray-100: var(--surface-muted);
        --gray-200: color-mix(in srgb, var(--border-color) 82%, var(--surface-elevated) 18%);
        --gray-300: var(--border-color);
        --gray-400: color-mix(in srgb, var(--text-secondary) 82%, var(--surface-elevated) 18%);
        --gray-500: var(--text-secondary);
        --gray-600: var(--text-secondary);
        --gray-700: color-mix(in srgb, var(--text-primary) 78%, var(--text-secondary) 22%);
        --gray-800: var(--text-primary);
        --gray-900: var(--text-primary);
    }

    :root:not([data-theme="light"]) .region-details-container {
        background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface-background) 100%);
        color: var(--text-primary);
    }

    :root:not([data-theme="light"]) .detail-section,
    :root:not([data-theme="light"]) .commerce-item,
    :root:not([data-theme="light"]) .nightlife-item,
    :root:not([data-theme="light"]) .street-item {
        background: var(--surface-background);
        border-color: color-mix(in srgb, var(--primary-color) 26%, var(--border-color) 74%);
        box-shadow: 0 6px 20px color-mix(in srgb, var(--surface-overlay-strong) 38%, transparent);
    }

    :root:not([data-theme="light"]) .section-content.section-content-collapsed::after {
        background: linear-gradient(135deg, var(--surface-background) 0%, color-mix(in srgb, var(--primary-color) 10%, var(--surface-background)) 100%);
    }

    :root:not([data-theme="light"]) .commerce-section,
    :root:not([data-theme="light"]) .nightlife-section,
    :root:not([data-theme="light"]) .inclination-section,
    :root:not([data-theme="light"]) .movement-section {
        background: linear-gradient(135deg, var(--surface-background) 0%, color-mix(in srgb, var(--primary-color) 8%, var(--surface-elevated)) 100%);
    }

    :root:not([data-theme="light"]) .commerce-item:hover,
    :root:not([data-theme="light"]) .nightlife-item:hover,
    :root:not([data-theme="light"]) .street-item:hover {
        background: color-mix(in srgb, var(--primary-color) 8%, var(--surface-background));
        box-shadow: 0 8px 26px color-mix(in srgb, var(--surface-overlay-strong) 44%, transparent);
    }

    :root:not([data-theme="light"]) .section-title,
    :root:not([data-theme="light"]) .commerce-name,
    :root:not([data-theme="light"]) .street-name,
    :root:not([data-theme="light"]) .more-info,
    :root:not([data-theme="light"]) .inclination-description,
    :root:not([data-theme="light"]) .nightlife-description,
    :root:not([data-theme="light"]) .nightlife-distance,
    :root:not([data-theme="light"]) .commerce-stats,
    :root:not([data-theme="light"]) .commerce-stats2,
    :root:not([data-theme="light"]) .street-details,
    :root:not([data-theme="light"]) .street-details span,
    :root:not([data-theme="light"]) .street-details p,
    :root:not([data-theme="light"]) .street-item p,
    :root:not([data-theme="light"]) .detail-section p,
    :root:not([data-theme="light"]) .detail-section li,
    :root:not([data-theme="light"]) .detail-section span {
        color: var(--text-primary);
    }

    :root:not([data-theme="light"]) .commerce-stats,
    :root:not([data-theme="light"]) .commerce-stats2,
    :root:not([data-theme="light"]) .nightlife-description,
    :root:not([data-theme="light"]) .nightlife-distance,
    :root:not([data-theme="light"]) .inclination-description,
    :root:not([data-theme="light"]) .street-item p,
    :root:not([data-theme="light"]) .detail-section .muted,
    :root:not([data-theme="light"]) .detail-section small {
        color: var(--text-secondary);
    }

    :root:not([data-theme="light"]) .quantity,
    :root:not([data-theme="light"]) .distance,
    :root:not([data-theme="light"]) .more-info {
        background: color-mix(in srgb, var(--primary-color) 18%, var(--surface-muted));
        color: var(--text-primary);
        border-color: color-mix(in srgb, var(--primary-color) 28%, var(--border-color));
    }
}

.movement-level {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fcf8ff;
    text-shadow: 0 1px 2px rgba(25, 10, 41, 0.28);
}

.movement-low { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.movement-medium {
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand-light) 88%, #6b21a8 12%) 0%, var(--brand-primary) 100%);
    color: #fdfaff;
}

.movement-high {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    color: #ffffff;
}

.street-transport {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--section-chip-text);
    background-color: var(--section-chip-bg);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--section-chip-border);
}

/* Seção de Estações */
.stations-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-soft) 100%);
}

.stations-section .section-title {
    color: var(--brand-light);
}

.stations-list {
    display: grid;
    gap: 8px;
}

.station-item {
    background: var(--section-item-surface);
    border-radius: 10px;
    padding: 18px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.station-item:hover {
    background: var(--section-item-hover-surface);
    transform: translateY(-2px);
    border-color: var(--brand-light);
    box-shadow: var(--section-item-shadow);
}

.station-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.station-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gray-800);
}

.station-distance {
    background: var(--section-chip-bg);
    color: var(--section-chip-text);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--section-chip-border);
}

.station-line {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
    display: inline-block;
}

/* Cores das linhas do metrô/trem - mantendo as originais */
.line-blue { background: #0455a1; }
.line-green { background: #007e5e; }
.line-red { background: #ee372f; }
.line-yellow { background: #fed100; color: #000; }
.line-purple { background: var(--brand-primary); }
.line-orange { background: #f68b1f; }
.line-ruby { background: var(--brand-dark); }
.line-diamond { background: #97a098; }
.line-emerald { background: #01a9a7; }
.line-turquoise { background: #049fc3; }
.line-coral { background: #f04e98; }
.line-sapphire { background: #133c8d; }
.line-jade { background: #00b04f; }
.line-default { background: var(--gray-500); }

.station-location {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-style: italic;
}

/* Seção de Opiniões */
.opinions-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-soft) 100%);
}

.opinions-section .section-title {
    color: var(--brand-lighter);
}

.opinions-container {
    display: grid;
    gap: 20px;
}

.opinion-group {
    background: var(--section-item-surface);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.opinion-group:hover {
    background: var(--section-item-hover-surface);
    transform: translateY(-2px);
    border-color: var(--brand-lighter);
    box-shadow: var(--section-item-shadow);
}

.opinion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--section-divider);
}

.opinion-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-dark);
    text-transform: capitalize;
}

.opinion-count {
    background: linear-gradient(135deg, var(--brand-lighter) 0%, var(--brand-light) 100%);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--section-item-shadow);
}

.opinions-list {
    display: grid;
    gap: 12px;
}

.opinion-item {
    background: var(--section-fill-soft);
    border-radius: 8px;
    padding: 14px;
    /* border-left: 3px solid var(--brand-primary); */
    transition: all 0.3s ease;
}

.opinion-item:hover {
    background: var(--section-fill-strong);
    transform: translateX(4px);
}

.opinion-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin-bottom: 8px;
    font-style: italic;
}

.opinion-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: right;
}

.more-opinions {
    text-align: center;
    margin-top: 12px;
    padding: 8px;
    background: var(--section-fill-strong);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--partner-section-title, var(--brand-dark));
    font-style: italic;
    border: 1px solid var(--section-chip-border);
}

.opinions-info {
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, var(--section-fill-soft) 0%, var(--section-fill-strong) 100%);
    border-radius: 8px;
    font-weight: 600;
    color: var(--partner-section-title, var(--brand-dark));
    border: 1px solid var(--section-chip-border);
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
    font-style: italic;
    font-size: 1.1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .region-details-container {
        padding: 16px;
    }
    
    .detail-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .nightlife-grid {
        grid-template-columns: 1fr;
    }
    
    .inclination-value {
        font-size: 3rem;
    }
    
    .street-details, .station-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .region-details-container {
        padding: 12px;
    }
    
    .detail-section {
        padding: 16px;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 1.2rem;
        gap: 8px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .inclination-value {
        font-size: 2.5rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-section {
    animation: fadeInUp 0.6s ease-out;
}

.detail-section:nth-child(2) { animation-delay: 0.1s; }
.detail-section:nth-child(3) { animation-delay: 0.2s; }
.detail-section:nth-child(4) { animation-delay: 0.3s; }
.detail-section:nth-child(5) { animation-delay: 0.4s; }
.detail-section:nth-child(6) { animation-delay: 0.5s; }
.detail-section:nth-child(7) { animation-delay: 0.6s; }



/* Estilos para Announce Container - Consistência com a Marca */
.announce-container {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    /* box-shadow: 0 2px 8px rgba(126, 49, 156, 0.08); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--section-border);
    /* border-left: 4px solid var(--brand-primary); */
    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-soft) 100%);
}

.announce-container:hover {
    transform: translateY(-2px);
    box-shadow: var(--section-shadow-hover);
}

.announce-container h2 {
    color: var(--partner-section-title, var(--brand-dark));
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--section-divider);
    padding-bottom: 12px;
}

.announce-container h2::before {
    content: "🏠";
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px color-mix(in srgb, var(--brand-primary) 26%, transparent));
}

/* Estilos para a tabela de características */
.checkbox-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.checkbox-table tr {
    transition: all 0.3s ease;
}

.checkbox-table tr:hover {
    background: var(--section-fill-soft);
    border-radius: 8px;
}

.checkbox-table td {
    padding: 4px 4px;
    vertical-align: middle;
    position: relative;
}

.checkbox-table td:first-child {
    border-radius: 8px 0 0 8px;
}

.checkbox-table td:last-child {
    border-radius: 0 8px 8px 0;
}

/* Estilos para os ícones */
.checkbox-table i {
    color: var(--brand-primary);
    font-size: 1.1rem;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.checkbox-table tr:hover i {
    color: var(--brand-dark);
    transform: scale(1.1);
}

/* Estilos para os labels */
.checkbox-table label {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: 5px;
}

.checkbox-table tr:hover label {
    color: var(--brand-dark);
}

/* Estilos para os checkboxes customizados */
.custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--brand-lightest);
    border-radius: 4px;
    background: var(--white);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.custom-checkbox:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.custom-checkbox:checked {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    border-color: var(--brand-primary);
}

.custom-checkbox:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.custom-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-checkbox:disabled:hover {
    border-color: var(--brand-lightest);
    box-shadow: none;
}

/* Estilos para checkboxes marcados quando desabilitados */
.custom-checkbox:disabled:checked {
    background: linear-gradient(135deg, var(--brand-lighter) 0%, var(--brand-light) 100%);
    border-color: var(--brand-lighter);
}

/* Animação de entrada */
.announce-container {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsividade para announce-container */
@media (max-width: 768px) {
    .announce-container {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .announce-container h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .announce-container {
        padding: 16px;
        border-radius: 12px;
    }
    
    .announce-container h2 {
        font-size: 1.2rem;
        gap: 8px;
    }
}

/* Efeito especial para o container quando todos os checkboxes estão marcados */
.announce-container.all-checked {
    border-left-color: var(--brand-dark);
    background: linear-gradient(135deg, var(--white) 0%, var(--section-fill-strong) 100%);
}

.announce-container.all-checked h2 {
    color: var(--brand-primary);
}

:root[data-theme="dark"] .announce-container {
    background: linear-gradient(135deg, var(--surface-elevated) 0%, color-mix(in srgb, var(--surface-background) 80%, #000 20%) 100%);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px color-mix(in srgb, #000 35%, transparent);
}

:root[data-theme="dark"] .announce-container:hover {
    box-shadow: 0 6px 14px color-mix(in srgb, #000 45%, transparent);
}

:root[data-theme="dark"] .section-title {
    color: var(--text-primary);
    border-bottom-color: var(--border-color);
}

:root[data-theme="dark"] .section-title-text,
:root[data-theme="dark"] .section-icon,
:root[data-theme="dark"] .section-title i {
    color: var(--text-primary);
}

:root[data-theme="dark"] .section-content {
    background: color-mix(in srgb, var(--surface-background) 88%, #000 12%);
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
    border-radius: 12px;
    padding: 8px;
}

:root[data-theme="dark"] .section-content.section-content-collapsed::after {
    background: linear-gradient(135deg, transparent 0%, color-mix(in srgb, var(--surface-background) 92%, #000 8%) 100%);
}

:root[data-theme="dark"] .commerce-item,
:root[data-theme="dark"] .nightlife-item,
:root[data-theme="dark"] .street-item,
:root[data-theme="dark"] .station-item,
:root[data-theme="dark"] .opinion-group,
:root[data-theme="dark"] .price-modality-block {
    background: var(--surface-elevated);
    border-color: var(--border-color);
}

:root[data-theme="dark"] .commerce-item:hover,
:root[data-theme="dark"] .nightlife-item:hover,
:root[data-theme="dark"] .street-item:hover,
:root[data-theme="dark"] .station-item:hover,
:root[data-theme="dark"] .opinion-group:hover {
    background: var(--surface-hover);
    border-color: var(--primary-color);
}

:root[data-theme="dark"] .commerce-name,
:root[data-theme="dark"] .street-name,
:root[data-theme="dark"] .station-name,
:root[data-theme="dark"] .opinion-title,
:root[data-theme="dark"] .inclination-value {
    color: var(--text-primary);
}

:root[data-theme="dark"] .commerce-stats,
:root[data-theme="dark"] .commerce-stats2,
:root[data-theme="dark"] .rating,
:root[data-theme="dark"] .nightlife-description,
:root[data-theme="dark"] .station-location,
:root[data-theme="dark"] .opinion-text,
:root[data-theme="dark"] .opinion-date,
:root[data-theme="dark"] .no-data,
:root[data-theme="dark"] .distance,
:root[data-theme="dark"] .station-distance {
    color: var(--text-secondary);
}

:root[data-theme="dark"] .rating {
    color: #f3d38a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .station-distance {
    background: color-mix(in srgb, var(--primary-color) 16%, var(--surface-muted));
    color: color-mix(in srgb, var(--text-primary) 90%, var(--text-secondary) 10%);
    border: 1px solid color-mix(in srgb, var(--primary-color) 20%, var(--border-color));
}

:root[data-theme="dark"] .inclination-value {
    background: linear-gradient(135deg, #f1d7ff 0%, #c9a5ff 48%, #a876f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

:root[data-theme="dark"] .inclination-level {
    box-shadow: 0 6px 18px color-mix(in srgb, var(--surface-overlay-strong) 26%, transparent);
}

:root[data-theme="dark"] .level-flat {
    background: linear-gradient(135deg, #2ca87a 0%, #1f7a59 100%);
    color: #f6fffb;
}

:root[data-theme="dark"] .level-gentle {
    background: linear-gradient(135deg, #a571ef 0%, #8755d7 100%);
    color: #fcf9ff;
}

:root[data-theme="dark"] .level-moderate {
    background: linear-gradient(135deg, #8c52e3 0%, #6e39bf 100%);
    color: #fffaff;
}

:root[data-theme="dark"] .level-steep {
    background: linear-gradient(135deg, #7840cf 0%, #51207f 100%);
    color: #fffaff;
}

:root[data-theme="dark"] .inclination-description {
    color: color-mix(in srgb, var(--text-primary) 74%, var(--text-secondary) 26%);
}

:root[data-theme="dark"] .checkbox-table tr:hover {
    background: color-mix(in srgb, var(--surface-hover) 85%, transparent);
}

:root[data-theme="dark"] .checkbox-table label,
:root[data-theme="dark"] .checkbox-table td,
:root[data-theme="dark"] .checkbox-table span {
    color: var(--text-primary);
}

:root[data-theme="dark"] .checkbox-table i {
    color: var(--primary-color);
}

:root[data-theme="dark"] .custom-checkbox {
    background: var(--surface-background);
    border-color: var(--border-color);
}

:root[data-theme="dark"] .custom-checkbox:checked {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--partner-brand-dark, #5a1e7a) 100%);
    border-color: var(--primary-color);
}

:root[data-theme="dark"] .announce-container h2 {
    color: var(--text-primary);
    border-bottom-color: var(--border-color);
}

:root[data-theme="dark"] .more-info,
:root[data-theme="dark"] .more-opinions,
:root[data-theme="dark"] .opinions-info,
:root[data-theme="dark"] .opinion-item {
    background: color-mix(in srgb, var(--surface-background) 92%, #000 8%);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .announce-container {
        background: linear-gradient(135deg, var(--surface-elevated) 0%, color-mix(in srgb, var(--surface-background) 80%, #000 20%) 100%);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 10px color-mix(in srgb, #000 35%, transparent);
    }

    :root:not([data-theme="light"]) .announce-container:hover {
        box-shadow: 0 6px 14px color-mix(in srgb, #000 45%, transparent);
    }

    :root:not([data-theme="light"]) .section-title {
        color: var(--text-primary);
        border-bottom-color: var(--border-color);
    }

    :root:not([data-theme="light"]) .section-title-text,
    :root:not([data-theme="light"]) .section-icon,
    :root:not([data-theme="light"]) .section-title i {
        color: var(--text-primary);
    }

    :root:not([data-theme="light"]) .section-content {
        background: color-mix(in srgb, var(--surface-background) 88%, #000 12%);
        border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
        border-radius: 12px;
        padding: 8px;
    }

    :root:not([data-theme="light"]) .section-content.section-content-collapsed::after {
        background: linear-gradient(135deg, transparent 0%, color-mix(in srgb, var(--surface-background) 92%, #000 8%) 100%);
    }

    :root:not([data-theme="light"]) .commerce-item,
    :root:not([data-theme="light"]) .nightlife-item,
    :root:not([data-theme="light"]) .street-item,
    :root:not([data-theme="light"]) .station-item,
    :root:not([data-theme="light"]) .opinion-group,
    :root:not([data-theme="light"]) .price-modality-block {
        background: var(--surface-elevated);
        border-color: var(--border-color);
    }

    :root:not([data-theme="light"]) .commerce-item:hover,
    :root:not([data-theme="light"]) .nightlife-item:hover,
    :root:not([data-theme="light"]) .street-item:hover,
    :root:not([data-theme="light"]) .station-item:hover,
    :root:not([data-theme="light"]) .opinion-group:hover {
        background: var(--surface-hover);
        border-color: var(--primary-color);
    }

    :root:not([data-theme="light"]) .commerce-name,
    :root:not([data-theme="light"]) .street-name,
    :root:not([data-theme="light"]) .station-name,
    :root:not([data-theme="light"]) .opinion-title,
    :root:not([data-theme="light"]) .inclination-value {
        color: var(--text-primary);
    }

    :root:not([data-theme="light"]) .commerce-stats,
    :root:not([data-theme="light"]) .commerce-stats2,
    :root:not([data-theme="light"]) .rating,
    :root:not([data-theme="light"]) .nightlife-description,
    :root:not([data-theme="light"]) .station-location,
    :root:not([data-theme="light"]) .opinion-text,
    :root:not([data-theme="light"]) .opinion-date,
    :root:not([data-theme="light"]) .no-data,
    :root:not([data-theme="light"]) .distance,
    :root:not([data-theme="light"]) .station-distance {
        color: var(--text-secondary);
    }

    :root:not([data-theme="light"]) .rating {
        color: var(--stars-color, var(--primary-color));
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
    }

    :root:not([data-theme="light"]) .station-distance {
        background: color-mix(in srgb, var(--primary-color) 16%, var(--surface-muted));
        color: color-mix(in srgb, var(--text-primary) 90%, var(--text-secondary) 10%);
        border: 1px solid color-mix(in srgb, var(--primary-color) 20%, var(--border-color));
    }

    :root:not([data-theme="light"]) .inclination-value {
        background: linear-gradient(135deg, var(--partner-brand-lightest, #f1d7ff) 0%, var(--partner-brand-lighter, #c9a5ff) 48%, var(--partner-brand-light, #a876f2) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: none;
    }

    :root:not([data-theme="light"]) .inclination-level {
        box-shadow: 0 6px 18px color-mix(in srgb, var(--surface-overlay-strong) 26%, transparent);
    }

    :root:not([data-theme="light"]) .level-flat {
        background: linear-gradient(135deg, #2ca87a 0%, #1f7a59 100%);
        color: #f6fffb;
    }

    :root:not([data-theme="light"]) .level-gentle {
        background: linear-gradient(135deg, #a571ef 0%, #8755d7 100%);
        color: #fcf9ff;
    }

    :root:not([data-theme="light"]) .level-moderate {
        background: linear-gradient(135deg, #8c52e3 0%, #6e39bf 100%);
        color: #fffaff;
    }

    :root:not([data-theme="light"]) .level-steep {
        background: linear-gradient(135deg, #7840cf 0%, #51207f 100%);
        color: #fffaff;
    }

    :root:not([data-theme="light"]) .inclination-description {
        color: color-mix(in srgb, var(--text-primary) 74%, var(--text-secondary) 26%);
    }

    :root:not([data-theme="light"]) .checkbox-table tr:hover {
        background: color-mix(in srgb, var(--surface-hover) 85%, transparent);
    }

    :root:not([data-theme="light"]) .checkbox-table label,
    :root:not([data-theme="light"]) .checkbox-table td,
    :root:not([data-theme="light"]) .checkbox-table span {
        color: var(--text-primary);
    }

    :root:not([data-theme="light"]) .checkbox-table i {
        color: var(--primary-color);
    }

    :root:not([data-theme="light"]) .custom-checkbox {
        background: var(--surface-background);
        border-color: var(--border-color);
    }

    :root:not([data-theme="light"]) .custom-checkbox:checked {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--partner-brand-dark, #5a1e7a) 100%);
        border-color: var(--primary-color);
    }

    :root:not([data-theme="light"]) .announce-container h2 {
        color: var(--text-primary);
        border-bottom-color: var(--border-color);
    }

    :root:not([data-theme="light"]) .more-info,
    :root:not([data-theme="light"]) .more-opinions,
    :root:not([data-theme="light"]) .opinions-info,
    :root:not([data-theme="light"]) .opinion-item {
        background: color-mix(in srgb, var(--surface-background) 92%, #000 8%);
        border-color: var(--border-color);
        color: var(--text-secondary);
    }
}