:root {
    /* Cores do Flutter App - Padronização */
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #3b82f6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    --background: #F5F5F5;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header - Estilo Booksy Correto */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 56px;
    height: 56px;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 22px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(5deg);
}

.logo-blue {
    color: #3b82f6 !important;
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInBlue 1.5s ease-in-out;
}

.logo-white {
    color: #ffffff !important;
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInWhite 1.5s ease-in-out;
}

/* Garantir cores no footer */
.footer .logo-blue {
    color: #3b82f6 !important;
}

.footer .logo-white {
    color: #ffffff !important;
}

/* Animação de carregamento do logo */
@keyframes fadeInBlue {
    0% {
        color: #ffffff;
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        color: #ffffff;
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        color: #3b82f6;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInWhite {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo:hover .logo-blue {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
}

.logo:hover .logo-white {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* Busca Central - Estilo Booksy */
.search-container {
    max-width: 500px;
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 200px;
    right: 300px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: all;
}

.search-container.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateY(-10px);
    pointer-events: none;
}

.header .search-box {
    background: var(--white);
    border-radius: 24px;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.search-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 100%;
    cursor: text;
}

.search-item:first-child {
    padding-left: 16px;
}

.search-item:last-child {
    padding-right: 16px;
}

.search-item i {
    color: #666;
    font-size: 12px;
    width: 12px;
    flex-shrink: 0;
}

.search-item input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #333;
    width: 100%;
}

.search-item input::placeholder {
    color: #999;
    font-size: 13px;
}

/* Campo de Data e Seletor de Período */
.search-item-when {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px !important;
    position: relative;
    min-width: 100px;
    max-width: 450px;
    flex: 0 0 auto;
}

.search-date-input {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    outline: none;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    min-width: 80px;
    width: 80px;
}

.search-date-input::-webkit-calendar-picker-indicator {
    display: none;
}

/* Esconder ícone do calendário no Firefox */
.search-date-input::-moz-calendar-picker-indicator {
    display: none;
}

/* Placeholder para data */
.search-date-input:not(:focus):invalid {
    color: #999;
}

.period-selector {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 8px;
}

.period-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    font-size: 12px;
    white-space: nowrap;
}

.period-btn:hover {
    background: #f5f5f5;
    border-color: var(--primary);
}

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

.period-btn i {
    font-size: 12px;
    color: #666;
}

.period-btn.active i {
    color: white;
}

.period-btn span {
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

.period-btn.active span {
    color: white;
}

/* Media queries para responsividade da barra de pesquisa */
@media (max-width: 1400px) {
    .search-container {
        left: 180px;
        right: 250px;
        max-width: 450px;
    }
}

@media (max-width: 1200px) {
    .search-container {
        left: 160px;
        right: 200px;
        max-width: 400px;
    }

    .search-item-when {
        max-width: 400px;
    }
}

@media (max-width: 1024px) {
    .search-container {
        left: 140px;
        right: 180px;
        max-width: 350px;
    }

    .search-item-when {
        max-width: 350px;
    }

    .period-btn span {
        display: none;
    }

    .period-btn {
        padding: 6px 8px;
    }
}

.search-divider {
    width: 1px;
    height: 16px;
    background: #e0e0e0;
    flex-shrink: 0;
}

/* Menu Direita */
.header-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    min-width: fit-content;
    position: relative;
    z-index: 10;
    height: 100%;
}

.user-menu {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.login-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.login-text:hover {
    opacity: 0.9;
}

.language-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 14px;
    height: 100%;
    box-sizing: border-box;
}

.language-menu img {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

.language-menu i {
    font-size: 10px;
}

.list-business-btn {
    background: var(--white);
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* Mobile Search */
.mobile-search-toggle {
    display: none;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.mobile-search-overlay.active {
    display: flex;
}

.mobile-search-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 90%;
    max-width: 400px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Drawer */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1003;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-drawer {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
}

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

.mobile-menu-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mobile-menu-section {
    margin-bottom: 0;
}

.mobile-menu-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-item:hover {
    color: var(--primary);
}

.mobile-menu-item i {
    width: 20px;
    text-align: center;
    color: var(--gray-400);
}

.mobile-menu-item:hover i {
    color: var(--primary);
}

.mobile-menu-user {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0;
    grid-column: 1 / -1;
}

.mobile-menu-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mobile-menu-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.mobile-menu-user-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.mobile-menu-user-text p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.mobile-menu-login-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.mobile-menu-login-btn:hover {
    background: var(--primary-dark);
}

/* Hero */
.hero {
    padding: 100px 0 60px;
    background: var(--background);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-video.active {
    opacity: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(59, 130, 246, 0.3) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* Search Box */
.search-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 2fr 1fr auto auto;
    gap: 0.75rem;
    margin-bottom: 0rem;
}

.search-input-wrapper,
.search-location-wrapper,
.search-when-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon,
.location-icon,
.when-icon {
    position: absolute;
    left: 1rem;
    color: var(--gray-400);
    font-size: 1.125rem;
}

.search-input,
.location-input,
.when-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.search-input:focus,
.location-input:focus,
.when-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-location-wrapper {
    position: relative;
}

.search-when-wrapper {
    max-width: 120px;
}

.location-btn {
    position: absolute;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
}

.location-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Popular Tags */
.popular-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tags-label {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
}

.hero-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-1 {
    width: 280px;
    height: 350px;
    top: 0;
    left: 0;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    width: 240px;
    height: 300px;
    bottom: 0;
    right: 0;
    z-index: 1;
    animation: float 6s ease-in-out infinite 3s;
}

.hero-stats {
    position: absolute;
    bottom: 40px;
    left: 40px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 2rem;
    z-index: 3;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Categories */
.categories {
    padding: 0 0 40px;
    background: var(--background);
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.categories-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0.5rem 0 1.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.categories-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.category-item:hover .category-circle {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.category-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: center;
    max-width: 100px;
}

/* Featured Establishments */
.featured {
    padding: 80px 0;
    background: var(--background);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.establishments-wrapper:hover .scroll-btn {
    opacity: 1;
    pointer-events: all;
}

.scroll-btn.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
}

.scroll-left {
    left: -24px;
}

.scroll-right {
    right: -24px;
}

.scroll-btn:hover:not(.disabled) {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.scroll-btn:active:not(.disabled) {
    transform: translateY(-50%) scale(0.95);
}

/* Indicadores de scroll */
.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.scroll-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.scroll-indicator:hover {
    background: var(--primary-light);
}

.view-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.view-all:hover {
    gap: 0.75rem;
}

.establishments-wrapper {
    position: relative;
}

.establishments-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.establishments-grid::-webkit-scrollbar {
    display: none;
}

.establishments-grid.dragging {
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}

.establishment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.establishment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.establishment-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.establishment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.establishment-card:hover .establishment-image img {
    transform: scale(1.05);
}

.establishment-rating-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.85);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-align: center;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.rating-number {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.rating-count {
    font-size: 0.625rem;
    opacity: 0.9;
    white-space: nowrap;
}

.establishment-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.establishment-favorite:hover {
    background: var(--danger);
    color: var(--white);
    transform: scale(1.1);
}

.establishment-content {
    padding: 1.25rem;
}

.establishment-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.establishment-location {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.establishment-location i {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.establishment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
}

.like-btn {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.like-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.like-btn.liked {
    background: var(--primary);
    color: var(--white);
}

.like-btn.liked i {
    content: '\f164';
    font-weight: 900;
}

.destaque-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

.destaque-badge i {
    font-size: 0.875rem;
}

/* Skeleton Loading */
.establishment-skeleton {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
}

.establishment-skeleton::before {
    content: '';
    display: block;
    height: 200px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2.5rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.step-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* App Download Section */
.app-download {
    padding: 0;
    background: var(--background);
}

.app-sections-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}

.app-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.cliente-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.empresa-section {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.app-section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.app-text-content {
    width: 100%;
}

.app-visual-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

/* App Logo */
.app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.app-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: #00bcd4;
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.app-logo .logo-icon.dark {
    background: #2c2c2c;
}

.app-logo .app-name {
    font-weight: 600;
    color: var(--gray-900);
}

.app-logo .platforms {
    color: var(--gray-600);
}

/* Section Title & Description */
.app-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.app-section-description {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* App Store Buttons */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #2c2c2c;
    color: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: 1.5rem;
}

.app-store-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.app-store-btn i {
    font-size: 2.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.btn-text strong {
    font-size: 1.125rem;
    font-weight: 700;
}

.google-play-btn {
    background: #00bcd4;
}

.google-play-btn:hover {
    background: #00acc1;
    box-shadow: 0 6px 16px rgba(0, 188, 212, 0.3);
}

.dark-btn {
    background: #2c2c2c;
}

.dark-btn:hover {
    background: #1a1a1a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Phone Mockup */
.phone-mockup-wrapper {
    position: relative;
    z-index: 3;
}

.phone-image {
    width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

/* Illustrations */
.illustration-wrapper {
    position: absolute;
    left: -150px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.illustration-wrapper.right {
    right: -150px;
    left: auto;
}

.illustration-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

/* CTA Business */
.cta-business {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000, #212121);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: #000000;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Forçar cores da logo em todos os contextos */
.logo-text .logo-blue,
.footer-logo .logo-blue,
header .logo-blue {
    color: #3b82f6 !important;
}

.logo-text .logo-white,
.footer-logo .logo-white,
header .logo-white {
    color: #ffffff !important;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #212121;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #212121;
    color: var(--gray-400);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
    
    .search-container {
        left: 200px;
        right: 230px;
        max-width: 400px;
    }
    
    .header-menu {
        gap: 0.75rem;
    }
    
    .login-text {
        display: none;
    }
    
    .language-menu span {
        display: none;
    }
    
    .list-business-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-content,
    .app-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .app-sections-wrapper {
        grid-template-columns: 1fr;
    }

    .app-section {
        min-height: 600px;
    }

    .phone-image {
        width: 260px;
    }

    .illustration-wrapper {
        display: none;
    }

    .app-section-content {
        max-width: 450px;
    }

    .hero-image {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .search-container {
        left: 170px;
        right: 180px;
        max-width: 350px;
    }
    
    .search-item {
        padding: 0 0.75rem;
    }
    
    .search-item:first-child {
        padding-left: 1rem;
    }
    
    .search-item:last-child {
        padding-right: 1rem;
    }
    
    .user-menu {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .header-menu {
        gap: 0.5rem;
    }
    
    .list-business-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header-nav {
        gap: 1rem;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .search-container {
        display: none;
    }
    
    .header-menu {
        display: none;
    }
    
    .mobile-search-toggle {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .categories {
        padding: 0 0 30px;
        margin-top: -15px;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .search-when-wrapper {
        order: 3;
        max-width: 100%;
    }

    .search-btn {
        order: 4;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .category-circle {
        width: 90px;
        height: 90px;
    }

    .category-label {
        font-size: 0.8125rem;
    }

    .establishment-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    .establishment-skeleton {
        min-width: 280px;
        max-width: 280px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        justify-content: flex-start;
    }

    .app-section-title {
        font-size: 2rem;
    }

    .app-section {
        min-height: 500px;
        padding: 60px 20px;
    }

    .app-store-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .scroll-btn {
        display: none !important;
    }
    
    .scroll-indicators {
        display: flex;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .header {
        padding: 8px 0;
    }
    
    .header-nav {
        gap: 0.75rem;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .header-menu {
        display: none;
    }
    
    .mobile-search-toggle {
        display: none;
    }
    
    .mobile-toggle {
        padding: 0.25rem;
        display: flex;
    }
    
    .mobile-toggle span {
        width: 20px;
    }
    
    .mobile-menu-drawer {
        width: 100%;
    }

    .mobile-menu-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .hero {
        padding: 70px 0 30px;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .categories {
        padding: 0 0 30px;
        margin-top: -10px;
    }
    
    .popular-tags {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }

    .app-section-title {
        font-size: 1.75rem;
    }

    .app-section-description {
        font-size: 1rem;
    }

    .phone-image {
        width: 220px;
    }

    .app-section {
        min-height: 450px;
        padding: 40px 15px;
    }

    .app-section-content {
        max-width: 100%;
    }

    .category-circle {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }

    .category-label {
        font-size: 0.75rem;
        max-width: 80px;
    }

    .categories-scroll {
        gap: 1.5rem;
    }
}