/* --- SISTEMA DE DESIGN PREMIUM IFOOD (BRANCO & LARANJA) --- */
:root {
    --bg-primary: #050505; /* Preto profundo elegante */
    --bg-secondary: #0A0A0A; /* Fundo secundário super escuro */
    --bg-card: #141414; /* Fundo dos cards */
    --primary: #FF5E00; /* Laranja vibrante */
    --primary-hover: #E05300;
    --accent: #FF3B30; /* Vermelho vibrante de suporte */
    --text-main: #FFFFFF; /* Texto principal branco puro */
    --text-muted: #9CA3AF; /* Texto de suporte acinzentado suave */
    --border-color: #262626; /* Bordas muito sutis escuras */
    --success: #25D366; /* Verde WhatsApp */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 45px rgba(255, 94, 0, 0.15); /* Sombra laranja brilhante (glow) */
}

/* --- RESET & PADRÕES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-scrolled {
    padding: 14px 0;
    background: rgba(10, 10, 10, 0.85); /* Fundo preto transparente elegante */
    backdrop-filter: blur(12px); /* Glassmorphism Premium */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #FFFFFF; /* Texto branco */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: #FFFFFF; /* Ícone branco */
    font-size: 1.6rem;
    animation: sway 3s ease-in-out infinite alternate;
}

.logo span {
    color: #FFFFFF; /* Texto branco */
}

.navbar-logo-img {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.25));
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.3s ease;
}

.navbar-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 14px rgba(255, 255, 255, 0.45));
}

.navbar-scrolled .navbar-logo-img {
    height: 52px;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    color: #FFFFFF; /* Texto branco */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #FFFFFF; /* Faixa branca ao passar o mouse */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.85); /* Opacidade suave no hover */
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login-restrito {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login-restrito:hover {
    background: var(--primary); 
    border-color: var(--primary);
    color: #FFFFFF; 
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.4);
}

.btn-teste-gratis {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
    color: #FFFFFF !important;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-teste-gratis::after {
    display: none !important; /* Remove line under button in nav links */
}

.btn-teste-gratis:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.6) !important;
    filter: brightness(1.1);
}

/* --- HERO SECTION --- */
.hero-glow-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.15) 0%, rgba(255, 94, 0, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, rgba(255, 94, 0, 0.08) 0%, rgba(5, 5, 5, 1) 40%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 94, 0, 0.05);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 94, 0, 0.15);
    box-shadow: 0 4px 20px rgba(255, 94, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-badge:hover {
    border-color: rgba(255, 94, 0, 0.3);
    background: rgba(255, 94, 0, 0.1);
    transform: translateY(-1px);
}

.hero-badge i {
    animation: flash 1.5s infinite alternate;
}

/* --- SLOGAN ELEGANTE --- */
.hero-slogan {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    margin-top: 10px;
    animation: slogan-fade-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}

.slogan-accent-line {
    flex: 1;
    max-width: 52px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 94, 0, 0.3));
    border-radius: 100px;
}

.hero-slogan .slogan-accent-line:last-child {
    background: linear-gradient(90deg, rgba(255, 94, 0, 0.3), transparent);
}

.slogan-text {
    margin: 0;
    padding: 0;
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: #888;
    white-space: nowrap;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1;
}

.slogan-text strong {
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: none;
    background: linear-gradient(120deg, #FF5E00 0%, #FF8C00 50%, #FFAB40 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slogan-shimmer 5s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

/* Underline sutil e fino */
.slogan-text strong::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 100px;
    opacity: 0.4;
}

@keyframes slogan-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slogan-shimmer {
    0%   { background-position: 0% center; }
    50%  { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-text-block h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-text-block h1 span {
    color: var(--primary);
    text-shadow: 0 0 40px rgba(255, 94, 0, 0.25);
}

.hero-subheadline {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.35;
    color: #e4e4e7;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.hero-subheadline .highlight {
    background: linear-gradient(135deg, #FF5E00 30%, #FFA040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 88%;
    font-weight: 400;
}

@media (min-width: 1024px) {
    .hero-mockup-wrapper {
        margin-left: -50px;
        z-index: 2;
    }
    .hero-text-block {
        position: relative;
        z-index: 3;
    }
}

/* iFood Search Simulator */
.ifood-search-bar {
    display: flex;
    background: #141414; /* Escuro elegante */
    border: 1px solid #333;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    max-width: 550px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.ifood-search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.12);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    padding-left: 16px;
}

.location-icon {
    color: var(--primary);
    font-size: 1.3rem;
}

.search-input-wrapper input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    width: 100%;
    color: var(--text-main);
    font-weight: 500;
}

.search-btn {
    background: var(--primary);
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-avatars {
    display: flex;
}

.avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1A1A1A;
    border: 2px solid #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: -10px;
    box-shadow: var(--shadow-sm);
}

.avatar-circle.active {
    background: var(--primary);
    color: #FFFFFF;
}

.hero-trust p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 320px;
}

/* --- MOCKUP DO SMARTPHONE ( PREMIUM DARK THEME ) --- */
.hero-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px; /* Para dar efeito 3D no hover */
}

.smartphone-mockup {
    width: 310px;
    height: 630px;
    background: #000;
    border-radius: 55px;
    border: 12px solid #111;
    box-shadow: 
        inset 0 0 0 2px #333,
        0 0 0 2px #1f1f1f,
        0 30px 60px rgba(0, 0, 0, 0.9), 
        0 0 50px rgba(255, 94, 0, 0.15);
    position: relative;
    overflow: visible; /* Para mostrar botões laterais */
    z-index: 5;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.smartphone-mockup:hover {
    transform: translateY(-12px) rotateY(-5deg) rotateX(3deg);
    box-shadow: 
        inset 0 0 0 2px #444,
        0 0 0 2px #2a2a2a,
        0 40px 80px rgba(0, 0, 0, 1), 
        0 0 80px rgba(255, 94, 0, 0.3);
}

/* Botões Laterais (iPhone Style) */
.smartphone-mockup::before {
    content: '';
    position: absolute;
    top: 130px;
    left: -15px;
    width: 3px;
    height: 60px;
    background: linear-gradient(to bottom, #444, #222);
    border-radius: 4px 0 0 4px;
    box-shadow: 0 75px 0 0 #333; /* Botão de volume baixo usando shadow */
    z-index: 4;
}

.smartphone-mockup::after {
    content: '';
    position: absolute;
    top: 150px;
    right: -15px;
    width: 3px;
    height: 90px;
    background: linear-gradient(to bottom, #444, #222);
    border-radius: 0 4px 4px 0;
    z-index: 4;
}

/* Dynamic Island */
.mockup-header-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

/* Lente da câmera no Dynamic Island */
.mockup-header-notch::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
    box-shadow: inset -2px -2px 4px rgba(255,255,255,0.1), inset 2px 2px 4px rgba(0,0,0,0.8);
}
.mockup-header-notch::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    box-shadow: inset 0 0 2px #0f0; /* Led verde sutil */
    opacity: 0.5;
}

.mockup-app-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0A0A0A, #111);
    border-radius: 42px; /* Arredondamento interno da tela */
    padding: 55px 16px 20px 16px; /* Mais padding no topo para a Dynamic Island */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.app-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.app-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: opacity 0.25s ease;
}

.app-status-badge {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    padding: 4px 8px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25D366;
    animation: flash 1s infinite alternate;
}

.app-category-badge {
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.15), rgba(255, 94, 0, 0.05));
    border: 1px solid rgba(255, 94, 0, 0.2);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.08);
}

.app-menu-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    transition: opacity 0.25s ease;
    padding-bottom: 10px;
}

/* Glassmorphism Cards */
.menu-item-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.menu-item-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.item-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.item-info p {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-bottom: 6px;
}

.item-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
}

.app-action-btn {
    background: linear-gradient(135deg, var(--success) 0%, #1da851 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 12px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25), inset 0 2px 0 rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.app-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35), inset 0 2px 0 rgba(255,255,255,0.2);
}

/* Floating Plates (3D Overlaps) */
.floating-food-plate {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #1A1A1A; /* Fundo escuro */
    border: 1px solid #333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 94, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.7rem;
    z-index: 10;
}

.plate-1 {
    top: 15%;
    left: -20px;
    animation: float 4s ease-in-out infinite;
}

.plate-2 {
    bottom: 25%;
    right: -15px;
    color: #E05300;
    animation: float 5s ease-in-out infinite alternate;
}

.plate-3 {
    top: 50%;
    left: -35px;
    color: var(--accent);
    font-size: 1.4rem;
    animation: float 6s ease-in-out infinite;
}

/* --- CATEGORIES BUBBLES SECTION ( iFood Style ) --- */
.categories-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.categories-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories-bubbles-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
}

.category-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 110px;
}

.bubble-icon-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #141414;
    border: 1px solid #2A2A2A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 2.15rem;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-bubble span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: -0.2px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-bubble:hover .bubble-icon-wrapper {
    color: var(--primary);
    border-color: rgba(255, 94, 0, 0.5);
    background: rgba(255, 94, 0, 0.05);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 32px rgba(255, 94, 0, 0.15);
}

.category-bubble:hover span {
    color: var(--primary);
    transform: translateY(-2px);
}

.category-bubble.active .bubble-icon-wrapper {
    background: linear-gradient(135deg, var(--primary) 0%, #FF7B25 100%);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(255, 94, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.06);
}

.category-bubble.active span {
    color: var(--primary);
    font-weight: 800;
    transform: translateY(-2px);
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 100px 0;
}

.section-header-center {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-header-center p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card-premium {
    background: #141414;
    border: 1px solid #2A2A2A;
    border-radius: 22px;
    padding: 40px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #FF8C00 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-premium:hover::before {
    opacity: 1;
}

.feature-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 94, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 94, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.f-card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.1) 0%, rgba(255, 140, 0, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 26px;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card-premium:hover .f-card-icon-box {
    transform: scale(1.1) rotate(6deg);
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
    box-shadow: 0 10px 20px rgba(255, 94, 0, 0.2);
}

.feature-card-premium h3 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.feature-card-premium:hover h3 {
    color: var(--primary);
}

.feature-card-premium p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* --- PRICING SECTION --- */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    align-items: stretch;
}

.plan-card {
    background: #141414;
    border: 1px solid #2A2A2A;
    border-radius: 28px;
    padding: 50px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(255, 94, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.featured-plan {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, #1A1A1A 0%, rgba(255, 94, 0, 0.05) 100%);
    box-shadow: var(--shadow-lg);
}

.featured-plan::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 26px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}

.featured-plan:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 94, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.6);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
    color: #FFFFFF;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.plan-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 12px;
}

.plan-price .currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 6px;
}

.plan-price .price-value {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-main);
    letter-spacing: -2px;
}

.plan-price .period {
    font-size: 0.95rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 6px;
}

.plan-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
    margin: 30px 0;
}

.plan-features-list {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.check-icon {
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.plan-card:hover .check-icon {
    transform: scale(1.2);
}

.plan-footer {
    width: 100%;
}

.plan-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-orange-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-orange-outline:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(255, 94, 0, 0.2);
    transform: translateY(-2px);
}

.btn-orange-outline:active {
    transform: translateY(1px) scale(0.98);
}

.btn-orange-solid {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
}

.btn-orange-solid:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.35);
}

.btn-orange-solid:active {
    transform: translateY(1px) scale(0.98);
}

/* --- PARTNERS CAROUSEL --- */
.partners-section {
    padding: 90px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.partners-title-wrapper h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 45px;
}

.infinite-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.infinite-carousel-container::before,
.infinite-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.infinite-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, rgba(5, 5, 5, 0) 100%);
}

.infinite-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, rgba(5, 5, 5, 0) 100%);
}

.infinite-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.infinite-carousel-track:hover {
    animation-play-state: paused;
}

.partner-logo-box {
    padding: 20px 44px;
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    color: #A0A0A0;
    min-width: 250px;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.partner-logo-box i {
    font-size: 1.7rem;
    transition: transform 0.4s ease, color 0.4s ease;
}

.partner-logo-box img {
    max-height: 55px;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.65;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.4s ease;
}

.partner-logo-box span {
    font-size: 1.25rem;
    letter-spacing: -0.2px;
}

.partner-logo-box:hover img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

.partner-logo-box:hover {
    color: var(--primary);
    border-color: rgba(255, 94, 0, 0.2);
    background: rgba(255, 94, 0, 0.03);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.08);
}

.partner-logo-box:hover i {
    transform: scale(1.15);
    color: var(--primary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* --- BOLSA BÔNUS SECTION --- */
.bag-bonus-section {
    position: relative;
    background: linear-gradient(135deg, #0D0D0D 0%, #111111 50%, #0a0a0a 100%);
    padding: 100px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 94, 0, 0.12);
    border-bottom: 1px solid rgba(255, 94, 0, 0.12);
}

.bag-bonus-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 94, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bag-bonus-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bag-bonus-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.18), rgba(255, 94, 0, 0.06));
    border: 1px solid rgba(255, 94, 0, 0.4);
    color: #FF5E00;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.bag-bonus-tag i {
    animation: float 2s ease-in-out infinite;
}

.bag-bonus-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 20px;
}

.bag-bonus-title span {
    background: linear-gradient(90deg, #FF5E00, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bag-bonus-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.bag-bonus-desc strong {
    color: var(--text-main);
    font-weight: 700;
}

.bag-bonus-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.bag-bonus-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.97rem;
    font-weight: 500;
}

.bag-bonus-list li i {
    color: #FF5E00;
    font-size: 1rem;
    flex-shrink: 0;
}

.bag-bonus-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF5E00, #FF8C00);
    color: #FFFFFF;
    font-size: 0.97rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 94, 0, 0.35);
}

.bag-bonus-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 94, 0, 0.5);
}

.bag-bonus-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.bag-bonus-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.92);
}

.bag-bonus-image-wrap:hover .bag-bonus-img {
    transform: scale(1.03);
    filter: brightness(1);
}

.bag-bonus-badge-float {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: linear-gradient(135deg, #FF5E00, #FF8C00);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 20px rgba(255, 94, 0, 0.5);
    animation: float 3s ease-in-out infinite;
}

.bag-bonus-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .bag-bonus-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .bag-bonus-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .bag-bonus-list {
        text-align: left;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .bag-bonus-cta {
        margin-left: auto;
        margin-right: auto;
    }

    .bag-bonus-image-wrap {
        order: -1;
    }

    .bag-bonus-img {
        height: 320px;
    }

    .bag-bonus-title {
        font-size: 2rem;
    }
}

/* --- FOOTER --- */

.main-footer {
    background: var(--bg-secondary);
    padding: 80px 0 30px 0;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.footer-brand-column p {
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 320px;
}

.footer-logo {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-logo span {
    color: var(--primary);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links-column h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.footer-links-column ul a:hover {
    color: var(--primary);
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-details-list li i {
    color: var(--primary);
}

.footer-bottom-bar {
    margin-top: 0;
    padding-top: 28px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-bar p {
    margin: 0;
}

.footer-security-partnership {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #FFFFFF;
    font-weight: 600;
    white-space: nowrap;
}

.security-badge i {
    color: #25D366;
    font-size: 0.95rem;
}

.abacate-partner-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.abacate-partner-badge span {
    color: #9CA3AF;
}

.abacate-partner-badge .abacate-text {
    color: #4CAF50;
    font-weight: 800;
}

.abacate-logo-svg {
    height: 18px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.abacate-partner-badge:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: #4CAF50;
}

.author-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
}

.author-link:hover {
    color: var(--primary);
}

/* --- ANIMAÇÕES --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes sway {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(10deg); }
}

@keyframes flash {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-text-block h1 {
        font-size: 3rem;
    }

    .hero-text-block p {
        margin-left: auto;
        margin-right: auto;
    }

    .ifood-search-bar {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trust {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: flex-start;
    }

    .footer-brand-column {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Em sistemas de produção, adicionaria um menu hamburger */
    }
    
    .categories-bubbles-grid {
        gap: 15px;
    }
    
    .category-bubble {
        width: 80px;
    }
    
    .bubble-icon-wrapper {
        width: 58px;
        height: 58px;
        font-size: 1.3rem;
    }

/* Mobile Overrides Search */
    .ifood-search-bar {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 12px;
        padding: 0;
    }

    .search-input-wrapper {
        background: #141414;
        border: 1px solid #2A2A2A;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }

    .search-btn {
        justify-content: center;
        padding: 16px;
        border-radius: 12px;
    }

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

    .footer-brand-column {
        grid-column: span 1;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        text-align: center;
    }

    .footer-security-partnership {
        justify-content: center;
    }
}

/* --- GEOLOCATION PARTNER SEARCH SECTION (TOPO PREMIUM) --- */
.location-search-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding-top: 140px; /* Espaço para passar por baixo da navbar fixa */
    padding-bottom: 70px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.location-search-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

.location-search-section .container {
    position: relative;
    z-index: 2;
}

.location-search-header {
    text-align: center;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.location-search-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.2;
}

.location-search-header h2 span {
    color: var(--primary);
    background: linear-gradient(120deg, var(--primary) 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.location-search-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 500;
}

/* Premium Search Bar */
.location-search-bar {
    max-width: 680px;
    margin: 0 auto 24px auto;
    background: #141414;
    border: 1px solid #2A2A2A;
    border-radius: 100px;
    padding: 10px 10px 10px 24px;
    display: flex;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.location-search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(255, 94, 0, 0.12), 0 5px 15px rgba(255, 94, 0, 0.05);
    transform: scale(1.02);
}

.location-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.location-input-wrapper i {
    color: var(--primary);
    font-size: 1.35rem;
    transition: transform 0.3s ease;
}

.location-search-bar:focus-within .location-input-wrapper i {
    transform: scale(1.2) rotate(15deg);
}

.location-input-wrapper input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--text-main);
}

.location-input-wrapper input::placeholder {
    color: #555;
    font-weight: 400;
}

.location-search-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
    color: #FFFFFF;
    border: none;
    outline: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-search-btn:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.3);
}

.location-search-btn:active {
    transform: translateY(1px) scale(0.98);
}

/* Quick Tags */
.quick-tags-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.quick-tags-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.quick-tag-btn {
    background: #141414;
    border: 1px solid #2A2A2A;
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-tag-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 94, 0, 0.05);
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.15);
}

.quick-tag-btn:active {
    transform: scale(0.95) translateY(0);
}

/* --- TABS DE FILTRO DE SEGMENTO --- */
.segment-tabs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    overflow-x: auto;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    width: 100%;
}

.segment-tabs-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

@media (max-width: 992px) {
    .segment-tabs-container {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.segment-tab-btn {
    background: #141414;
    border: 1px solid #2A2A2A;
    color: var(--text-main);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.segment-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 94, 0, 0.05);
    transform: scale(1.05) translateY(-2px);
}

.segment-tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.25);
}

.segment-tab-btn i {
    font-size: 0.95rem;
}

.quick-tag-btn i {
    font-size: 0.85rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.quick-tag-btn:hover i {
    animation: bounce-pin 0.6s infinite alternate;
}

@keyframes bounce-pin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

/* Dynamic Results Grid */
.restaurant-results-container {
    min-height: 180px;
    position: relative;
}

.restaurant-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
    gap: 20px;
    justify-content: center;
}

/* Individual Restaurant Card */
.restaurant-card {
    background: linear-gradient(145deg, #181818 0%, #111111 100%);
    border: 1px solid #262626;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    text-decoration: none;
    color: inherit;
}

.restaurant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #FF8C00 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.restaurant-card:hover::before {
    opacity: 1;
}

.restaurant-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 94, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 94, 0, 0.4);
}

.restaurant-card:active {
    transform: translateY(-4px) scale(0.99);
}

.restaurant-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.restaurant-logo-circle {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #2A2A2A;
    background-color: #0A0A0A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.restaurant-card:hover .restaurant-logo-circle {
    border-color: var(--primary);
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.25);
}

.restaurant-info-meta {
    flex-grow: 1;
}

.restaurant-meta-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.restaurant-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.2;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.restaurant-card:hover .restaurant-name {
    color: var(--primary);
}

.restaurant-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 100px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.status-aberto {
    background: rgba(37, 211, 102, 0.08);
    color: var(--success);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.status-fechado {
    background: rgba(113, 113, 113, 0.08);
    color: var(--text-muted);
    border: 1px solid rgba(113, 113, 113, 0.2);
}

.pulse-dot-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-aberto .pulse-dot-status {
    background-color: var(--success);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    animation: status-pulse 1.6s infinite;
}

.status-fechado .pulse-dot-status {
    background-color: var(--text-muted);
}

@keyframes status-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Beautiful dynamic delivery tag used when neighborhood is searched */
.restaurant-delivery-tag {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: -4px;
    margin-bottom: 20px;
    padding: 6px 12px;
    background: rgba(255, 94, 0, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 94, 0, 0.08);
    width: fit-content;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.restaurant-card:hover .restaurant-delivery-tag {
    background: rgba(255, 94, 0, 0.08);
    border-color: rgba(255, 94, 0, 0.2);
    color: var(--text-main);
}

.restaurant-delivery-tag i {
    color: var(--primary);
    font-size: 0.95rem;
}

.restaurant-cta-btn {
    margin-top: auto;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 12px 18px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.restaurant-card:hover .restaurant-cta-btn {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    box-shadow: 0 8px 22px rgba(255, 94, 0, 0.3);
    transform: translateY(-2px);
}

.restaurant-cta-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.restaurant-card:hover .restaurant-cta-btn i {
    transform: translateX(4px);
}

.restaurant-cta-btn:active {
    transform: translateY(1px) scale(0.97);
}

/* Shimmer Loading State */
.shimmer-placeholder {
    background: linear-gradient(145deg, #181818 0%, #111111 100%);
    border: 1px solid #262626;
    border-radius: 24px;
    padding: 24px;
    height: 190px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.shimmer-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 20%,
        rgba(255, 255, 255, 0.1) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer-anim 1.5s infinite;
}

@keyframes shimmer-anim {
    100% {
        transform: translateX(100%);
    }
}

.shimmer-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shimmer-circle {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #2A2A2A;
    flex-shrink: 0;
}

.shimmer-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shimmer-line {
    height: 14px;
    background: #2A2A2A;
    border-radius: 4px;
}

.shimmer-line.title {
    width: 80%;
}

.shimmer-line.subtitle {
    width: 40%;
}

.shimmer-line.button {
    height: 44px;
    border-radius: 100px;
    width: 100%;
    margin-top: auto;
}

/* Empty Search Result / Error Card */
.search-empty-state {
    text-align: center;
    padding: 50px 24px;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.search-empty-state i {
    font-size: 3.8rem;
    color: #D1D5DB;
    animation: sway 3s ease-in-out infinite alternate;
}

.search-empty-state h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

.search-empty-state p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Media Overrides */
@media (max-width: 768px) {
    .location-search-section {
        padding-top: 110px;
        padding-bottom: 50px;
    }

    .location-search-header h2 {
        font-size: 1.9rem;
        letter-spacing: -1px;
    }

    .location-search-bar {
        flex-direction: column;
        border-radius: 24px;
        padding: 16px;
        gap: 16px;
    }
    
    .location-input-wrapper {
        width: 100%;
        padding-left: 8px;
    }
    
    .location-search-btn {
        width: 100%;
        justify-content: center;
        padding: 16px;
        border-radius: 100px;
    }
    
    .quick-tags-wrapper {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .restaurant-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
        gap: 16px;
    }
}

/* ==================================================
   MOCKUP DEMO ANIMATION (FALSO VÍDEO DO PEDIDO)
   ================================================== */

.item-add-btn {
    background: var(--primary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(255, 94, 0, 0.4);
    align-self: center;
}

.anim-scroll {
    animation: demoScroll 14s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-touch-pointer {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 60;
    opacity: 0;
    animation: demoTouch 14s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    border-radius: 24px 24px 0 0;
    padding: 16px 20px 24px;
    z-index: 40;
    transform: translateY(100%);
    box-shadow: 0 -10px 25px rgba(0,0,0,0.8);
    animation: demoSheet 14s infinite cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    margin: 0 auto 16px;
}

.demo-bottom-sheet h5 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.sheet-desc { color: #888; font-size: 0.8rem; margin-bottom: 16px; }

.demo-addons {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}
.addon-title { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.addon-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.8rem; color: #ccc; }
.addon-check { width: 16px; height: 16px; border: 2px solid #555; border-radius: 4px; }
.addon-check.active-check { 
    background: var(--primary); border-color: var(--primary);
    animation: demoCheck 14s infinite;
}

.sheet-add-btn {
    background: var(--primary);
    color: #fff; text-align: center; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 0.9rem;
}

.cart-badge-anim {
    background: rgba(255,255,255,0.2);
    width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 0.75rem;
    animation: demoBadge 14s infinite;
}

.anim-cart-btn { display: flex; justify-content: space-between; align-items: center; }

/* CART SCREEN */
.demo-cart-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #0A0A0A; z-index: 50;
    transform: translateX(100%);
    animation: demoCartScreen 14s infinite cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; padding: 40px 16px 20px;
}
.cart-header { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 20px; display: flex; gap: 12px; align-items: center; }
.cart-list { flex-grow: 1; }
.cart-item { display: flex; gap: 12px; background: rgba(255,255,255,0.03); padding: 12px; border-radius: 12px; align-items: center; }
.cart-item-qty { background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; color: #fff;}
.cart-item-details h6 { color: #fff; font-size: 0.9rem; margin-bottom: 2px; }
.cart-item-details small { color: var(--primary); font-size: 0.75rem; display: block; margin-bottom: 4px; }
.cart-item-details span { color: #fff; font-weight: 700; font-size: 0.85rem; }
.cart-total { display: flex; justify-content: space-between; color: #fff; font-size: 1.1rem; margin-bottom: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.cart-finish-btn { background: #25D366; color: #fff; text-align: center; padding: 14px; border-radius: 12px; font-weight: 700; display: flex; justify-content: center; gap: 8px; align-items: center; }

.demo-success-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(5px); z-index: 70;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    animation: demoSuccess 14s infinite;
}
.demo-success-screen p { color: #fff; font-weight: 600; }
.text-green-500 { color: #25D366; font-size: 3rem; margin-bottom: 12px; }


/* KEYFRAMES DA ANIMAÇÃO DE VÍDEO (14 segundos) */

@keyframes demoScroll {
    0%, 7% { transform: translateY(0); }
    10%, 65% { transform: translateY(-40px); }
    85%, 100% { transform: translateY(0); }
}

@keyframes demoTouch {
    0%, 12% { opacity: 0; bottom: -20px; left: 50%; transform: scale(1); }
    15% { opacity: 1; bottom: 180px; left: 80%; transform: scale(1); } /* Item Plus Btn */
    17% { opacity: 1; bottom: 180px; left: 80%; transform: scale(0.7); } /* Tap */
    19% { opacity: 1; bottom: 180px; left: 80%; transform: scale(1.1); }
    20%, 28% { opacity: 0; bottom: 180px; left: 80%; }
    
    31% { opacity: 1; bottom: 100px; left: 85%; transform: scale(1); } /* Addon Checkbox */
    33% { opacity: 1; bottom: 100px; left: 85%; transform: scale(0.7); } /* Tap */
    35% { opacity: 1; bottom: 100px; left: 85%; transform: scale(1.1); }
    37%, 42% { opacity: 0; bottom: 100px; left: 85%; }

    45% { opacity: 1; bottom: 35px; left: 50%; transform: scale(1); } /* Sheet Add Btn */
    47% { opacity: 1; bottom: 35px; left: 50%; transform: scale(0.7); } /* Tap */
    49% { opacity: 1; bottom: 35px; left: 50%; transform: scale(1.1); }
    51%, 55% { opacity: 0; bottom: 35px; left: 50%; }

    58% { opacity: 1; bottom: 40px; left: 50%; transform: scale(1); } /* Ver Carrinho Btn */
    60% { opacity: 1; bottom: 40px; left: 50%; transform: scale(0.7); } /* Tap */
    62% { opacity: 1; bottom: 40px; left: 50%; transform: scale(1.1); }
    65%, 72% { opacity: 0; bottom: 40px; left: 50%; }

    75% { opacity: 1; bottom: 35px; left: 50%; transform: scale(1); } /* Finalizar Btn in Cart */
    77% { opacity: 1; bottom: 35px; left: 50%; transform: scale(0.7); } /* Tap */
    79% { opacity: 1; bottom: 35px; left: 50%; transform: scale(1.1); }
    81%, 100% { opacity: 0; bottom: 35px; left: 50%; }
}

@keyframes demoSheet {
    0%, 18% { transform: translateY(100%); }
    21%, 50% { transform: translateY(0); }
    53%, 100% { transform: translateY(100%); }
}

@keyframes demoCheck {
    0%, 33% { background: transparent; border-color: #555; }
    34%, 100% { background: var(--primary); border-color: var(--primary); }
}

@keyframes demoBadge {
    0%, 48% { content: '0'; background: rgba(255,255,255,0.2); }
    49% { transform: scale(1.5); background: #ff3b30; }
    51%, 90% { content: '1'; transform: scale(1); background: #ff3b30; }
    91%, 100% { content: '0'; background: rgba(255,255,255,0.2); }
}

@keyframes demoCartScreen {
    0%, 62% { transform: translateX(100%); }
    64%, 90% { transform: translateX(0); }
    93%, 100% { transform: translateX(100%); }
}

@keyframes demoSuccess {
    0%, 78% { opacity: 0; }
    80%, 90% { opacity: 1; }
    93%, 100% { opacity: 0; }
}
/* MOCKUP IMAGES STYLING */
.item-img-mockup {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin-left: auto;
}
.item-img-wrapper {
    position: relative;
    margin-left: auto;
}
.item-img-wrapper .item-img-mockup {
    margin-left: 0;
}
.item-img-wrapper .item-add-btn {
    position: absolute;
    bottom: -8px;
    right: -8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.sheet-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
}
.sheet-header-img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.sheet-header-info h5 { margin-bottom: 4px; }
.sheet-header-info p { margin-bottom: 0; }

.cart-item-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

/* Esconder barra de rolagem do mockup */
.app-menu-list::-webkit-scrollbar {
    display: none;
}
.app-menu-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==================================================
   INTERACTIVE SMARTPHONE MODAL & SIMULATOR POPUP
   ================================================== */

.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.demo-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.demo-modal-content {
    position: relative;
    background: transparent;
    width: 100%;
    max-width: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(40px) scale(0.92);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-modal-overlay.active .demo-modal-content {
    transform: translateY(0) scale(1);
}

.demo-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 100px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1510;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.demo-modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Interactive Mockup Styles */
.interactive-app-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0A0A0A, #111);
    border-radius: 42px;
    padding: 55px 16px 20px 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.interactive-menu-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}

.interactive-menu-list::-webkit-scrollbar {
    display: none;
}

.interactive-item-card {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    text-align: left;
}

.interactive-item-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 94, 0, 0.25);
    transform: translateY(-2px);
}

.interactive-item-info {
    flex-grow: 1;
}

.interactive-item-info h4 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 750;
    margin-bottom: 4px;
}

.interactive-item-info p {
    color: #888;
    font-size: 0.72rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.interactive-item-info .item-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.82rem;
}

.interactive-item-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Interactive Bottom Sheet */
.interactive-bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #181818;
    border-radius: 24px 24px 0 0;
    padding: 16px 20px 24px;
    z-index: 40;
    transform: translateY(100%);
    box-shadow: 0 -10px 25px rgba(0,0,0,0.8);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.interactive-bottom-sheet.active {
    transform: translateY(0);
}

.interactive-bottom-sheet h5 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.interactive-sheet-desc {
    color: #888;
    font-size: 0.75rem;
    margin-bottom: 14px;
    line-height: 1.3;
}

.interactive-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    cursor: pointer;
    color: #ccc;
    font-size: 0.78rem;
}

.interactive-addon-item:last-child {
    border-bottom: none;
}

.interactive-addon-check {
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.interactive-addon-check.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.interactive-addon-check.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
}

.interactive-sheet-add-btn {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    margin-top: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.25);
}

.interactive-sheet-add-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Interactive Cart Screen */
.interactive-cart-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A0A0A;
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    padding: 40px 16px 20px;
    text-align: left;
}

.interactive-cart-screen.active {
    transform: translateX(0);
}

.interactive-cart-list {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.interactive-cart-list::-webkit-scrollbar {
    display: none;
}

.interactive-cart-item {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    padding: 10px;
    border-radius: 12px;
    align-items: center;
}

.interactive-cart-item-qty {
    background: rgba(255,255,255,0.1);
    padding: 3px 6px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.75rem;
    color: #fff;
}

.interactive-cart-item-details {
    flex-grow: 1;
}

.interactive-cart-item-details h6 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.interactive-cart-item-details small {
    color: var(--primary);
    font-size: 0.68rem;
    display: block;
    margin-bottom: 2px;
}

.interactive-cart-item-details span {
    color: #fff;
    font-weight: 750;
    font-size: 0.78rem;
}

.interactive-cart-total {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.interactive-cart-finish-btn {
    background: #25D366;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.interactive-cart-finish-btn:hover {
    background: #20ba59;
    transform: translateY(-1px);
}

/* Interactive Success Screen */
.interactive-success-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(5px);
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
    text-align: center;
}

.interactive-success-screen.active {
    opacity: 1;
    pointer-events: auto;
}

.interactive-success-screen p {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
}

.interactive-success-screen i {
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* --- ADAPTABILIDADE MOBILE & GEOLOCALIZAÇÃO GPS iTASTY --- */

.location-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.location-input-wrapper input {
    width: 100%;
    padding-right: 48px !important; /* Espaço para o botão GPS */
}

.gps-detect-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
}

.gps-detect-btn:hover {
    background: rgba(255, 94, 0, 0.1);
    color: #fff;
    transform: scale(1.1);
}

.gps-detect-btn:active {
    transform: scale(0.9);
}

.gps-detect-btn.loading {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* --- AJUSTES EXCLUSIVOS DO CARD DO RESTAURANTE NO MOBILE --- */
@media (max-width: 768px) {
    /* Grid de Restaurantes Mobile */
    .restaurant-results-grid {
        grid-template-columns: 1fr !important; /* Linha única no mobile */
        gap: 14px !important;
        margin-top: 16px !important;
    }

    /* Cards de Restaurante Otimizados para Toque (Ultra-Premium Redesign) */
    .restaurant-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: linear-gradient(135deg, #181818 0%, #0d0d0d 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 20px !important;
        padding: 14px 16px !important;
        gap: 16px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
        text-decoration: none !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .restaurant-card:active {
        transform: scale(0.97) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    .restaurant-card-header {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        flex: 1 !important;
        min-width: 0 !important; /* Evita quebra de layout */
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .restaurant-logo-circle {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        border: 2px solid rgba(255, 94, 0, 0.3) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    }

    .restaurant-info-meta {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        flex: 1 !important;
        min-width: 0 !important; /* Evita estouro de texto */
    }

    .restaurant-name {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
    }

    .restaurant-meta-badges {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }

    .restaurant-status-pill {
        padding: 3px 10px !important;
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        border-radius: 100px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        align-self: flex-start !important;
    }

    .status-aberto {
        background: rgba(37, 211, 102, 0.1) !important;
        color: #25D366 !important;
        border: 1px solid rgba(37, 211, 102, 0.2) !important;
    }

    .status-fechado {
        background: rgba(239, 68, 68, 0.1) !important;
        color: #EF4444 !important;
        border: 1px solid rgba(239, 68, 68, 0.2) !important;
    }

    /* Tag de Entrega integrada no mobile */
    .restaurant-delivery-tag {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        background: rgba(255, 94, 0, 0.05) !important;
        border: 1px solid rgba(255, 94, 0, 0.1) !important;
        padding: 2px 8px !important;
        border-radius: 100px !important;
        font-size: 0.65rem !important;
        color: var(--text-muted) !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    /* Botão ocultado no mobile pois o card inteiro já é clicável */
    .restaurant-cta-btn {
        display: none !important;
    }
}
}

/* --- SEGMENTOS (CATEGORIAS) EM DUAS LINHAS NO DESKTOP / HORIZONTAL COM WRAP --- */
.segment-tabs-container {
    display: flex !important;
    flex-direction: row !important; /* Horizontal igual estava */
    flex-wrap: wrap !important; /* Permite quebrar em duas linhas */
    gap: 12px !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    overflow-x: visible !important;
    white-space: normal !important;
    width: 100% !important;
}

.segment-tab-btn {
    width: auto !important; /* Largura automática, igual estava */
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 100px !important; /* Formato arredondado de pílula igual estava */
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.segment-tab-btn:hover {
    background: #1c1c1c !important;
    color: #fff !important;
}

.segment-tab-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3) !important;
}

/* --- AJUSTES EXCLUSIVOS DOS SEGMENTOS PARA EM PILHA VERTICAL NO CELULAR --- */
@media (max-width: 768px) {
    .segment-tabs-container {
        flex-direction: column !important; /* Um embaixo do outro no celular */
        gap: 8px !important;
        margin-top: 24px !important;
        margin-bottom: 12px !important;
    }

    .segment-tab-btn {
        width: 100% !important; /* Ocupa largura total */
        display: flex !important;
        justify-content: flex-start !important; /* Alinhado à esquerda */
        gap: 12px !important;
        padding: 12px 20px !important;
        border-radius: 12px !important; /* Arredondamento confortável para toque */
    }
}

/* --- WIDGET DO MASCOTE CONVERSACIONAL (MascotTasty) --- */
.itasty-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Outfit', sans-serif;
}

.chat-bubble-trigger {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chat-bubble-trigger:hover {
    transform: scale(1.05);
}

.mascot-avatar-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #0A0A0A;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.3), 0 0 0 4px rgba(255, 94, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: mascot-float-anim 3s ease-in-out infinite;
}

.mascot-img-avatar {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.online-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #25D366;
    border: 2px solid #0A0A0A;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

.chat-notification-balloon {
    position: absolute;
    right: 90px;
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 94, 0, 0.3);
    padding: 10px 16px;
    border-radius: 16px 16px 0px 16px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chat-notification-balloon.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes mascot-float-anim {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
        box-shadow: 0 10px 30px rgba(255, 94, 0, 0.4), 0 0 0 0px rgba(255, 94, 0, 0.3);
    }
    50% {
        transform: translateY(-8px) rotate(2deg) scale(1.06);
        box-shadow: 0 15px 45px rgba(255, 94, 0, 0.7), 0 0 0 15px rgba(255, 94, 0, 0);
    }
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        box-shadow: 0 10px 30px rgba(255, 94, 0, 0.4), 0 0 0 0px rgba(255, 94, 0, 0);
    }
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 360px;
    height: 490px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 94, 0, 0.25);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px rgba(255, 94, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.12) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mascot-header-avatar-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #141414;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mascot-header-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.online-indicator-small {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #25D366;
    border: 1px solid #141414;
}

.chat-header-info h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.chat-header-info p {
    font-size: 0.72rem;
    color: #25D366;
    font-weight: 700;
    margin: 0;
}

.close-chat-btn {
    background: transparent;
    border: none;
    color: #9CA3AF;
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-chat-btn:hover {
    color: #FFFFFF;
}

/* Chat Messages Area */
.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 94, 0, 0.2) transparent;
}

.chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.chat-msg.bot {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
    align-self: flex-start;
    border-radius: 4px 16px 16px 16px;
}

.chat-msg.user {
    background: linear-gradient(135deg, var(--primary) 0%, #E05300 100%);
    color: #FFFFFF;
    align-self: flex-end;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.15);
    font-weight: 600;
}

/* Options Footer */
.chat-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 5, 5, 0.5);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-option-btn {
    background: rgba(255, 94, 0, 0.06);
    border: 1px solid rgba(255, 94, 0, 0.25);
    color: #FFFFFF;
    padding: 10px 14px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chat-option-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.25);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 10px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #9CA3AF;
    border-radius: 50%;
    animation: typing-dot-anim 1s infinite alternate;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-dot-anim {
    0% { transform: translateY(0); opacity: 0.4; }
    100% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: 420px;
        bottom: 80px;
    }
    .itasty-chat-widget {
        bottom: 20px;
        right: 20px;
    }
}