/* template/tema1/css/style.css */
/* ESTILOS GLOBAIS DO TEMPLATE TEMA1 */

:root {
    --gold-primary: #d4af37;
    --gold-secondary: #f9e076;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --dark-bg: #0a0a0a;
    --dark-surface: rgba(18, 18, 18, 0.95);
    --light-text: #ffffff;
    --muted-text: #b0b0b0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--dark-bg);
}

.main-content {
    width: 100%;
    min-height: 100vh;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    position: relative;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(120, 119, 116, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(120, 119, 116, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(120, 119, 116, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 100%);
}

.hero-center {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: var(--light-text);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { 
    animation-delay: 0.2s; 
}

.title-line:nth-child(2) { 
    animation-delay: 0.4s; 
}

.title-line:nth-child(3) { 
    animation-delay: 0.6s; 
    background: linear-gradient(135deg, var(--light-text) 0%, var(--gold-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-line:nth-child(3)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    filter: blur(1px);
}

.hero-description {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--muted-text);
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 1s forwards;
    justify-content: center;
    flex-wrap: wrap;
}

/* BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.3rem 3rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: var(--dark-bg);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--gold-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* EFEITOS DE LUZ */
.light-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.light-beam {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.1) 50%, 
        transparent 100%);
    filter: blur(10px);
    animation: beamMove 8s ease-in-out infinite;
}

.beam-1 {
    top: 20%;
    left: -100px;
    width: 300px;
    height: 2px;
    animation-delay: 0s;
}

.beam-2 {
    top: 60%;
    right: -100px;
    width: 400px;
    height: 1px;
    animation-delay: 2s;
}

.beam-3 {
    bottom: 30%;
    left: 50%;
    width: 200px;
    height: 3px;
    animation-delay: 4s;
}

@keyframes beamMove {
    0%, 100% { 
        opacity: 0;
        transform: translateX(-100px);
    }
    50% { 
        opacity: 0.6;
        transform: translateX(100px);
    }
}

.light-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(212, 175, 55, 0.05) 40%, 
        transparent 70%);
    animation: glowPulse 6s ease-in-out infinite;
}

.glow-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.glow-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
    animation-delay: 3s;
}

@keyframes glowPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* PÁGINA HERO */
.page-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.3rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* CONTATO */
.contato-section {
    padding: 4rem 0;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-box {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.info-box h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

.contato-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn-contato {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #f9e076 100%);
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-contato:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.mapa-section {
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.mapa-container {
    border-radius: 10px;
    overflow: hidden;
}

/* SOBRE */
.content-section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.section-grid:nth-child(even) .text-content {
    order: 2;
}

.section-grid:nth-child(even) .image-content {
    order: 1;
}

.text-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0b0b0;
}

.image-content {
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.image-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.image-placeholder {
    color: #666;
    font-size: 1.2rem;
}

.valores-section {
    padding: 5rem 0;
    background: rgba(255,255,255,0.02);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.valor-card {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.valor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.valor-card.vazio {
    display: none;
}

/* EQUIPE */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.membro-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.membro-card:hover {
    transform: translateY(-5px);
}

.membro-foto {
    height: 300px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.membro-foto img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.foto-placeholder {
    font-size: 4rem;
    opacity: 0.5;
}

.membro-info {
    padding: 2rem;
}

.membro-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cargo {
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.formacao {
    color: #b0b0b0;
    font-style: italic;
    margin-bottom: 1rem;
}

.membro-contato {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

/* ÁREAS DE ATUAÇÃO */
.areas-section {
    padding: 5rem 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.area-card {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.area-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.area-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.area-services {
    list-style: none;
    margin-top: 1.5rem;
}

.area-services li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #b0b0b0;
}

.area-services li:last-child {
    border-bottom: none;
}

/* BLOG */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.6);
}

.post-foto {
    height: 250px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.post-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-foto img {
    transform: scale(1.05);
}

.post-info {
    padding: 1.5rem;
}

.post-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #d4af37;
}

.post-resumo {
    color: #b0b0b0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.post-data {
    color: #d4af37;
    font-size: 0.9rem;
}

/* MODAL BLOG */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    width: 95%;
    max-width: 1000px;
    max-height: 95vh;
    overflow-y: auto;
    border: 2px solid rgba(212, 175, 55, 0.4);
    position: relative;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #1a1a1a;
    z-index: 10;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0;
    color: #d4af37;
    line-height: 1.3;
}

.close {
    color: #aaa;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: #d4af37;
}

.modal-body {
    padding: 0 1.5rem 1.5rem;
}

.modal-galeria {
    position: relative;
    margin-bottom: 2rem;
}

.modal-foto-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 1rem;
}

.modal-foto-principal {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.galeria-controles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.galeria-btn {
    background: rgba(212, 175, 55, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.galeria-btn:hover {
    background: rgba(212, 175, 55, 0.6);
}

.galeria-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.galeria-contador {
    color: #d4af37;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
}

.galeria-miniaturas {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.miniatura {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.miniatura:hover {
    opacity: 0.8;
}

.miniatura.ativa {
    opacity: 1;
    border-color: #d4af37;
}

.modal-conteudo {
    line-height: 1.6;
    color: #e0e0e0;
    font-size: 1rem;
    white-space: pre-line;
    word-wrap: break-word;
}

.modal-conteudo p {
    margin-bottom: 1rem;
}

.modal-conteudo h1,
.modal-conteudo h2,
.modal-conteudo h3 {
    color: #d4af37;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

/* CHAT */
.chat-container {
    width: 100%;
    max-width: 800px;
    height: 85vh;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.chat-header {
    background: rgba(212, 175, 55, 0.2);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-title {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.chat-status {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: calc(85vh - 200px);
}

.message {
    max-width: 70%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.message.cliente {
    align-self: flex-end;
    background: rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.message.admin {
    align-self: flex-start;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.message.sistema {
    align-self: center;
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff6464;
    text-align: center;
    font-style: italic;
    max-width: 80%;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
}

.message-time {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.5rem;
    text-align: right;
}

.chat-input-area {
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
}

.chat-input-container {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.chat-input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 1rem;
    color: #ffffff;
    font-size: 1rem;
    resize: none;
    height: 80px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255,255,255,0.15);
}

.chat-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.chat-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    font-weight: 600;
}

.chat-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.chat-btn-enviar {
    background: #d4af37;
    color: #000;
}

.chat-btn-enviar:hover:not(:disabled) {
    background: #c19b2a;
    transform: translateY(-1px);
}

.chat-btn-encerrar {
    background: rgba(255, 100, 100, 0.3);
    color: #ff6464;
    border: 1px solid rgba(255, 100, 100, 0.5);
}

.chat-btn-encerrar:hover:not(:disabled) {
    background: rgba(255, 100, 100, 0.5);
    transform: translateY(-1px);
}

.form-inicial {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255,255,255,0.15);
}

.btn-iniciar {
    width: 100%;
    background: #d4af37;
    color: #000;
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-iniciar:hover:not(:disabled) {
    background: #c19b2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-iniciar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.aguardando {
    text-align: center;
    padding: 3rem;
    color: #b0b0b0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.aguardando .spinner {
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

.aguardando p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.posicao-fila {
    font-size: 1rem;
    color: #d4af37;
    margin-top: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.chat-finalizado {
    text-align: center;
    padding: 3rem;
    color: #ff6464;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chat-finalizado h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff6464;
}

.chat-finalizado p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar personalizada */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.7);
}

.alert-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 100, 100, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contato-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-contato {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-hero {
        height: 30vh;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .equipe-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 98%;
        margin: 1% auto;
    }
    
    .modal-foto-container {
        height: 300px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .galeria-miniaturas {
        gap: 0.3rem;
    }
    
    .miniatura {
        width: 50px;
        height: 50px;
    }
    
    .modal-conteudo {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}