/* ============================================
   DESIGN SYSTEM - Guia Empresarial
   Mobile-first, CSS Grid & Flexbox
   ============================================ */

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;

    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-muted: #9aa0a6;
    --text-white: #ffffff;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #343a40;

    --border: #dadce0;
    --border-light: #e8eaed;

    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);

    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --transition: 0.2s ease;
}

.navbar-logo {
    height: var(--logo-height, 32px);
    width: auto;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-primary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Grid */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cards */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 20px;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
}

.btn.disabled, .btn[disabled], .btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.btn-success {
    background: var(--success);
    color: var(--text-white);
    border-color: var(--success);
}

.btn-danger {
    background: var(--danger);
    color: var(--text-white);
    border-color: var(--danger);
}

.btn-warning {
    background: var(--warning);
    color: #333;
    border-color: var(--warning);
}

.btn-sm {
    padding: 6px 12px;
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: 14px 28px;
    font-size: var(--font-size-base);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-control.error {
    border-color: var(--danger);
}

.form-error {
    color: var(--danger);
    font-size: var(--font-size-xs);
    margin-top: 4px;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    appearance: auto;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: var(--font-size-sm);
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    line-height: 1.2;
}

.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-info { background: #d1ecf1; color: #0c5460; }

/* Navbar */
.navbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand img {
    height: 36px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-link {
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.navbar-link:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
}

@media (max-width: 767px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
    }

    .navbar-menu.open {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #4285f4 50%, #34a853 100%);
    color: var(--text-white);
    padding: 60px 16px;
    text-align: center;
}

.hero h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: 16px;
    color: var(--text-white);
}

.hero p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: var(--font-size-base);
    outline: none;
}

.hero-search button {
    padding: 16px 24px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background var(--transition);
}

.hero-search button:hover {
    background: var(--primary-dark);
}

@media (max-width: 767px) {
    .hero { padding: 40px 16px; }
    .hero h1 { font-size: var(--font-size-2xl); }
    .hero-search { flex-direction: column; border-radius: var(--radius); }
    .hero-search input { border-radius: var(--radius) var(--radius) 0 0; }
    .hero-search button { border-radius: 0 0 var(--radius) var(--radius); }
}

/* Page Header */
.page-header {
    background: var(--bg-primary);
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: var(--font-size-2xl);
}

.page-header .breadcrumb {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.stat-card .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stat-card .stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card .stat-change {
    font-size: var(--font-size-xs);
    margin-top: 4px;
}

.stat-card .stat-change.positive { color: var(--success); }
.stat-card .stat-change.negative { color: var(--danger); }

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--font-size-sm);
}

table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

table tr:hover td {
    background: var(--bg-secondary);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px 0;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    transition: all var(--transition);
}

.pagination a:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Sidebar/Layout Admin */
.layout-sidebar {
    display: flex;
    min-height: 100vh;
}

.sidebar-toggle, .sidebar-overlay, .mobile-topbar { display: none; }

.sidebar {
    width: 250px;
    background: var(--bg-dark);
    color: var(--text-white);
    flex-shrink: 0;
    padding: 16px 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .sidebar {
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

.sidebar-menu {
    list-style: none;
    flex: 1;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm);
    transition: all var(--transition);
    text-decoration: none;
}

.sidebar-menu li a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
}

.sidebar-menu li a.active {
    background: rgba(255,255,255,0.15);
    color: var(--text-white);
    border-right: 3px solid var(--primary);
}

.sidebar-menu .menu-header {
    padding: 20px 20px 8px;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

.main-content {
    flex: 1;
    padding: 24px;
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .sidebar {
        display: none;
    }
    .main-content {
        padding: 16px;
    }
    .mobile-topbar {
        display: flex;
    }
}

/* Announcement Cards (public) */
.anuncio-card {
    background: var(--bg-primary);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.anuncio-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.anuncio-card .card-cover {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.anuncio-card .card-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    border: 3px solid var(--bg-primary);
    background: var(--bg-primary);
    position: absolute;
    bottom: -32px;
    left: 16px;
    object-fit: cover;
}

.anuncio-card .card-info {
    padding: 40px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.anuncio-card .card-name {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 4px;
}

.anuncio-card .card-category {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.anuncio-card .card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.anuncio-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.anuncio-card .card-footer .city {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* Premium Badge */
.badge-destaque {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: var(--text-white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-verified {
    background: var(--primary);
    color: var(--text-white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    margin-left: 4px;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-size: var(--font-size-lg);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
    line-height: 1;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-secondary); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-gap { gap: 8px; }
.flex-gap-2 { gap: 16px; }

.w-100 { width: 100%; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-white);
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 20px;
    border-radius: var(--radius);
    color: var(--text-white);
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--info); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    gap: 0;
    margin-bottom: 24px;
    overflow-x: auto;
}

.tab {
    padding: 12px 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    white-space: nowrap;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--border);
    border-radius: 24px;
    transition: var(--transition);
}

.toggle .slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle input:checked + .slider {
    background: var(--primary);
}

.toggle input:checked + .slider::before {
    transform: translateX(20px);
}

/* Dropzone */
.dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-secondary);
}

.dropzone:hover,
.dropzone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.dropzone .icon {
    font-size: 40px;
    margin-bottom: 8px;
    opacity: 0.3;
}

.dropzone p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Filter pills */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pill {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    border: 1px solid var(--border);
    background: var(--bg-primary);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pill.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #e8eaed 25%, #f5f5f5 50%, #e8eaed 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Public announcement page */
.announcement-cover {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

@media (min-width: 1024px) {
    .announcement-cover { height: 320px; }
}

@media (max-width: 767px) {
    .announcement-cover { height: 160px; }
}

.announcement-cover .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
}

.announcement-header {
    background: var(--bg-primary);
    padding: 24px 0;
    position: relative;
}

.announcement-header .logo-container {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    position: relative;
    z-index: 1;
    padding-top: 0;
}

.announcement-logo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    border: 4px solid var(--bg-primary);
    background: var(--bg-primary);
    object-fit: cover;
    box-shadow: var(--shadow-md);
    margin-top: -60px;
}

@media (min-width: 1024px) {
    .announcement-logo {
        margin-top: -80px;
    }
}

.announcement-info h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: 4px;
}

.announcement-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.announcement-actions .btn {
    flex: 1;
    min-width: 140px;
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    .announcement-actions .btn {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        padding: 8px 10px;
        font-size: 12px;
        max-width: 100%;
    }
    .announcement-actions {
        gap: 6px;
        margin-top: 12px;
    }
    .announcement-info h1 {
        font-size: 18px;
        line-height: 1.3;
    }
    .announcement-info .flex-gap {
        gap: 6px;
        margin-top: 6px;
    }
}

/* Mobile responsive */
@media (max-width: 767px) {
    body { overflow-x: hidden; }
    .container { padding: 0 12px; max-width: 100%; }
    .grid { gap: 12px; }
    
    .anuncio-card .card-cover { height: 100px; }
    .anuncio-card .card-logo { width: 48px; height: 48px; bottom: -24px; left: 10px; }
    .anuncio-card .card-info { padding: 28px 10px 10px; }
    .anuncio-card .card-desc { font-size: 12px; }
    .anuncio-card .card-footer { padding: 8px 10px; flex-wrap: wrap; gap: 4px; }

    .grid-3 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    .grid-2 { grid-template-columns: 1fr; max-width: 100%; }
    .grid-4 { grid-template-columns: 1fr 1fr; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-card { padding: 12px; }
    .stat-card .stat-value { font-size: 18px; }

    .pricing-grid { grid-template-columns: 1fr; gap: 12px; }

    .hero { padding: 28px 12px; }
    .hero h1 { font-size: 20px; }
    .hero p { font-size: 13px; margin-bottom: 20px; }
    .hero-search { flex-direction: column; border-radius: 8px; }
    .hero-search input { border-radius: 8px 8px 0 0; font-size: 14px; padding: 12px 14px; }
    .hero-search button { border-radius: 0 0 8px 8px; padding: 12px; font-size: 14px; }

    .sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: 2px 0 12px rgba(0,0,0,0.2);
    }
    .sidebar.open {
        display: block;
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }
    .sidebar-overlay.open {
        display: block;
    }
    .sidebar-toggle {
        display: none;
    }
    .mobile-topbar {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: var(--bg-dark);
        color: #fff;
        position: sticky;
        top: 0;
        z-index: 1002;
    }
    .mobile-hamburger {
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        padding: 4px 8px;
        display: flex;
        align-items: center;
    }
    .mobile-title {
        font-size: 16px;
        font-weight: 600;
    }
    .main-content { padding: 12px; width: 100%; max-width: 100%; padding-bottom: 80px; }
    .layout-sidebar { flex-direction: column; min-height: auto; }

    table { font-size: 12px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table th, table td { padding: 5px 6px; white-space: nowrap; }
    .table-container { margin: 0 -4px; }

    .pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; gap: 4px; }
    .pill { white-space: nowrap; font-size: 12px; padding: 4px 10px; }

    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer { padding: 24px 0; }

    #home-map { height: 200px; }

    .pricing-card { padding: 16px 14px; }
    .pricing-card .price { font-size: 28px; }
    .pricing-card .features li { font-size: 12px; padding: 4px 0; }

    .modal { margin: 8px; max-height: 95vh; }
    .modal-body { padding: 12px; }

    .form-group { margin-bottom: 10px; }
    .row { flex-direction: column; gap: 0; }
    .row .form-group { max-width: 100% !important; }

    .card-body { padding: 12px; }
    .card-header { padding: 10px 12px; font-size: 13px; }
    h1 { font-size: 20px; }
    h2 { font-size: 16px; }

    .carousel-btn { width: 30px; height: 30px; font-size: 14px; }
    .carousel-slide { aspect-ratio: 4/3; }
    .gallery-grid img { height: 120px; }
    
    .pwa-banner { padding: 8px 12px; }
    .pwa-banner .pwa-text strong { font-size: 12px; }
    .pwa-banner .pwa-text small { font-size: 11px; }
    .pwa-banner .pwa-icon { width: 36px; height: 36px; }

    .empty-state { padding: 30px 12px; }
    .empty-state .icon { font-size: 36px; }
    
    .theme-selector { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .theme-option { padding: 8px; }
    .theme-option .preview { height: 40px; }
}

/* Schedule table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table td {
    padding: 10px 12px;
    font-size: var(--font-size-sm);
}

.schedule-wrapper {
    width: 100%;
}

@media (max-width: 767px) {
    .schedule-table {
        display: table;
        width: 100%;
    }
    .schedule-table td {
        padding: 10px 8px;
        font-size: 14px;
        white-space: normal;
        width: 50%;
    }
    .schedule-table td:first-child {
        width: 55%;
        font-weight: 600;
    }
    .schedule-table td:last-child {
        width: 45%;
        text-align: left;
    }
    .schedule-table tr.today td {
        background: var(--primary-light);
        border-radius: 6px;
    }
}

.schedule-table .today {
    background: var(--primary-light);
    font-weight: 600;
}

.schedule-table .today td {
    color: var(--primary);
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* Price cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.recommended {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,115,232,0.1);
}

.pricing-card .badge-recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 16px 0;
}

.pricing-card .price small {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card .features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.pricing-card .features li {
    padding: 8px 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card .features li .check {
    color: var(--success);
}

.pricing-card .features li .x {
    color: var(--danger);
    opacity: 0.5;
}

/* Loader */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Chip input */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 42px;
    cursor: text;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
}

.chip .remove {
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: bold;
}

.chips input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 80px;
    font-size: var(--font-size-sm);
}

/* Image upload preview */
.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.image-preview .item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.image-preview .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview .item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.6);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    margin-top: auto;
}

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

.footer h4 {
    color: var(--text-white);
    margin-bottom: 16px;
    font-size: var(--font-size-base);
}

.footer a {
    color: rgba(255,255,255,0.6);
    font-size: var(--font-size-sm);
    display: block;
    margin-bottom: 8px;
}

.footer a:hover {
    color: var(--text-white);
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: var(--font-size-sm);
}

.footer-carrossel {
    position:relative;width:100%;min-height:60px;overflow:hidden;border-radius:8px;margin-top:12px
}
.fc-slide {
    text-align:center;font-size:13px
}
.fc-slide img {
    max-width:100%;max-height:80px;object-fit:contain;border-radius:6px;margin:4px auto;display:block
}
.fc-slide a {display:inline;color:rgba(255,255,255,0.6);font-size:12px;text-decoration:none;margin:0}
.fc-slide a:hover{color:#fff}
.fc-titulo{font-size:12px;opacity:0.8;white-space:normal}

/* Video carrossel */
.video-carrossel-wrap{overflow:hidden;position:relative}
.video-carrossel-track{display:flex;gap:16px;transition:transform .4s ease}
.video-carrossel-slide{flex:0 0 100%;min-width:0}
.video-carrossel-btn{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,0.6);color:#fff;border:none;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}
.video-carrossel-btn:hover{background:rgba(0,0,0,0.8)}
.video-carrossel-prev{left:8px}
.video-carrossel-next{right:8px}

@media(min-width:768px){
    .video-carrossel-slide{flex:0 0 50%;max-width:50%}
}

/* Responsive helper */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .hide-desktop { display: none !important; }
}

/* ============================================
   CAROUSEL (Gallery)
   ============================================ */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
}

.carousel-inner {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    color: #333;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2;
}

.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.carousel-dot.active { background: var(--primary); }

/* ============================================
   THEMES / COLOR SCHEMES
   ============================================ */
.theme-default {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --bg-card: #ffffff;
    --bg-section: #f8f9fa;
    --text-on-primary: #ffffff;
}

.theme-dark {
    --primary: #6c5ce7;
    --primary-dark: #5541d9;
    --primary-light: #2d2b55;
    --bg-card: #1e1e2e;
    --bg-section: #16162a;
    --text-on-primary: #ffffff;
    --bg-primary: #1a1a2e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0b0;
    --border: #2d2d44;
    --border-light: #252540;
}

.theme-nature {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #e8f8f0;
    --bg-card: #ffffff;
    --bg-section: #f0faf4;
    --text-on-primary: #ffffff;
}

.theme-modern {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #fdedec;
    --bg-card: #ffffff;
    --bg-section: #fafafa;
    --text-on-primary: #ffffff;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

.theme-ocean {
    --primary: #0984e3;
    --primary-dark: #0765b3;
    --primary-light: #e3f0fc;
    --bg-card: #ffffff;
    --bg-section: #f0f7ff;
    --text-on-primary: #ffffff;
}

/* Theme preview cards */
.theme-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.theme-option {
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.theme-option:hover { border-color: var(--primary); }
.theme-option.selected { border-color: var(--primary); background: var(--primary-light); }

.theme-option .preview {
    width: 100%;
    height: 60px;
    border-radius: 4px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.theme-option .name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Layout styles */
.layout-compact .card { margin-bottom: 12px; }
.layout-compact .card-body { padding: 14px; }
.layout-compact h2 { font-size: 16px; }
.layout-compact .announcement-info h1 { font-size: var(--font-size-xl); }

.layout-fullwidth .container { max-width: 100%; padding: 0 24px; }
.layout-fullwidth .grid-3 { grid-template-columns: 3fr 1fr; }

/* Contact grid & Share grid */
.anuncio-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: 0.2s;
}

.contact-item:hover { background: var(--primary-light); color: var(--primary); }

.share-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-grid .btn { flex: 1; min-width: 120px; justify-content: center; }

/* Single column layout for announcement page */
.anuncio-body > section { width: 100%; }

@media (max-width: 767px) {
    .anuncio-body {
        display: flex;
        flex-direction: column;
    }
}
@media (min-width: 768px) {
    .anuncio-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .anuncio-body > section { margin-bottom: 0 !important; }
    .anuncio-body > section:first-child { grid-column: 1 / -1; }
    .anuncio-body > section:nth-child(2) { grid-column: 1 / -1; }
    .anuncio-body > section { order: unset !important; }
}

/* Prevent name from overlapping banner on mobile/tablet */
@media (max-width: 767px) {
    .announcement-header .logo-container {
        padding: 0 12px;
        gap: 12px;
    }
    .announcement-logo { width: 56px; height: 56px; border-width: 3px; margin-top: -30px; }
    .announcement-info h1 { font-size: 17px; }
    .announcement-actions .btn { 
        flex: 1 1 calc(50% - 4px);
        width: auto;
        min-width: 0;
        padding: 8px 10px;
        font-size: 12px;
    }
}

.layout-minimal .announcement-cover { display: none; }
.layout-minimal .announcement-header .logo-container { margin-top: 0; }
.layout-minimal .navbar { display: none; }
.layout-minimal .footer { display: none; }

.layout-card .announcement-cover { height: 120px; }
.layout-card .announcement-header { border-bottom: none; }
.layout-card .announcement-logo { width: 60px; height: 60px; }
.layout-card .announcement-actions .btn { font-size: 12px; padding: 6px 12px; }

/* ============================================
   PWA INSTALL BANNER
   ============================================ */
.pwa-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    align-items: center;
    gap: 12px;
}

.pwa-banner.show { display: flex; }

.pwa-banner .pwa-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.pwa-banner .pwa-text { flex: 1; }
.pwa-banner .pwa-text strong { display: block; font-size: 14px; }
.pwa-banner .pwa-text small { font-size: 12px; color: var(--text-secondary); }

.pwa-banner .pwa-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.pwa-banner .pwa-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

/* iOS Instructions Modal */
.ios-instructions {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ios-instructions.show { display: flex; }

.ios-instructions .ios-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    max-width: 360px;
    width: 100%;
    text-align: center;
}

.ios-instructions .ios-card h3 { margin-bottom: 16px; }
.ios-instructions .ios-card ol {
    text-align: left;
    font-size: 14px;
    line-height: 2;
    padding-left: 20px;
}

.ios-instructions .ios-card ol li strong { color: var(--primary); }
.ios-instructions .ios-card .share-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* ============================================
   CARROSSEL DE CARDS (horizontal scroll)
   ============================================ */
.carrossel-section {
    padding: 32px 16px;
    background: var(--bg-primary);
}

.carrossel-horizontal {
    position: relative;
    overflow: hidden;
}

.carrossel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
    padding: 4px 0;
}

.carrossel-card {
    flex: 0 0 auto;
    width: 280px;
    background: var(--bg-card, #fff);
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.carrossel-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.carrossel-card .card-cover {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.carrossel-card .card-cover-img {
    width: 100%;
    height: 120px;
    flex-shrink: 0;
    object-fit: contain;
    background-color: #f0f0f0;
    display: block;
}
.carrossel-card .card-cover-img--empty {
    height: 120px;
}

.carrossel-card .card-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    border: 2px solid #fff;
    background: #fff;
    position: absolute;
    bottom: -28px;
    left: 12px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.carrossel-card .card-info {
    padding: 36px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.carrossel-card .card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carrossel-card .card-category {
    font-size: 11px;
    color: var(--text-secondary);
}

.carrossel-card .card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.carrossel-card .card-footer {
    padding: 8px 12px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.carrossel-card .btn-sm {
    font-size: 11px;
    padding: 4px 12px;
}

.carrossel-compact-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
    padding: 4px 0;
}

.carrossel-compact-item {
    flex: 0 0 auto;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg, 12px);
    text-decoration: none;
    color: var(--text-primary);
    transition: box-shadow 0.2s, border-color 0.2s;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.carrossel-compact-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.carrossel-compact-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
}

.carrossel-compact-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.depoimento-carrossel-wrapper .carrossel-card {
    width: calc((100% - 32px) / 3);
    text-align: center;
}
@media (max-width: 1024px) {
    .depoimento-carrossel-wrapper .carrossel-card { width: calc((100% - 16px) / 2); }
}
@media (max-width: 768px) {
    .depoimento-carrossel-wrapper .carrossel-card { width: 100%; }
    .carrossel-compact-item { width: 130px; }
    .carrossel-compact-item img { width: 44px; height: 44px; }
}

.carrossel-destaque-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
    padding: 4px 0;
}

.carrossel-destaque-item {
    flex: 0 0 auto;
    width: 230px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.carrossel-destaque-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.carrossel-destaque-logo {
    height: 130px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.carrossel-destaque-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carrossel-destaque-no-logo {
    font-size: 36px;
    opacity: 0.2;
}

.carrossel-destaque-info {
    padding: 14px 14px 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.carrossel-destaque-nome {
    font-size: 14px;
    font-weight: 700;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carrossel-destaque-cat {
    font-size: 11px;
    color: #5f6368;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.carrossel-destaque-acoes {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.carrossel-destaque-whats,
.carrossel-destaque-visitar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
}

.carrossel-destaque-whats {
    background: #25D366;
    color: #fff;
}

.carrossel-destaque-whats:hover {
    background: #1da851;
    color: #fff;
}

.carrossel-destaque-visitar {
    background: var(--primary-light, #e8f0fe);
    color: var(--primary, #1a73e8);
}

.carrossel-destaque-visitar:hover {
    background: var(--primary, #1a73e8);
    color: #fff;
}

@media (max-width: 768px) {
    .carrossel-destaque-item { width: 190px; }
    .carrossel-destaque-logo { height: 100px; padding: 14px; }
    .carrossel-destaque-nome { font-size: 13px; }
    .carrossel-destaque-whats,
    .carrossel-destaque-visitar { font-size: 10px; padding: 6px 10px; }
}

.carrossel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #333;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.carrossel-arrow:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

.carrossel-arrow-prev { left: 4px; }
.carrossel-arrow-next { right: 4px; }

@media (max-width: 768px) {
    .carrossel-card { width: 220px; }
    .carrossel-section { padding: 20px 8px; }
    .carrossel-track { gap: 10px; }
}

/* ============================================
   BANNER CARROSSEL (abaixo do hero)
   ============================================ */
.banner-carrossel-section {
    padding: 20px 16px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
}

.banner-carrossel {
    position: relative;
    overflow: hidden;
}

.banner-carrossel-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
}

.banner-carrossel-item {
    flex: 0 0 auto;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s;
    position: relative;
}

.banner-carrossel-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.banner-carrossel-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.banner-carrossel-nome {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.banner-carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.banner-carrossel-btn:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

.banner-carrossel-prev { left: 4px; }
.banner-carrossel-next { right: 4px; }

@media (max-width: 767px) {
    .banner-carrossel-section { padding: 12px 8px; }
    .banner-carrossel-track { gap: 8px; }
}

/* ============================================
   STATS COUNTER
   ============================================ */
.stats-section {
    padding: 40px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #4285f4 50%, #34a853 100%);
    color: var(--text-white);
}

.stats-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.stats-item {
    padding: 16px;
}

.stats-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stats-label {
    font-size: 14px;
    opacity: 0.85;
    font-weight: 500;
}

@media (max-width: 767px) {
    .stats-section { padding: 24px 16px; }
    .stats-number { font-size: 26px; }
    .stats-label { font-size: 12px; }
    .stats-grid-3 { gap: 12px; }
}

@media (max-width: 480px) {
    .stats-grid-3 { grid-template-columns: 1fr; gap: 16px; }
    .stats-number { font-size: 30px; }
}

/* ============================================
   RADIO PLAYER
   ============================================ */
.radio-section {
    padding: 20px 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.radio-player-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    flex-shrink: 0;
}

.radio-icon {
    font-size: 28px;
}

.radio-info strong {
    font-size: 15px;
    display: block;
}

.radio-live {
    font-size: 10px;
    font-weight: 700;
    color: #ff4757;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.radio-player {
    flex: 1;
    min-width: 200px;
    max-width: 500px;
}

.radio-player audio {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
}

@media (max-width: 767px) {
    .radio-section { padding: 14px 8px; }
    .radio-player-wrapper { flex-direction: column; text-align: center; }
    .radio-player { max-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
    .radio-info strong { font-size: 13px; }
    .radio-icon { font-size: 22px; }
}

/* ============================================
   LOGO CARROSSEL (rodapé)
   ============================================ */
.logo-carrossel-section {
    padding: 40px 16px;
    background: var(--bg-secondary);
}

.logo-carrossel {
    position: relative;
    overflow: hidden;
}

.logo-carrossel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    padding: 4px 0;
}

.logo-carrossel-item {
    flex: 0 0 auto;
    width: 130px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
}

.logo-carrossel-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.logo-carrossel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.logo-carrossel-btn:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.16); }

.logo-carrossel-prev { left: 4px; }
.logo-carrossel-next { right: 4px; }

@media (max-width: 768px) {
    .logo-carrossel-item { width: 100px; height: 64px; padding: 8px; }
    .logo-carrossel-section { padding: 24px 8px; }
    .logo-carrossel-track { gap: 12px; }
}

@media (max-width: 480px) {
    .carrossel-card { width: 180px; }
    .carrossel-card .card-cover,
    .carrossel-card .card-cover-img,
    .carrossel-card .card-cover-img--empty { height: 90px; }
    .logo-carrossel-item { width: 80px; height: 56px; }
}

/* ============================================
   HELP SYSTEM - Botao de ajuda e tutorial
   ============================================ */
.help-fab{position:fixed;bottom:24px;right:24px;width:52px;height:52px;border-radius:50%;background:var(--primary,#1a73e8);color:#fff;border:none;font-size:24px;font-weight:700;cursor:pointer;box-shadow:0 4px 16px rgba(26,115,232,0.4);z-index:9999;display:flex;align-items:center;justify-content:center;transition:transform 0.2s}
.help-fab:hover{transform:scale(1.1)}
.help-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:10000;align-items:center;justify-content:center;padding:20px;overflow-y:auto}
.help-overlay.open{display:flex!important}
.help-inline{display:flex!important;align-items:center;gap:10px;padding:12px 18px;background:linear-gradient(135deg,var(--primary-light,#e8f0fe),#fff);border:1px solid var(--primary,#1a73e8);border-radius:var(--radius,8px);margin-bottom:20px;cursor:pointer;transition:box-shadow 0.2s,transform 0.2s;font-size:14px}
.help-inline:hover{box-shadow:0 2px 8px rgba(26,115,232,0.15);transform:translateY(-1px)}
@media(max-width:767px){.help-fab{width:44px!important;height:44px!important;font-size:20px!important;bottom:16px!important;right:16px!important}}
