        :root {
            --bg-color: #000000;
            --chat-bg: #0c1320;
            --creative-color: #d4af37; 
            --gold-glow: rgba(212, 175, 55, 0.2);
        }

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

        body {
            background-color: var(--bg-color);
            color: #ffffff;
            font-family: 'Montserrat', sans-serif;
            height: 100vh;
            display: flex;
            flex-direction: column;
            padding: 15px;
            overflow: hidden;
        }

        /* HEADER */
        .page-header {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto 15px auto;
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            align-items: center;
        }

        .brand-block { display: flex; align-items: center; gap: 12px; }
        .brand-logo { width: 45px; height: auto; }
        .brand-text-wrapper { display: flex; flex-direction: column; }
        .brand-name { font-family: 'Bebas Neue'; font-size: 1.8rem; color: var(--creative-color); line-height: 0.9; letter-spacing: 2px; }
        .brand-tagline { font-family: 'Bebas Neue'; font-size: 0.9rem; color: #fff; letter-spacing: 3px; margin-top: 3px; }
        .header-headline { font-family: 'Bebas Neue'; font-size: 1.2rem; text-align: center; color: #fff; opacity: 0.8; }

        /* CONTAINER */
        .studio-container {
            flex: 1;
            display: grid;
            grid-template-columns: 350px 1fr;
            gap: 20px;
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
            min-height: 0;
        }

        /* CHAT */
        .chat-column {
    background: var(--chat-bg); /* Garante a cor sólida definida no :root */
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    max-height: calc(100vh - 120px);
    position: sticky;
    top: 0;
    z-index: 10; /* Garante que ele fique visualmente "acima" do conteúdo que rola */
}

        .chat-header {
            padding: 12px;
            background: rgba(212, 175, 55, 0.1);
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
            font-family: 'Bebas Neue';
            font-size: 1.1rem;
            color: var(--creative-color);
            text-align: center;
        }

        .chat-messages {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            font-size: 0.85rem;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .msg-bot { border-left: 2px solid var(--creative-color); padding-left: 10px; color: #cbd5e1; }
        .msg-user { color: var(--creative-color); font-weight: 600; text-align: right; }

        .input-area {
            padding: 12px;
            border-top: 1px solid rgba(255,255,255,0.05);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        textarea {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 4px;
            padding: 10px;
            color: white;
            font-family: 'Montserrat';
            resize: none;
            height: 70px;
            outline: none;
        }

        .btn-generate {
            background: var(--creative-color);
            color: #000;
            border: none;
            padding: 10px;
            font-family: 'Bebas Neue';
            font-size: 1.2rem;
            cursor: pointer;
            border-radius: 4px;
        }

        /* PREVIEW / DISPLAY */
        .preview-column {
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .preview-tabs {
            display: flex;
            background: rgba(0,0,0,0.3);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            overflow-x: auto;
        }

        .tab {
            padding: 12px 20px;
            font-family: 'Bebas Neue';
            cursor: pointer;
            opacity: 0.5;
            white-space: nowrap;
        }

        .tab.active { opacity: 1; color: var(--creative-color); border-bottom: 2px solid var(--creative-color); }

        .display-area {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            justify-content: center;
        }

        .proposal-paper {
            background: transparent;
            color: #ffffff;
            width: 100%;
            max-width: 850px;
            min-height: 800px;
            padding: 20px;
            font-family: 'Montserrat', sans-serif;
        }

        /* SERVICES GRID */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .service-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px var(--gold-glow);
        }

        .service-card h3 { font-family: 'Bebas Neue'; font-size: 1.6rem; color: var(--creative-color); margin-bottom: 10px; }
        .service-card p { font-size: 0.85rem; opacity: 0.7; margin-bottom: 20px; }
        .service-price { font-family: 'Bebas Neue'; font-size: 1.8rem; }

        /* Redução da altura do Header */
.page-header {
    margin: 0 auto 10px auto; /* Reduzi a margem inferior */
    padding: 5px 0; /* Padding mais apertado */
}

.brand-name { font-size: 1.5rem; } /* Diminuí levemente a fonte */
.brand-logo { width: 35px; } /* Logo menor */

/* Ajuste do Chat para não rolar com a tela */
.chat-column {
    height: 100%; /* Ocupa a altura total da coluna */
    max-height: calc(100vh - 120px); /* Trava a altura para não crescer com o conteúdo */
    position: sticky;
    top: 0;
}

/* Correção de vazamento nos inputs (Grid Interno dos Cards) */
.service-card div[style*="display: flex"] {
    flex-wrap: wrap; /* Faz os itens quebrarem linha se não couberem */
    gap: 8px !important;
}

.service-card input, .service-card select {
    min-width: 120px; /* Garante que o input não fique minúsculo */
    flex: 1; /* Faz eles crescerem igualmente */
}

        /* AGENDA TIMELINE (Modo Lista) */
        .agenda-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px;
        }

        .agenda-item {
            display: grid;
            grid-template-columns: 80px 1fr;
            align-items: center;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 0 10px var(--gold-glow);
            transition: all 0.3s ease;
        }

        .agenda-item:hover {
            border-color: var(--creative-color);
            box-shadow: 0 0 15px var(--gold-glow);
        }

        .agenda-time {
            font-family: 'Bebas Neue';
            font-size: 1.4rem;
            color: var(--creative-color);
            border-right: 1px solid rgba(212, 175, 55, 0.3);
            padding-right: 10px;
        }

        .agenda-details {
            padding-left: 20px;
        }

        .agenda-details h4 {
            font-size: 1rem;
            margin-bottom: 4px;
        }

        .agenda-details span {
            font-size: 0.8rem;
            opacity: 0.6;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .prof-tag {
            background: rgba(212, 175, 55, 0.1);
            color: var(--creative-color);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            margin-left: 10px;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }

        @media (max-width: 1000px) {
            body { overflow-y: auto; height: auto; }
            .studio-container { grid-template-columns: 1fr; display: flex; flex-direction: column; }
            .chat-column { height: 300px; }
            .preview-column { min-height: 600px; }
        }

        .btn-chat {
    background: #000; /* Fundo escuro */
    color: var(--creative-color); /* Texto amarelo/dourado */
    border: 1px solid var(--creative-color);
    padding: 10px;
    font-family: 'Bebas Neue';
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    /* Efeito de Glow */
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Este estilo só será aplicado em computadores (dispositivos com mouse) */
@media (hover: hover) {
    .btn-chat:hover {
        background: var(--creative-color);
        color: #000;
        box-shadow: 0 0 20px var(--creative-color);
    }
}

/* Para dispositivos móveis, usamos o estado :active (enquanto o dedo pressiona) */
.btn-chat:active {
    background: var(--creative-color);
    color: #000;
    transform: scale(0.98); /* Leve feedback de clique */
}
