/* ISA (chat da home). Extraído de v2/pages/home_chat.blade.php (blocos <style> 628-925 + 926-2044). CSS estático, sem Blade. */

        [v-cloak] {
            display: none;
        }

        #chat-app {
            width: 100%;
        }

        /* Remover espaçamento extra entre hero e categorias */
        #homepage {
            margin-top: 0;
            padding-top: 0;
        }

        #homepage .main-categories {
            margin-top: 0;
            padding-top: 20px;
            padding-bottom: 20px;
        }

        .hidden {
            display: none !important;
        }

        .chat-mode .hero-content {
            display: none;
        }

        .chat-mode .suggestions {
            display: none;
        }

        /* Typing indicator dots */
        .typing-dot {
            width: 8px;
            height: 8px;
            margin: 0 2px;
            background-color: #bbc1c7;
            border-radius: 50%;
            display: inline-block;
            animation: typing 1.4s infinite ease-in-out both;
        }

        .typing-dot:nth-child(1) {
            animation-delay: -0.32s;
        }

        .typing-dot:nth-child(2) {
            animation-delay: -0.16s;
        }

        @keyframes typing {

            0%,
            80%,
            100% {
                transform: scale(0);
            }

            40% {
                transform: scale(1);
            }
        }

        /* Company Cards Styles */
        .company-cards-container {
            width: 100%;
            max-width: 100%;
        }

        .company-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .company-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 12px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s;
        }

        .company-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

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

        .company-logo {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            object-fit: contain;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            flex-shrink: 0;
        }

        .company-name {
            font-size: 16px;
            font-weight: 700;
            color: #2d3748;
            margin: 0;
        }

        .company-badge {
            background: #dbeafe;
            color: #1e40af;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 600;
        }

        .company-address {
            font-size: 13px;
            color: #4a5568;
            margin-bottom: 4px;
        }

        .company-desc {
            font-size: 12px;
            color: #718096;
            margin-bottom: 0;
            font-style: italic;
        }

        .company-contact {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding-top: 8px;
            border-top: 1px dashed #e2e8f0;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: #4a5568;
            font-weight: 600;
        }

        .contact-item i {
            font-size: 16px;
        }

        .card-footer {
            margin-top: 12px;
            display: flex;
            gap: 8px;
        }

        .btn-card-action {
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
            text-align: center;
            flex: 1;
        }

        .btn-card-action.primary {
            background-color: #3b82f6;
            color: white;
        }

        .btn-card-action.whatsapp {
            background-color: #25d366;
            color: white;
        }

        .btn-card-action:hover {
            opacity: 0.9;
            color: white;
            /* Ensure text remains white */
        }

        .show-more-wrapper {
            text-align: center;
            margin: 10px 0;
        }

        .btn-show-more {
            background: none;
            border: 1px solid #cbd5e0;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            color: #4a5568;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-show-more:hover {
            background: #f7fafc;
            border-color: #a0aec0;
        }

        /* Anuncio Card */
        .anuncio-card {
            background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
            border: 1px solid #a5d6a7;
            border-radius: 14px;
            padding: 16px;
            box-shadow: 0 2px 8px rgba(37, 211, 102, 0.12);
        }

        .anuncio-card-header {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #1b5e20;
            font-weight: 700;
            font-size: 15px;
            margin-bottom: 8px;
        }

        .anuncio-card-header svg {
            flex-shrink: 0;
            fill: #25d366;
        }

        .anuncio-card-desc {
            font-size: 13px;
            color: #388e3c;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        /* New messages indicator */
        .new-messages-indicator {
            position: absolute;
            bottom: 85px;
            left: 50%;
            transform: translateX(-50%);
            background: #E53935;
            color: white;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
            z-index: 100;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            animation: fadeInScale 0.3s ease-out;
        }

        .new-messages-indicator:hover {
            background: #D32F2F;
            transform: translateX(-50%) translateY(-2px);
            box-shadow: 0 6px 16px rgba(229, 57, 53, 0.4);
        }

        .new-messages-indicator span {
            white-space: nowrap;
        }

        .new-messages-indicator svg {
            width: 16px;
            height: 16px;
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: translateX(-50%) scale(0.9);
            }

            to {
                opacity: 1;
                transform: translateX(-50%) scale(1);
            }
        }

        @media (max-width: 768px) {
            .new-messages-indicator {
                bottom: 75px;
                padding: 6px 14px;
                font-size: 12px;
            }
        }

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

        html,
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #ffffff;
            position: relative;
            height: 100%;
        }

        html {
            overscroll-behavior: none;
        }

        /* Bloquear scroll quando chat está ativo */
        body.chat-active {
            overflow: hidden;
            position: fixed;
            left: 0;
            right: 0;
            width: 100%;
            overscroll-behavior: none;
        }

        /* Esconder apenas o conteúdo da homepage quando chat está ativo, mas manter header */
        body.chat-active #homepage {
            display: none;
        }

        /* Garantir que o header fique acima do chat e clicável */
        body.chat-active header,
        body.chat-active .navbar,
        body.chat-active nav {
            position: relative;
            z-index: 1000;
        }

        /* Banner WhatsApp */
        .whatsapp-banner {
            background: #FFE4E4;
            padding: 15px 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.5s;
        }

        .whatsapp-banner.hidden {
            opacity: 0;
            height: 0;
            padding: 0 60px;
            overflow: hidden;
        }

        .whatsapp-banner p {
            color: #666;
            font-size: 14px;
        }

        .btn-whatsapp {
            background: #25D366;
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
        }

        /* Hero Section - Estado Inicial */
        .hero {
            padding: 80px 60px 60px;
            text-align: center;
            background: linear-gradient(180deg, #ffffff 0%, #FFF5F5 100%);
            transition: all 0.5s ease;
            min-height: 60vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .hero.chat-mode {
            padding: 20px 10px 10px;
            background: #F8F9FA;
            height: calc(100vh - 80px);
            height: calc(100dvh - 80px);
            min-height: calc(100vh - 80px);
            min-height: calc(100dvh - 80px);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            overflow: hidden;
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            z-index: 998;
            margin-bottom: 0;
            overscroll-behavior: contain;
        }

        .hero-content {
            transition: all 0.5s ease;
        }

        .hero.chat-mode .hero-content {
            opacity: 0;
            height: 0;
            overflow: hidden;
            margin: 0;
        }

        /* Botão de Fechar Chat */
        .btn-close-chat {
            position: fixed;
            top: 120px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: white;
            border: 1px solid #E5E5E5;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            z-index: 999;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .btn-close-chat:hover {
            background: #FFE4E4;
            border-color: #E53935;
            transform: scale(1.1);
        }

        .btn-close-chat svg {
            width: 20px;
            height: 20px;
            color: #666;
        }

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

        @media (max-width: 768px) {
            .btn-close-chat {
                top: 25px;
                right: 10px;
                width: 36px;
                height: 36px;
            }

            .btn-close-chat svg {
                width: 18px;
                height: 18px;
            }
        }

        /* Apresentação da Isa */
        .isa-intro {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .isa-icon {
            width: 28px;
            height: 28px;
            color: #E53935;
            flex-shrink: 0;
        }

        .isa-text {
            font-size: 18px;
            font-weight: 500;
            color: #1a1a1a;
        }

        .isa-text .isa-name {
            font-weight: 600;
        }

        .isa-text .isa-role {
            color: #888;
            font-weight: 400;
            margin-left: 4px;
        }


        /* Prompt principal */
        .hero-prompt {
            font-size: 40px;
            font-weight: 700;
            color: #1a1a1a;
            margin: 0 0 32px;
            line-height: 1.2;
            letter-spacing: -0.02em;
            transition: all 0.5s ease;
        }

        /* No modo chat, escondemos o prompt para manter o foco nas mensagens */
        .hero.chat-mode .hero-prompt {
            opacity: 0;
            height: 0;
            overflow: hidden;
            margin: 0;
        }

        /* Chat Messages Container */
        .chat-messages {
            max-width: 900px;
            margin: 0 auto;
            display: none;
            flex-direction: column;
            gap: 16px;
            padding: 10px 10px 20px 10px;
            flex: 1 1 auto;
            overflow-y: auto;
            overflow-x: hidden;
            width: 100%;
            scroll-behavior: smooth;
            overflow-wrap: anywhere;
            -webkit-overflow-scrolling: touch;
            min-height: 0;
            overscroll-behavior: contain;
        }

        .hero.chat-mode .chat-messages {
            display: flex;
        }

        .messages {
            display: flex;
            gap: 5px;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .messages.user {
            flex-direction: row-reverse;
        }

        .message-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .message-avatar-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 50%;
        }

        .avatar-fallback {
            font-size: 20px;
            line-height: 1;
        }

        .messages.user .message-avatar {
            background: #E53935;
            color: white;
        }

        .messages.assistant .message-avatar {
            background: #F0F0F0;
            color: #666;
        }

        .message-content {
            max-width: 70%;
            padding: 8px;
            border-radius: 18px;
            line-height: 1.4;
            height: min-content;
            word-wrap: break-word;
            word-break: break-word;
            overflow-wrap: break-word;
        }

        .messages.user .message-content {
            background: #E53935;
            color: white;
            border-bottom-right-radius: 4px;
            text-align: right;
        }

        .messages.assistant .message-content {
            background: white;
            color: #333;
            border-bottom-left-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            text-align: left;
        }

        .typing-indicator {
            display: flex;
            gap: 6px;
            padding: 14px 18px;
        }

        .typing-dot {
            width: 8px;
            height: 8px;
            background: #999;
            border-radius: 50%;
            animation: typing 1.4s infinite;
        }

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

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

        @keyframes typing {

            0%,
            60%,
            100% {
                transform: translateY(0);
                opacity: 0.7;
            }

            30% {
                transform: translateY(-10px);
                opacity: 1;
            }
        }

        /* Chat Container */
        .chat-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 28px;
            padding: 8px;
            box-shadow: 0 8px 32px rgba(229, 57, 53, 0.12);
            border: 1px solid rgba(229, 57, 53, 0.1);
            transition: all 0.5s ease;
            flex-shrink: 0;
        }

        .hero.chat-mode .chat-container {
            border-radius: 16px;
            margin-top: auto;
            margin-bottom: 0;
            position: sticky;
            bottom: 0;
            max-width: 900px;
            flex-shrink: 0;
            background: white;
            z-index: 10;
        }

        .chat-input-wrapper {
            display: flex;
            align-items: center;
            background: #F8F9FA;
            border-radius: 22px;
            padding: 8px 16px;
            gap: 12px;
            transition: all 0.3s;
        }

        .chat-input-wrapper:focus-within {
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
        }

        .chat-icon {
            width: 24px;
            height: 24px;
            color: #E53935;
            flex-shrink: 0;
            align-self: center;
        }

        .chat-input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 16px;
            color: #1a1a1a;
            outline: none;
            font-family: inherit;
            resize: none;
            max-height: 100px;
            line-height: 1.5;
            padding: 10px 0;
            overflow-y: hidden;
            -webkit-appearance: none;
            -webkit-user-select: text;
        }

        .chat-input::placeholder {
            color: #999;
        }

        .send-button {
            background: #E53935;
            border: none;
            color: white;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            flex-shrink: 0;
            align-self: center;
        }

        .send-button:hover:not(:disabled) {
            background: #D32F2F;
            transform: scale(1.05);
        }

        .send-button:active:not(:disabled) {
            transform: scale(0.95);
        }

        .send-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Botões de ação (mic, camera) */
        .action-buttons {
            display: flex;
            gap: 4px;
            align-items: center;
        }

        .action-btn {
            background: transparent;
            border: none;
            color: #999;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .action-btn svg {
            width: 20px;
            height: 20px;
        }

        .action-btn:hover {
            background: #F0F0F0;
            color: #E53935;
        }

        .action-btn.recording {
            background: #FFE4E4;
            color: #E53935;
            animation: recordingPulse 1.5s infinite;
            position: relative;
        }

        .action-btn.recording::after {
            content: '●';
            position: absolute;
            top: 4px;
            right: 4px;
            color: #E53935;
            font-size: 10px;
            animation: blink 1s infinite;
        }

        @keyframes recordingPulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 0 0 6px rgba(229, 57, 53, 0);
            }
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.3;
            }
        }

        /* Preview de imagem - Card */
        .image-preview {
            display: none;
            flex-direction: column;
            align-items: center;
            width: 120px;
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid #E5E5E5;
            overflow: hidden;
            margin-bottom: 12px;
            margin-left: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            position: relative;
        }

        .recording-preview {
            display: none;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid #E5E5E5;
            padding: 10px 16px;
            margin-bottom: 12px;
            margin-left: 24px;
            margin-right: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .recording-preview.active {
            display: flex;
        }

        .recording-info {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #E53935;
            font-weight: 600;
            font-size: 14px;
        }

        .recording-actions {
            display: flex;
            gap: 8px;
        }

        .btn-audio-action {
            padding: 6px 14px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid transparent;
        }

        .btn-audio-cancel {
            background: #F8F9FA;
            color: #666;
            border-color: #E5E5E5;
        }

        .btn-audio-cancel:hover {
            background: #f0f0f0;
            border-color: #d0d0d0;
        }

        .btn-audio-send {
            background: #E53935;
            color: white;
        }

        .btn-audio-send:hover {
            background: #D32F2F;
            transform: scale(1.05);
        }

        /* Novo indicador de mensagens */
        .new-messages-indicator {
            position: absolute;
            bottom: 85px;
            left: 50%;
            transform: translateX(-50%);
            background: #E53935;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
            z-index: 1000;
            animation: bounceInContainer 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border: none;
        }

        .new-messages-indicator:hover {
            background: #D32F2F;
            transform: translateX(-50%) translateY(-2px);
            box-shadow: 0 6px 16px rgba(229, 57, 53, 0.4);
        }

        .new-messages-indicator svg {
            width: 24px;
            height: 24px;
            animation: scaleIn 0.5s 0.2s both;
        }

        @keyframes bounceInContainer {
            0% {
                transform: translateX(-50%) scale(0.5);
                opacity: 0;
            }

            100% {
                transform: translateX(-50%) scale(1);
                opacity: 1;
            }
        }

        @keyframes scaleIn {
            0% {
                transform: scale(0.5);
                opacity: 0;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .image-preview.active {
            display: flex;
        }

        .image-preview .clip-icon {
            background: #F0F0F0;
            width: 100%;
            padding: 6px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #888;
        }

        .image-preview .clip-icon svg {
            width: 16px;
            height: 16px;
        }

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

        .image-preview .preview-filename {
            font-size: 11px;
            color: #666;
            padding: 8px;
            text-align: center;
            width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            background: #FAFAFA;
        }

        .image-preview .remove-image {
            position: absolute;
            top: 4px;
            right: 4px;
            background: rgba(0, 0, 0, 0.5);
            border: none;
            color: white;
            cursor: pointer;
            padding: 4px;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .image-preview:hover .remove-image {
            opacity: 1;
        }

        .image-preview .remove-image:hover {
            background: #E53935;
        }

        .image-preview .remove-image svg {
            width: 12px;
            height: 12px;
        }

        /* Input file hidden */
        .hidden-input {
            display: none;
        }

        /* Imagem na mensagem */
        .message-image {
            max-width: 100%;
            width: auto;
            height: auto;
            max-height: 300px;
            border-radius: 12px;
            margin-bottom: 8px;
            display: block;
            object-fit: contain;
        }

        /* Sugestões */
        .suggestions {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
            max-width: 900px;
            margin: 0 auto 20px;
            margin-top: 20px;
            transition: all 0.5s ease;
        }

        .hero.chat-mode .suggestions {
            opacity: 0;
            height: 0;
            overflow: hidden;
            margin: 0;
        }

        .suggestion-chip {
            background: white;
            color: #333;
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid #E5E5E5;
        }

        .suggestion-chip:hover {
            background: #FFE4E4;
            border-color: #E53935;
            color: #E53935;
            transform: translateY(-2px);
        }

        /* Categorias */
        .categories {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            padding: 40px 60px;
            max-width: 1200px;
            margin: 0 auto;
            transition: all 0.5s;
        }

        .categories.hidden {
            opacity: 0;
            height: 0;
            padding: 0 60px;
            overflow: hidden;
        }

        .category-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: transform 0.3s;
            min-width: 80px;
        }

        .category-item:hover {
            transform: translateY(-5px);
        }

        .category-icon {
            width: 60px;
            height: 60px;
            background: #FFE4E4;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            transition: all 0.3s;
        }

        .category-label {
            font-size: 13px;
            color: #666;
            font-weight: 500;
        }

        /* Discovery Section */
        .discovery-section {
            padding: 60px;
            background: #FAFAFA;
            transition: all 0.5s;
        }

        .discovery-section.hidden {
            opacity: 0;
            height: 0;
            padding: 0 60px;
            overflow: hidden;
        }

        @media (max-width: 768px) {

            header,
            .whatsapp-banner,
            .hero,
            .categories,
            .discovery-section {
                padding-left: 20px;
                padding-right: 20px;
            }

            .hero.chat-mode {
                padding: 75px 5px 5px;
                height: 100vh;
                height: 100dvh;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                position: fixed;
                width: 100%;
                display: flex;
                flex-direction: column;
            }

            .chat-messages {
                padding: 10px 5px 20px;
                gap: 10px;
                margin-bottom: 5px;
            }

            .chat-container {
                width: calc(100% - 10px);
                margin: 0 5px 5px;
                padding: 4px;
                border-radius: 18px;
                position: sticky;
                bottom: 0;
                background: white;
                z-index: 10;
            }

            .isa-intro {
                flex-wrap: wrap;
                gap: 6px;
            }

            .isa-text {
                font-size: 16px;
            }

            .hero-prompt {
                font-size: 28px;
                margin-bottom: 24px;
            }

            .message-content {
                max-width: 85%;
            }

            .chat-input-wrapper {
                padding: 10px 12px;
                gap: 6px;
                border-radius: 18px;
            }

            .chat-input {
                font-size: 15px;
                padding: 4px 0;
                max-height: 80px;
            }

            .send-button {
                width: 40px;
                height: 40px;
                border-radius: 10px;
            }

            .action-btn {
                width: 34px;
                height: 34px;
            }

            .action-btn svg {
                width: 18px;
                height: 18px;
            }

            .chat-icon {
                display: none;
            }

            .btn-close-chat {
                top: 80px;
                right: 8px;
                width: 32px;
                height: 32px;
            }

            .btn-close-chat svg {
                width: 16px;
                height: 16px;
            }
        }

        /* Suporte para celular em modo paisagem (landscape) */
        @media (max-width: 768px) and (orientation: landscape) {
            .hero.chat-mode {
                padding: 70px 3px 3px;
                height: 100vh;
                height: 100dvh;
                top: 0;
                display: flex;
                flex-direction: column;
            }

            .chat-messages {
                padding: 5px 5px 20px;
                gap: 8px;
            }

            .messages {
                gap: 3px;
            }

            .message-avatar {
                width: 32px;
                height: 32px;
                font-size: 16px;
            }

            .message-content {
                padding: 6px;
                font-size: 14px;
                max-width: 75%;
            }

            .chat-container {
                margin: 0 3px 3px;
                padding: 3px;
                border-radius: 16px;
            }

            .chat-input-wrapper {
                padding: 6px 10px;
                gap: 6px;
                border-radius: 16px;
            }

            .chat-input {
                font-size: 14px;
                padding: 2px 0;
                max-height: 60px;
            }

            .send-button {
                width: 36px;
                height: 36px;
                border-radius: 8px;
            }

            .send-button svg {
                width: 18px;
                height: 18px;
            }

            .action-btn {
                width: 30px;
                height: 30px;
            }

            .action-btn svg {
                width: 16px;
                height: 16px;
            }

            .btn-close-chat {
                top: 75px;
                right: 5px;
                width: 28px;
                height: 28px;
            }

            .btn-close-chat svg {
                width: 14px;
                height: 14px;
            }

            /* Company cards menores em landscape */
            .company-card {
                padding: 8px;
                font-size: 13px;
            }

            .company-name {
                font-size: 14px;
            }

            .company-address,
            .company-desc {
                font-size: 11px;
            }

            .btn-card-action {
                padding: 4px 8px;
                font-size: 11px;
            }

            /* Preview de imagem menor */
            .image-preview {
                width: 80px;
                margin-bottom: 6px;
            }

            .image-preview img {
                height: 50px;
            }

            .image-preview .preview-filename {
                font-size: 9px;
                padding: 4px;
            }

            /* Sugestões mais compactas */
            .suggestion-chip {
                padding: 6px 12px;
                font-size: 12px;
            }
        }

        /* Landscape em tablets pequenos */
        @media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
            .hero.chat-mode {
                padding: 10px;
            }

            .chat-messages {
                padding: 10px 15px 15px;
            }

            .message-content {
                max-width: 85%;
            }
        }
