/* ======================================================================
   CR CLEAN - ESTILOS GLOBAIS (style.css)
   ====================================================================== */
:root {
    --gold: #c9a96e;
    --gold-hover: #a07a45;
    --dark-bg: #050505;
    --panel-bg: rgba(15, 15, 17, 0.85);
    --text-main: #fdfaf6;
    --text-muted: #aaaaaa;
}

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

body { 
    font-family: 'Raleway', sans-serif; 
    background: linear-gradient(135deg, #050505 0%, #0a0a0c 50%, #050505 100%);
    color: var(--text-main); 
    overflow-x: hidden; 
    position: relative;
}

/* ================= PARTÍCULAS (FUNDAÇÃO) ================= */
#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

header, section, footer, #cr-chatbot-widget {
    position: relative;
    z-index: 1;
}

/* ================= SCROLL REVEAL ================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-left {
    transform: translateX(-40px);
}
.reveal.reveal-right {
    transform: translateX(40px);
}
.reveal.visible {
    opacity: 1;
    transform: translate(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Efeito shimmer no texto dourado dos títulos */
@keyframes shimmerGold {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.gold-shimmer {
    background: linear-gradient(90deg, var(--gold) 25%, #f0d090 50%, var(--gold) 75%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 4s linear infinite;
}

/* Counter blink cursor */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ================= BOTOES E TITULOS ================= */
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 400; text-align: center; color: var(--text-main); margin-bottom: 10px; line-height: 1.2;}
.section-subtitle { text-align: center; font-size: 0.8rem; color: var(--gold); text-transform: uppercase; letter-spacing: 4px; margin-bottom: 50px; font-weight: 600; }
.sub-heading { display: block; color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 20px; font-weight: 400; font-style: italic; }

.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%); color: #000; padding: 12px 30px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: none; border-radius: 4px; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(201,169,110,0.3); }

.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 10px 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: 0.3s; cursor: pointer; }
.btn-outline:hover { background: var(--gold); color: #000; }

/* ================= MENU PRINCIPAL - EFEITO VIDRO ================= */
.glass-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(8, 8, 10, 0.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(201, 169, 110, 0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.5); overflow: hidden; }
.water-splash-header { position: absolute; top: -100px; left: 15%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(201,169,110,0.2) 0%, transparent 65%); filter: blur(20px); border-radius: 50%; z-index: 0; animation: pulseHeaderSplash 5s infinite alternate ease-in-out; pointer-events: none; }
@keyframes pulseHeaderSplash { 0% { transform: scale(0.8) translateX(0); opacity: 0.5; } 100% { transform: scale(1.3) translateX(30px); opacity: 1; } }
.header-content { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 15px 40px; max-width: 1400px; margin: 0 auto; }
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); font-weight: 600; text-decoration: none; letter-spacing: 1px; }
.main-nav { display: flex; gap: 25px; align-items: center; }
.main-nav a { color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; position: relative; white-space: nowrap; }
.main-nav a:hover { color: var(--gold); }
.main-nav a::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--gold); transition: width 0.3s ease; box-shadow: 0 0 8px var(--gold); border-radius: 2px; }
.main-nav a:hover::after { width: 100%; }
.header-social { display: flex; gap: 15px; align-items: center; }
.header-social a { color: var(--text-main); font-size: 1.5rem; transition: 0.3s; }
.header-social a:hover { color: var(--gold); }

/* Botão de CTA no header */
.btn-header-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: #000 !important;
    padding: 9px 22px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
    animation: pulseCta 2.5s ease-in-out infinite;
}
.btn-header-cta::after { display: none !important; }
.btn-header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,169,110,0.4); color: #000 !important; }
@keyframes pulseCta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(201,169,110,0); }
}

/* ================= HERO CAROUSEL ================= */
.hero-carousel-section { position: relative; height: 80vh; min-height: 600px; width: 100vw; overflow: hidden; background-color: transparent; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity 1s ease-in-out, visibility 1s ease-in-out; z-index: 1; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-content { max-width: 800px; padding: 20px; transform: translateY(20px); opacity: 0; transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s; }
.hero-slide.active .hero-content { transform: translateY(0); opacity: 1; }
.hero-tag { display: inline-block; background: rgba(201,169,110,0.15); color: var(--gold); padding: 6px 15px; border: 1px solid rgba(201,169,110,0.3); border-radius: 30px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 20px; }
.hero-content h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--gold); line-height: 1.1; margin-bottom: 20px; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.2rem); color: #e0e0e0; margin-bottom: 35px; font-weight: 300; line-height: 1.6; }
.hero-controls { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 12px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s ease; border: 2px solid transparent; }
.hero-dot.active { background: transparent; border-color: var(--gold); transform: scale(1.3); }

/* ================= SEÇÃO DE SERVIÇOS ================= */
.services-section { padding: 100px 20px; background: linear-gradient(rgba(5,5,5,0.92), rgba(5,5,5,0.92)), url('https://images.unsplash.com/photo-1550581190-9c1c48d21d6c?auto=format&fit=crop&q=80') center/cover fixed; }
.tabs-container { max-width: 1200px; margin: 0 auto; }
.tabs-header { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 50px; }
.proc-tab { background: transparent; border: 1px solid rgba(201,169,110,0.3); color: var(--text-muted); padding: 8px 16px; font-size: 0.7rem; font-family: 'Raleway', sans-serif; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; border-radius: 4px; font-weight: 600; }
.proc-tab:hover, .proc-tab.active { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,0.05); }
.proc-panel { display: none; animation: fadeIn 0.5s ease forwards; }
.proc-panel.active { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.proc-img { flex: 1 1 400px; height: 500px; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid rgba(201,169,110,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.proc-info { flex: 1 1 500px; padding: 0 20px; }
.proc-info h3 { color: var(--text-main); font-size: 2.2rem; margin-bottom: 12px; font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.2; }
.proc-info p { color: #ccc; line-height: 1.6; margin-bottom: 25px; font-size: 0.95rem; }
.benefits-list { list-style: none; margin-bottom: 30px; }
.benefits-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: #e0e0e0; font-size: 0.9rem; }
.benefits-list i { color: var(--gold); font-size: 1.2rem; }

/* ================= FAQ ================= */
.faq-box { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
.faq-box-title { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; font-weight: 600;}
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px 0; transition: 0.3s; }
.faq-q { color: var(--text-main); font-weight: 500; font-size: 0.95rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.faq-a { display: none; color: #aaa; font-size: 0.85rem; line-height: 1.6; margin-top: 15px; padding-right: 20px; }
.faq-item.active .faq-a { display: block; animation: slideDown 0.3s ease forwards; }
.faq-item.active .faq-q i { transform: rotate(45deg); }
.faq-q i { transition: transform 0.3s ease; }

/* ================= FAIXA DE TRANSIÇÃO ================= */
.transition-banner {
    width: 100%;
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: 1px solid rgba(201,169,110,0.3);
    border-bottom: 1px solid rgba(201,169,110,0.3);
}

/* ================= QUEM SOMOS ================= */
.history-section { padding: 100px 20px; background: transparent; position: relative; }
.quem-somos-grid { display: flex; gap: 50px; align-items: center; margin-bottom: 80px; flex-wrap: wrap; }
.quem-somos-img { flex: 1 1 400px; }
.quem-somos-img img { width: 100%; border-radius: 8px; border: 1px solid rgba(201,169,110,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.quem-somos-text { flex: 1 1 500px; }
.highlight-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--gold); margin-bottom: 10px; font-weight: 600; line-height: 1.1; }
.quem-somos-text p { color: #ccc; line-height: 1.8; font-size: 1.1rem; margin-bottom: 20px; }

/* ================= DNA GRID ================= */
.dna-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 60px; }
.dna-card { background: rgba(15, 15, 17, 0.6); border: 1px solid rgba(201,169,110,0.15); border-radius: 8px; padding: 40px 30px; transition: 0.3s; text-align: left; }
.dna-card:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(20, 20, 22, 0.9); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,169,110,0.3); }
.dna-icon { font-size: 2.8rem; margin-bottom: 20px; display: block; line-height: 1; }
/* Ícones com cores distintas por card */
.dna-card:nth-child(1) .dna-icon { color: #c9a96e; }
.dna-card:nth-child(2) .dna-icon { color: #7ec8e3; }
.dna-card:nth-child(3) .dna-icon { color: #a8d8a8; }
.dna-card h4 { color: var(--text-main); font-size: 1.3rem; margin-bottom: 15px; font-family: 'Cormorant Garamond', serif; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.dna-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.dna-card ul { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; padding-left: 20px; }
.dna-card ul li { margin-bottom: 10px; }
.dna-card ul li strong { color: #fff; font-weight: 500; }

/* ================= DEPOIMENTOS ================= */
.testimonials-section { position: relative; padding: 100px 20px; background: transparent; overflow: hidden; min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.testimonials-section .container { width: 100%; position: relative; z-index: 2; }
.water-splash { position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, transparent 60%); filter: blur(40px); border-radius: 50%; z-index: 1; animation: pulseWater 6s infinite alternate ease-in-out; pointer-events: none; }
@keyframes pulseWater { 0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; } 100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } }
.testimonials-glass { position: relative; z-index: 2; background: rgba(15, 15, 17, 0.4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 50px; max-width: 800px; margin: 0 auto; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,0.6); transition: opacity 0.5s ease; }
.testimonial-content { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-style: italic; color: #fff; line-height: 1.5; margin-bottom: 30px; min-height: 100px; }
.testimonial-author .stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 10px; }
.testimonial-author span { display: block; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }

/* ================= RODAPÉ ================= */
.main-footer { background: rgba(2, 2, 2, 0.95); padding: 80px 20px 30px; border-top: 1px solid rgba(201,169,110,0.2); }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 1 1 350px; }
.footer-brand h2 { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 2.5rem; margin-bottom: 20px; }
.footer-brand p { color: #888; font-size: 0.9rem; line-height: 1.8; margin-bottom: 10px; }
.footer-contact { flex: 1 1 250px; }
.footer-contact h3 { color: var(--text-main); font-size: 1.2rem; font-family: 'Cormorant Garamond', serif; margin-bottom: 20px; border-bottom: 1px solid rgba(201,169,110,0.3); padding-bottom: 10px; display: inline-block;}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.footer-links a i { font-size: 1.5rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold); }
.seo-links-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.seo-links-grid a { font-size: 0.85rem; color: #777; }
.footer-bottom { max-width: 1200px; margin: 60px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.footer-bottom p { color: #555; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }

/* ================= CHATBOT WIDGET ================= */
#cr-chatbot-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; font-family: 'Raleway', sans-serif; }

.chat-toggle { 
    width: 65px; height: 65px; 
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    color: #000; font-size: 34px; 
    cursor: pointer; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
    position: relative; 
    transition: transform 0.3s; 
}
.chat-toggle:hover { transform: scale(1.1); }

.chat-badge { 
    position: absolute; top: 0; right: 0; 
    background: #ff5f56; color: white; 
    font-size: 12px; font-weight: bold; 
    width: 22px; height: 22px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    border: 2px solid #050505;
    animation: pulseBadge 2s ease-in-out infinite;
}
@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
}

.chat-window { 
    position: absolute; bottom: 80px; right: 0; 
    width: 360px; height: 540px; 
    background: #0f0f11; 
    border: 1px solid rgba(201,169,110,0.3); 
    border-radius: 16px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); 
    display: flex; flex-direction: column; 
    overflow: hidden; 
    opacity: 0; pointer-events: none; 
    transform: translateY(20px) scale(0.97); 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}
.chat-window.open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }

.chat-header { 
    background: linear-gradient(135deg, #16161a 0%, #1c1c22 100%); 
    padding: 15px 20px; 
    border-bottom: 1px solid rgba(201,169,110,0.15); 
    display: flex; justify-content: space-between; align-items: center; 
}
.chat-close { background: transparent; border: none; color: #888; font-size: 1.2rem; cursor: pointer; transition: color 0.3s; }
.chat-close:hover { color: #fff; }

.chat-body { 
    flex: 1; padding: 20px; 
    overflow-y: auto; 
    display: flex; flex-direction: column; gap: 12px; 
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 4px; }

.chat-msg { 
    max-width: 88%; padding: 11px 14px; 
    border-radius: 12px; font-size: 0.88rem; line-height: 1.5; 
    animation: msgFadeIn 0.3s ease forwards;
}
@keyframes msgFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.msg-bot { background: #1a1a22; color: #fff; align-self: flex-start; border-bottom-left-radius: 3px; }
.msg-bot strong { color: var(--gold); display: block; margin-bottom: 4px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.msg-user { 
    background: rgba(201,169,110,0.12); color: var(--gold); 
    align-self: flex-end; border-bottom-right-radius: 3px; 
    border: 1px solid rgba(201,169,110,0.25); 
}

/* Indicador "digitando..." */
.typing-indicator { background: #1a1a22; align-self: flex-start; padding: 14px 18px; border-radius: 12px; border-bottom-left-radius: 3px; }
.typing-dots { display: flex; gap: 5px; align-items: center; }
.typing-dots span { 
    width: 7px; height: 7px; 
    background: var(--gold); 
    border-radius: 50%; 
    opacity: 0.6;
    animation: typingBounce 1.2s infinite ease-in-out both; 
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 
    30%            { transform: translateY(-6px); opacity: 1; } 
}

/* Área de botões - estilo chips/pill */
.chat-input-area { 
    padding: 12px 15px; 
    background: #13131a; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    display: flex; flex-wrap: wrap; gap: 8px; 
    justify-content: flex-start; 
    min-height: 56px;
}
.chat-btn { 
    background: transparent; 
    border: 1px solid rgba(201,169,110,0.45); 
    color: var(--gold); 
    padding: 7px 14px; 
    border-radius: 20px; 
    font-size: 0.82rem; 
    cursor: pointer; 
    transition: 0.25s; 
    display: inline-flex; align-items: center; gap: 6px; 
    white-space: nowrap; 
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}
.chat-btn i { font-size: 1rem; }
.chat-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); transform: translateY(-1px); }

/* ================= ANIMAÇÕES GLOBAIS ================= */
@keyframes fadeIn   { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ================= MEDIA QUERIES ================= */
@media (max-width: 900px) { 
    .main-nav { display: none; } 
    .header-content { padding: 15px 20px; }
    .proc-img { height: 300px; } 
    .proc-info { padding: 0; } 
    #cr-chatbot-widget { right: 15px; bottom: 20px; } 
    .chat-window { width: calc(100vw - 30px); right: 0; bottom: 75px; height: 480px; }
    .quem-somos-grid { flex-direction: column; text-align: center; }
    .section-subtitle { text-align: center !important; }
    .highlight-title { text-align: center !important; }
    .testimonial-content { font-size: 1.4rem; }
    .testimonials-glass { padding: 30px 20px; }
    .btn-header-cta { display: none; }
}
