*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-canvas: #F6F6F8;
    --bg-card: #FFFFFF;
    --bg-sidebar: #FFFFFF;
    --bg-subtle: #F9F9FB;
    --bg-hover: #F2F2F5;
    --text-primary: #0F0F10;
    --text-secondary: #5C5C6B;
    --text-tertiary: #9898A9;
    --text-disabled: #C4C4CF;
    --border: #EAEAEF;
    --border-strong: #D8D8E0;
    --accent: #C9922A;
    --accent-light: #E8A735;
    --accent-pale: #FDF6E8;
    --accent-hover: #B07D20;
    --promo: #D63B3B;
    --promo-pale: #FEF2F2;
    --accent-ring: rgba(201, 146, 42, 0.3);
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-full: 9999px;
    --sidebar-w: 264px;
    --content-max: 980px;
    --header-h: 70px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.15);
}

html {
    color-scheme: light;
}

body {
    font-family: var(--font);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-canvas);
    line-height: 1.55;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

* {
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    width: 0;
    height: 0;
}

button {
    font-family: var(--font);
    cursor: pointer;
    background: none;
    border: none;
}

.app {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-w);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.main-content::before {
    content: "";
    position: fixed;
    top: 0;
    left: var(--sidebar-w);
    right: 0;
    bottom: 0;
    background: url('teste2.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 769px) {
    .main-content::before {
        background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('teste2.png') no-repeat center center;
        background-size: cover;
        background-position: center;
    }
}

.fullscreen.active~.main-content::before,
body:has(.fullscreen.active) .main-content::before {
    display: none;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    z-index: 45;
}

.nav-sidebar {
    width: var(--sidebar-w);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    position: fixed;
    height: 100vh;
    z-index: 50;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.nav-sidebar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-light), var(--accent), transparent);
}

.nav-header {
    padding: 24px 22px 20px;
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    height: 39px;
    width: auto;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-disabled);
    padding: 18px 22px 8px;
}

.nav-links {
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--r-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    width: 100%;
    text-align: left;
    transition: all 0.1s;
}

.nav-link-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--r-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    color: var(--text-tertiary);
}

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

.nav-link.active {
    background: var(--accent-pale);
    color: var(--accent);
    font-weight: 600;
}

.nav-link.active .nav-link-icon {
    background: rgba(201, 146, 42, 0.14);
    color: var(--accent);
}

.nav-spacer {
    flex: 1;
}

.nav-bottom {
    padding: 12px;
    border-top: 1px solid var(--border);
}

.nav-brand-footer {
    padding: 10px 12px 4px;
    font-size: 11px;
    color: var(--text-disabled);
}

.google-login-btn {
    margin-bottom: 4px;
}

.google-login-btn:hover {
    background: var(--accent-pale);
    color: var(--accent);
}

.google-login-btn:hover .nav-link-icon {
    background: rgba(201, 146, 42, 0.14);
    color: var(--accent);
}

.install-card {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto;
    z-index: 1000;
    animation: slideInUp 0.3s ease-out;
    display: none;
}

@media (max-width: 768px) {
    .install-card {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
}

.install-card.show {
    display: block;
}

.install-card-content {
    background: white;
    border-radius: var(--r-xl);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.install-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--accent-pale);
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.install-card-text {
    flex: 1;
}

.install-card-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.install-card-text p {
    font-size: 12px;
    color: var(--text-tertiary);
}

.install-card-btn {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.install-card-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}

.install-card-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-tertiary);
    padding: 4px 8px;
    transition: all 0.2s;
    border-radius: var(--r-full);
    line-height: 1;
}

.install-card-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-header {
    height: var(--header-h);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 30;
    gap: 16px;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .main-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
    }
    
    .menu-button svg,
    .search-button svg {
        stroke: var(--text-secondary);
    }
    
    .menu-button {
        background: var(--bg-subtle);
        border: 1px solid var(--border);
    }
    
    .search-button {
        background: var(--bg-subtle);
        border: 1px solid var(--border);
    }
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo img {
    height: 50px;
    width: auto;
}

.menu-button {
    background: transparent;
    color: white;
    border: none;
    border-radius: var(--r-full);
    padding: 10px 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-button {
    background: transparent;
    color: white;
    border: none;
    border-radius: var(--r-full);
    padding: 10px 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 90%;
    height: 100vh;
    background: #0f0f0f;
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
}

.search-sidebar.open {
    right: 0;
}

.search-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
}

.search-sidebar-overlay.active {
    display: block;
}

.search-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 15, 0.95);
}

.search-sidebar-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.close-search-sidebar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.7);
}

.close-search-sidebar:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: rotate(90deg);
}

.search-sidebar-input {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 15, 0.9);
}

.sidebar-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 14px 20px;
    transition: all 0.2s ease;
}

.sidebar-search-field:focus-within {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.2);
}

.sidebar-search-field svg {
    color: rgba(255, 255, 255, 0.5);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-search-field input {
    flex: 1;
    background: none;
    border: none;
    font-size: 14px;
    font-family: var(--font);
    color: #ffffff;
    outline: none;
}

.sidebar-search-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.sidebar-clear-search {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    flex-shrink: 0;
}

.sidebar-clear-search:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.sidebar-search-field input:not(:placeholder-shown)~.sidebar-clear-search {
    display: flex;
}

.search-sidebar-results {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    background: #0a0a0a;
}

.search-sidebar-result-item {
    display: flex;
    flex-direction: column;
    padding: 16px 28px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.15s ease;
}

.search-sidebar-result-item:hover {
    background: rgba(201, 146, 42, 0.12);
    border-left: 3px solid var(--accent);
    padding-left: 25px;
}

.search-sidebar-result-name {
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 6px;
}

.search-sidebar-result-category {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.search-sidebar-empty {
    padding: 48px 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.search-sidebar-results::-webkit-scrollbar {
    width: 4px;
}

.search-sidebar-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.search-sidebar-results::-webkit-scrollbar-thumb {
    background: rgba(201, 146, 42, 0.5);
    border-radius: 4px;
}

.content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 24px;
    min-height: 0;
}

.category-search-wrapper {
    width: 100%;
    margin-bottom: 24px;
}

.category-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 12px 20px;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.category-search-field:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.category-search-field svg {
    color: var(--text-tertiary);
    width: 18px;
    height: 18px;
}

.category-search-field input {
    flex: 1;
    background: none;
    border: none;
    font-size: 14px;
    outline: none;
    font-family: var(--font);
}

.category-search-field input::placeholder {
    color: var(--text-tertiary);
}

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

@media (min-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 860px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

.category-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--r-xl);
    padding: 20px 12px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 146, 42, 0.5);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--r-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-card:hover .category-icon {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-icon svg {
    width: 45px;
    height: 45px;
    color: var(--text-tertiary);
}

.category-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.category-count {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.loading {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px;
    color: var(--text-tertiary);
}

.loading-ring {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: var(--text-tertiary);
}

.fullscreen {
    position: fixed;
    inset: 0;
    background: var(--bg-canvas);
    z-index: 200;
    display: none;
    flex-direction: column;
}

.fullscreen.active {
    display: flex;
}

.fullscreen-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    background: transparent;
}

.fullscreen-back {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.2s;
}

.fullscreen-back:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.fullscreen-search-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.2s;
}

.fullscreen-search-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.fullscreen-search-btn svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.fullscreen-hero {
    flex-shrink: 0;
    height: 180px;
    background: url('teste2.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.fullscreen-hero img {
    position: relative;
    z-index: 2;
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@media (min-width: 769px) {
    .fullscreen-hero {
        height: 140px;
    }
    .fullscreen-hero img {
        height: 70px;
    }
}

.fullscreen-scroll-container {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-canvas);
}

.fullscreen-content {
    padding: 20px 24px 24px;
}

.est-cards-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0;
    height: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.est-cards-container::-webkit-scrollbar {
    display: none;
}

.est-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}

@media (min-width: 769px) {
    .fullscreen-scroll-container {
        overflow-y: hidden;
    }
    
    .est-card {
        justify-content: center;
    }
    
    .est-image-container {
        max-width: 420px;
    }
    
    .est-main-image {
        max-height: 240px;
    }
    
    .est-info {
        padding: 12px 0 0;
    }
    
    .est-name {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .est-address {
        margin-bottom: 16px;
        padding: 8px 16px;
        font-size: 12px;
    }
}

.est-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.est-main-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    display: block;
}

.promo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border-radius: var(--r-full);
    padding: 6px 14px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.promo-banner-large {
    background: linear-gradient(135deg, var(--promo-pale), #fff);
    border: 2px solid var(--promo);
    border-radius: var(--r-xl);
    padding: 32px 24px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 480px;
}

.promo-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
}

.promo-text-large {
    font-size: 18px;
    font-weight: 700;
    color: var(--promo);
}

.no-image-placeholder {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    background: var(--bg-subtle);
    border-radius: var(--r-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.no-image-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

.est-info {
    flex: 1;
    padding: 16px 0 0;
}

.est-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.est-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: center;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all 0.2s;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.est-address:hover {
    background: var(--accent-pale);
    color: var(--accent);
    border-color: rgba(201, 146, 42, 0.3);
}

.est-address svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================ */
/* BOTÃO SOCIAL COM IMAGEM - ESTILO RETÂNGULO */
/* ============================================ */

.action-square.social {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    min-width: 110px;
    height: 44px;
    position: relative;
}

.action-square.social img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.action-square.social:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================ */

@media (min-width: 769px) {
    .action-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin: 20px 0 16px;
    }
    
    .action-square {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
        border-radius: 50px;
        transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
        cursor: pointer;
        font-weight: 600;
        font-size: 13px;
        color: white;
        border: none;
        box-shadow: var(--shadow-sm);
        min-width: 110px;
        height: 44px;
    }
    
    .action-square svg {
        width: 18px;
        height: 18px;
    }
    
    .action-square span {
        font-size: 13px;
        font-weight: 500;
    }
    
    .action-square:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }
    
    .action-buttons:has(.action-square:only-child) .action-square {
        min-width: 180px;
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .action-square.social {
        min-width: 110px;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 20px 0 16px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .action-square {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 12px;
        color: white;
        width: 100%;
        height: 44px;
        min-height: 44px;
    }
    
    .action-square svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .action-square span {
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .action-buttons:has(.action-square:only-child) {
        grid-template-columns: 1fr;
        max-width: 200px;
    }
    
    .action-buttons:has(.action-square:only-child) .action-square {
        max-width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Quando tem 3 botões, o terceiro ocupa 2 colunas */
    .action-buttons:has(.action-square:nth-child(3):last-child) {
        grid-template-columns: 1fr 1fr;
    }
    
    .action-buttons:has(.action-square:nth-child(3):last-child) .action-square:last-child {
        grid-column: span 2;
    }
    
    .action-square.social {
        background: transparent;
        border: none;
        padding: 0;
        border-radius: 50px;
        overflow: hidden;
        height: 44px;
        min-height: 44px;
        min-width: unset;
    }
    
    .action-square.social img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 50px;
    }
    
    .action-square.social:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        gap: 8px;
        max-width: 340px;
    }
    
    .action-square {
        height: 40px;
        min-height: 40px;
        padding: 6px 8px;
        font-size: 10px;
        border-radius: 40px;
    }
    
    .action-square svg {
        width: 14px;
        height: 14px;
    }
    
    .action-square span {
        font-size: 10px;
    }
    
    .action-square.social {
        height: 40px;
        min-height: 40px;
    }
    
    .action-square.social img {
        border-radius: 40px;
    }
}

.action-square.whatsapp {
    background: #25D366;
}

.action-square.phone {
    background: #2E7D32;
}

.action-square.phone svg {
    fill: none;
    stroke: white;
    stroke-width: 1.8;
}

.action-square.phone:hover {
    background: #1B5E20;
}

.action-square.maps {
    background: #1A73E8;
}

.action-square.maps svg {
    fill: none;
    stroke: white;
    stroke-width: 1.8;
}

.fullscreen-footer-dots {
    flex-shrink: 0;
    padding: 16px 24px 20px;
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dots-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent);
}

.est-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    z-index: 250;
    box-shadow: var(--shadow-md);
}

.est-nav-btn:hover {
    background: var(--accent-pale);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-50%) scale(1.08);
}

.est-nav-prev {
    left: 24px;
}

.est-nav-next {
    right: 24px;
}

.est-nav-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

@media (max-width: 768px) {
    body {
        overflow: hidden;
        height: 100vh;
    }
    
    .app {
        height: 100vh;
        overflow: hidden;
    }
    
    .nav-sidebar {
        transform: translateX(-100%);
    }

    .nav-sidebar.open {
        transform: translateX(0);
        box-shadow: var(--shadow-lg);
    }

    .mobile-overlay.active {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }

    .main-content::before {
        left: 0;
        right: 0;
        width: 100%;
    }

    .menu-button,
    .search-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-center {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .header-logo img {
        height: 90px;
        margin-top: 20px
    }

    .content-wrapper {
        padding: 16px;
    }

    .category-search-field {
        padding: 10px 16px;
    }
    
    .category-search-field svg {
        width: 16px;
        height: 16px;
    }
    
    .category-search-field input {
        font-size: 16px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
    }

    .category-card {
        padding: 14px 8px 12px;
    }
    
    .category-name {
        font-size: 12px;
    }
    
    .category-count {
        font-size: 10px;
    }

    .fullscreen-hero {
        height: 120px;
    }

    .fullscreen-hero img {
        height: 60px;
    }

    .fullscreen-content {
        padding: 0;
    }
    
    .est-card {
        padding: 16px;
    }

    .est-name {
        font-size: 20px;
    }

    .est-nav-btn {
        display: none;
    }
    
    .fullscreen-footer-dots {
        display: flex;
    }
    
    .est-image-container {
        max-width: 100%;
    }
    
    .promo-banner-large {
        padding: 24px 16px;
    }
    
    .promo-text-large {
        font-size: 16px;
    }
    
    .est-address {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        gap: 10px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .category-card {
        padding: 12px 6px 10px;
    }
    
    .category-name {
        font-size: 11px;
    }
    
    .fullscreen-hero {
        height: 100px;
    }
    
    .fullscreen-hero img {
        height: 70px;
    }
    
    .est-name {
        font-size: 18px;
    }
    
    .est-address {
        font-size: 15px;
        padding: 8px 14px;
    }
    
    .promo-banner-large {
        padding: 20px 12px;
    }
    
    .promo-text-large {
        font-size: 14px;
    }
}

.inside-category {
    margin-top: 10px;
}

/* ============================================ */
/* ESTILOS PARA RESULTADOS DE PESQUISA - CARDS TRANSPARENTES */
/* ============================================ */

.search-result-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--r-xl);
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
}

.search-result-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 146, 42, 0.3);
}

.search-result-image {
    width: 72px;
    height: 72px;
    border-radius: var(--r-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-subtle);
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.search-result-no-image svg {
    width: 32px;
    height: 32px;
    opacity: 0.4;
}

.search-result-no-image.small svg {
    width: 24px;
    height: 24px;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.search-result-category {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.search-result-services {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.search-result-services span {
    font-size: 10px;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 10px;
    border-radius: var(--r-full);
    font-weight: 500;
}

/* Cards menores (grid) */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.search-result-card-small {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
    gap: 10px;
}

.search-result-card-small .search-result-image {
    width: 80px;
    height: 80px;
    border-radius: var(--r-lg);
}

.search-result-card-small .search-result-name {
    font-size: 14px;
}

/* Lista agrupada por categoria */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-result-group {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: var(--r-lg);
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-result-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-result-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}

.search-result-item-row:hover {
    background: rgba(0, 0, 0, 0.04);
}

.search-result-item-image {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-subtle);
}

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

.search-result-item-info {
    flex: 1;
    min-width: 0;
}

.search-result-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.search-result-item-services {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.search-result-item-services span {
    font-size: 10px;
    color: var(--text-tertiary);
    background: rgba(0, 0, 0, 0.04);
    padding: 1px 8px;
    border-radius: var(--r-full);
}

/* ============================================ */
/* NOVOS ESTILOS - LAYOUT DE RESULTADOS CATEGORIA | SERVIÇOS */
/* ============================================ */

.search-results-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.search-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: var(--r-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.search-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.search-section-icon {
    font-size: 18px;
}

.search-section-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.search-section-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 12px;
    border-radius: var(--r-full);
}

.search-section-content {
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Itens de categoria */
.search-category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex: 1 0 auto;
    min-width: 140px;
    max-width: 100%;
}

.search-category-item:hover {
    background: var(--accent-pale);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.search-category-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-category-icon svg {
    width: 22px;
    height: 22px;
    color: var(--text-tertiary);
    opacity: 0.5;
}

.search-category-info {
    flex: 1;
    min-width: 0;
}

.search-category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.search-category-count {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* Itens de estabelecimentos (serviços) */
.search-est-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex: 1 0 auto;
    min-width: 180px;
    max-width: 100%;
}

.search-est-item:hover {
    background: var(--accent-pale);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.search-est-image {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-subtle);
}

.search-est-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-est-image svg {
    width: 100%;
    height: 100%;
    padding: 10px;
    color: var(--text-tertiary);
    opacity: 0.3;
}

.search-est-info {
    flex: 1;
    min-width: 0;
}

.search-est-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.search-est-category {
    font-size: 11px;
    color: var(--text-tertiary);
}

.search-est-services {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.search-est-services span {
    font-size: 9px;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.05);
    padding: 1px 8px;
    border-radius: var(--r-full);
}

/* Separação visual entre as seções */
.search-section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 4px;
}

.search-section-divider::before,
.search-section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.search-section-divider span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    white-space: nowrap;
}

/* Responsivo */
@media (max-width: 640px) {
    .search-section-content {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .search-category-item {
        min-width: 100%;
        padding: 8px 12px;
    }
    
    .search-est-item {
        min-width: 100%;
        padding: 10px 12px;
    }
    
    .search-category-icon {
        width: 34px;
        height: 34px;
    }
    
    .search-est-image {
        width: 40px;
        height: 40px;
    }
    
    .search-category-name {
        font-size: 13px;
    }
    
    .search-est-name {
        font-size: 13px;
    }
}

/* Responsivo */
@media (max-width: 640px) {
    .search-result-card {
        padding: 12px 14px;
        gap: 12px;
    }
    
    .search-result-image {
        width: 56px;
        height: 56px;
    }
    
    .search-result-name {
        font-size: 14px;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-result-card-small .search-result-image {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 440px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
    
    .search-result-card-small {
        flex-direction: row;
        text-align: left;
        padding: 12px 14px;
    }
    
    .search-result-card-small .search-result-image {
        width: 56px;
        height: 56px;
    }
}

/* ============================================ */
/* BOTÃO DE VOZ - ESTILOS */
/* ============================================ */

.voice-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: url('teste2.png') no-repeat center center;
    background-size: cover;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    padding: 0;
}

.voice-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.voice-btn svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.voice-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.voice-btn:active {
    transform: scale(0.92);
}

.voice-btn.listening {
    animation: pulse-voice 1.2s ease-in-out infinite;
    box-shadow: 0 0 0 8px rgba(201, 146, 42, 0.2);
}

.voice-btn.listening::before {
    background: rgba(201, 146, 42, 0.3);
}

.voice-btn.listening svg {
    animation: shake-mic 0.6s ease-in-out infinite alternate;
}

@keyframes pulse-voice {
    0% { box-shadow: 0 0 0 0 rgba(201, 146, 42, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(201, 146, 42, 0.1); }
    100% { box-shadow: 0 0 0 0 rgba(201, 146, 42, 0.3); }
}

@keyframes shake-mic {
    0% { transform: rotate(-8deg); }
    100% { transform: rotate(8deg); }
}

.category-search-field .voice-btn {
    margin-left: 4px;
}

.sidebar-search-field .voice-btn {
    margin-left: 4px;
}

@media (max-width: 768px) {
    .voice-btn {
        width: 36px;
        height: 36px;
    }
    
    .voice-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .voice-btn {
        width: 32px;
        height: 32px;
    }
    
    .voice-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ============================================ */
/* CARD FLUTUANTE DE RESULTADOS DENTRO DA CATEGORIA */
/* ============================================ */

.search-results-floating {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: var(--r-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    padding: 8px 0;
    margin-top: 8px;
    z-index: 10;
}

.search-results-floating .search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.search-results-floating .search-result-item:last-child {
    border-bottom: none;
}

.search-results-floating .search-result-item:hover {
    background: var(--accent-pale);
}

.search-results-floating::-webkit-scrollbar {
    width: 4px;
}

.search-results-floating::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.search-results-floating::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .search-results-floating {
        max-height: 320px;
    }
    
    .search-results-floating .search-result-item {
        padding: 8px 12px;
    }
}