/* 
   UMIMBAE - GLOBAL STYLESHEET 
   Version: 5.0 (New Journey Integration)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Space+Grotesk:wght@500;700&display=swap');

/* --- 1. VARIÁVEIS & CORES --- */
:root {
    color-scheme: dark;
    --color-bg: #1A1412;        /* Dark Earth */
    --color-text: #F0EAE5;      /* Bone White */
    --color-accent: #C75B39;    /* Terracotta */
    --color-secondary: #4A5D23; /* Moss Green */
    --color-black: #0d0a09;     /* Deep Black */
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --transition-fast: 0.3s ease;
}

/* --- 2. RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* --- 3. TIPOGRAFIA --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); text-transform: uppercase; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; color: var(--color-accent); }
p { margin-bottom: var(--spacing-md); opacity: 0.9; max-width: 70ch; }
.lead { font-size: 1.25rem; font-weight: 300; }

/* --- 4. LAYOUT --- */
.container { width: 90%; max-width: var(--container-width); margin: 0 auto; padding: 0 var(--spacing-sm); }
.section-padding { padding: var(--spacing-xl) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-md); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-md); }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.mt-large { margin-top: 4rem; }
.mt-medium { margin-top: 2rem; }
.mb-large { margin-bottom: var(--spacing-lg); }
.mb-medium { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* --- 5. COMPONENTES --- */
.btn {
    display: inline-block; padding: 1rem 2rem; background: transparent;
    border: 1px solid var(--color-text); color: var(--color-text);
    font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; position: relative; overflow: hidden; z-index: 1;
}
.btn::after {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background-color: var(--color-accent); transition: var(--transition-fast); z-index: -1;
}
.btn:hover { border-color: var(--color-accent); }
.btn:hover::after { width: 100%; }
.btn-primary { background-color: var(--color-accent); border-color: var(--color-accent); }
.btn-primary:hover { background-color: var(--color-secondary); border-color: var(--color-secondary); }
.btn-sm { padding: 0.5rem 1.5rem; font-size: 0.85rem; }
.btn-link { margin-top: 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--color-accent); padding-bottom: 2px; }

.login-circle {
    display: flex !important; /* Flex para centralizar o ícone perfeitamente */
    align-items: center;
    justify-content: center;
    width: 36px;              /* Largura do círculo */
    height: 36px;             /* Altura (igual à largura para ser redondo) */
    border-radius: 50%;       /* Deixa perfeitamente redondo */
    background-color: color-mix(in srgb, var(--color-accent) 95%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borda sutil */
    color: #fff; /* Cor do ícone (branco para contraste) */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    }

    /* Efeito ao tocar/clicar */
.login-circle:hover,
.login-circle:active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: rgba(199, 91, 57, 0.1); /* Fundo Terracotta bem levinho */
    transform: translateY(-2px); /* Leve pulinho de feedback */
    }

.card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-fast);
    height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); border-color: var(--color-accent); }
.card-image { width: 100%; height: 250px; object-fit: cover; background-color: var(--color-black); }
.card-content { padding: var(--spacing-md); }

.tag {
    font-size: 0.75rem; text-transform: uppercase; padding: 0.25rem 0.5rem;
    border: 1px solid var(--color-secondary); color: var(--color-secondary);
    margin-bottom: 0.5rem; display: inline-block;
}

/* --- 6. CARD PROJETO (GLOBAL) --- */
.project-card-inner {
    position: relative; overflow: hidden; height: 300px; 
    border: 1px solid rgba(255,255,255,0.1); cursor: pointer; background-color: var(--color-bg);
}
.project-card-inner .project-img {
    width: 100%; height: 100%;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    transition: transform 0.5s ease, filter 0.5s ease;
    object-fit: cover;
}
.project-card-inner .project-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 1.5rem; opacity: 0; transition: opacity 0.3s ease; z-index: 10;
}
/* Hover Padrão */
.project-card-inner:not(.has-color):hover .project-img { transform: scale(1.1); filter: blur(5px); }
.project-card-inner:not(.has-color) .project-overlay { background: rgba(26, 20, 18, 0.9); }
/* Hover Cor */
.project-card-inner.has-color:hover .project-img { transform: scale(1.1); filter: none; }
/* Overlay aparece sempre */
.project-card-inner:hover .project-overlay { opacity: 1; }

/* --- 7. JORNADA INTERATIVA (NOVA SEÇÃO) --- */
.journey-intro { padding: 5rem 1rem; text-align: center; position: relative; z-index: 20; background: var(--color-bg); }
.journey-section { height: 500vh; position: relative; width: 100%; background-color: var(--color-bg); }

.sticky-viewport { 
    position: sticky; top: 0; height: 100vh; width: 100%; 
    overflow: hidden; display: flex; align-items: center; justify-content: center; 
}

#journey-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.journey-content { 
    position: relative; z-index: 10; width: 100%; max-width: 900px; height: 100vh;
    display: flex; flex-direction: column; justify-content: center; 
}

.steps-container {
    position: relative;
    width: 100%;
    height: 80vh;
}

.journey-step {
    position: absolute; width: 100%; left: 0;
    display: flex; align-items: center; justify-content: center; gap: 50px;
    opacity: 0; transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.step-1 { top: 0%; }
.step-2 { top: 25%; }
.step-3 { top: 50%; }
.step-4 { top: 75%; }
.step-5 { top: 100%; transform: translateY(-100%); }

.step-icon {
    width: 80px; height: 80px; flex-shrink: 0;
    background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #000; z-index: 15;
    box-shadow: 0 0 0 10px var(--color-bg);
    transition: transform 0.5s ease;
    position: absolute; left: 50%; transform: translateX(-50%);
}

.step-card {
    width: 320px; position: absolute;
    background: rgba(30, 25, 23, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08); padding: 1.5rem 2rem; border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease; opacity: 0; transform: translateY(10px);
}
.step-card h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1.3rem; }
.step-card p { font-size: 0.95rem; opacity: 0.8; margin: 0; color: #F0EAE5; }

.step-1 .step-card, .step-3 .step-card, .step-5 .step-card { right: 55%; text-align: right; }
.step-2 .step-card, .step-4 .step-card { left: 55%; text-align: left; }

@media (max-width: 768px) {
    .journey-step { justify-content: flex-start; padding-left: 20px; gap: 0; }
    .step-icon { left: 40px; transform: translateX(-50%); width: 60px; height: 60px; font-size: 1.5rem; }
    .step-card { position: relative; left: auto !important; right: auto !important; margin-left: 50px; width: calc(100% - 70px); text-align: left !important; background: rgba(20, 15, 13, 0.9); padding: 1rem; }
    .journey-step.active .step-icon { transform: translateX(-50%) scale(1.1); }
    .step-1 { top: 0%; } .step-2 { top: 22%; } .step-3 { top: 44%; } .step-4 { top: 66%; } .step-5 { top: 88%; }
}

.journey-step.active { opacity: 1; transform: translateY(0); }
.journey-step.active .step-icon { background: var(--color-accent); color: #fff; animation: deepPulse 3s infinite ease-in-out; }
@media (min-width: 769px) { .journey-step.active .step-icon { transform: translateX(-50%) scale(1.15); } }
.journey-step.active .step-card { opacity: 1; transform: translateY(0); border-color: rgba(199, 91, 57, 0.4); }
.journey-step.active h3 { color: var(--color-accent); }

@keyframes deepPulse { 0%, 100% { box-shadow: 0 0 20px var(--color-accent); } 50% { box-shadow: 0 0 50px var(--color-accent); } }

/* --- 8. HEADER & NAV --- */
.site-header { position: fixed; top: 0; width: 100%; z-index: 1000; background-color: rgba(26, 20, 18, 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 1rem 0; transition: transform 0.5s ease, opacity 0.5s ease; }
.site-header.header-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.05em; text-transform: uppercase; }
.desktop-nav ul li { margin-left: 2rem; }
.desktop-nav a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; }
.desktop-nav a:hover, .desktop-nav a.active { opacity: 1; color: var(--color-accent); }

/* --- DROPDOWN MENU --- */
.dropdown { position: relative; }
.dropdown-trigger {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
    opacity: 0.8; cursor: pointer; display: flex; align-items: center; gap: 0.3rem;
    font-family: var(--font-body); color: var(--color-text);
    transition: var(--transition-fast); user-select: none;
}
.dropdown-trigger:hover { opacity: 1; color: var(--color-accent); }
.dropdown-trigger .ph-caret-down { font-size: 0.75rem; transition: transform 0.3s ease; }
.dropdown:hover .dropdown-trigger { opacity: 1; color: var(--color-accent); }
.dropdown:hover .dropdown-trigger .ph-caret-down { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%);
    background: rgba(20, 15, 13, 0.97); border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    min-width: 180px; padding: 0.5rem 0; border-radius: 8px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 9999; box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.dropdown-menu::before {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 12px; background: rgba(20, 15, 13, 0.97);
    border-left: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateX(-50%) rotate(45deg);
}
/* Transparent spacer between trigger and menu so hover doesn't break */
.dropdown-menu::after {
    content: ''; position: absolute; top: -12px; left: 0; width: 100%; height: 12px;
}
.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
}
.dropdown:nth-child(1) .dropdown-menu { transform: translateX(-50%) translateY(-8px); }
.dropdown:hover .dropdown-menu { transform: translateX(-50%) translateY(0); }

.dropdown-menu li { margin-left: 0 !important; }
.dropdown-menu a {
    display: block; padding: 0.6rem 1.2rem; font-size: 0.82rem;
    opacity: 0.75; white-space: nowrap; transition: var(--transition-fast);
}
.dropdown-menu a:hover {
    opacity: 1; color: var(--color-accent); background: rgba(255,255,255,0.04);
}
/* --- CORREÇÃO DEFINITIVA DO LOGIN HOVER --- */

.btn-login {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10; /* Garante que o botão esteja acima */
    transition: all 0.3s ease;
}

/* 1. MATA a animação de slide do botão genérico (.btn::after) */
.btn-login::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
}

/* 2. Define o Hover Limpo e Legível */
.btn-login:hover {
    background-color: transparent !important; /* Fundo continua transparente */
    border-color: var(--color-accent) !important; /* Borda vira Terracotta */
    color: var(--color-text) !important; /* Texto vira Terracotta */
    box-shadow: 0 0 15px rgba(199, 91, 57, 0.3); /* Glow suave */
    transform: translateY(-2px); /* Leve subida para feedback */
}

/* 3. Garante que o ícone dentro mude junto */
.btn-login:hover i {
    color: var(--color-accent) !important;
}
.mobile-menu-btn, .close-menu-btn { display: none; background: none; border: none; color: var(--color-text); font-size: 1.2rem; cursor: pointer; line-height: 1; padding: 0.25rem; transition: color 0.3s ease; }
.mobile-menu-btn:hover, .close-menu-btn:hover { color: #fff; }
.mobile-nav-backdrop, .mobile-nav-panel { display: none; }

/* --- MOBILE SLIDE PANEL (direita, igual Umidaw) --- */
@media (max-width: 900px) {
    .mobile-menu-btn { display: block; font-size: 2rem; }
    .close-menu-btn { display: block; }
    .desktop-nav { display: none !important; }

    .mobile-nav-backdrop { position: fixed; inset: 0; z-index: 8999; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; display: block; }
    .mobile-nav-backdrop.open { opacity: 1; visibility: visible; }

    .mobile-nav-panel { display: block; position: fixed; top: 0; right: 0; z-index: 9000; height: 100vh; width: 270px; background: #0d0a09; border-left: 1px solid rgba(255,255,255,0.1); box-shadow: -8px 0 40px rgba(0,0,0,0.6); transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); overflow-y: auto; color: #fff; }
    .mobile-nav-panel.open { transform: translateX(0); }

    .panel-accent-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--color-accent), transparent); }

    .panel-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .panel-header .panel-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); }

    .panel-nav { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }

    .cascade-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.25); margin-bottom: 0.25rem; transform: translateX(-0.5rem); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; }
    .mobile-nav-panel.open .cascade-label { transform: translateX(0); opacity: 1; }

    .panel-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: var(--color-text); font-size: 0.85rem; font-weight: 600; transform: translateX(2.5rem); opacity: 0; transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
    .panel-link:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #fff; }
    .mobile-nav-panel.open .panel-link { transform: translateX(0); opacity: 1; }    
    .panel-link i { color: #fff !important; }

    .panel-link--accent { background: rgba(199,91,57,0.08) !important; border-color: rgba(199,91,57,0.15) !important; color: var(--color-accent) !important; }
    .panel-link--accent:hover { background: rgba(199,91,57,0.15) !important; border-color: rgba(199,91,57,0.3) !important; }

    .panel-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 0.5rem 0; opacity: 0; transition: opacity 0.3s ease; }
    .mobile-nav-panel.open .panel-divider { opacity: 1; }

    /* Footer */
    .footer-responsive { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- 11. HOME HERO --- */
.hero-section { position: relative; height: 100vh; width: 100%; overflow: hidden; padding-top: 80px; display: flex; justify-content: center; align-items: center; }
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 10; max-width: 800px; }
.hero-title { margin-bottom: 1.5rem; line-height: 1.1; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; opacity: 0.5; font-size: 1.5rem; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);} 40% {transform: translateX(-50%) translateY(-10px);} 60% {transform: translateX(-50%) translateY(-5px);} }

/* --- 12. PERFIL --- */
.profile-img-placeholder { width: 100%; height: 400px; background-color: #0d0a09; border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; justify-content: center; align-items: center; color: rgba(255,255,255,0.3); }
.profile-image-container { position: relative; }
.profile-image-container::after { content: ''; position: absolute; bottom: -20px; right: -20px; width: 100%; height: 100%; border: 2px solid var(--color-accent); z-index: -1; }
.skill-group { margin-bottom: 2rem; }
.skill-bar-container { margin-bottom: 1rem; }
.skill-bar-container small { font-family: var(--font-heading); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 0.25rem; display: block; }
.skill-bar { width: 100%; height: 6px; background-color: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.skill-bar .fill { height: 100%; background-color: var(--color-accent); border-radius: 3px; width: 0; animation: fillBar 1.5s ease-out forwards; }
@keyframes fillBar { from { width: 0; } }
.gear-list { display: grid; gap: 1.5rem; }
.gear-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background-color: rgba(255,255,255,0.02); border-left: 2px solid var(--color-text); }
.gear-item i { font-size: 1.5rem; color: var(--color-accent); margin-top: 0.2rem; }
.gear-item strong { display: block; margin-bottom: 0.25rem; color: var(--color-text); }
.gear-item p { font-size: 0.9rem; margin-bottom: 0; opacity: 0.7; }
.gear-item.highlight-item { border-color: var(--color-secondary); background: linear-gradient(90deg, rgba(74, 93, 35, 0.1), transparent); }

/* --- 13. FILTROS --- */
.portfolio-filters { gap: 1rem; flex-wrap: wrap; display: flex; justify-content: center; margin-bottom: var(--spacing-lg); }
.filter-btn { -webkit-appearance: none; appearance: none; background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--color-text); padding: 0.5rem 1.5rem; border-radius: 50px; cursor: pointer; font-family: var(--font-body); font-size: 0.9rem; transition: all 0.3s ease; display: inline-block; }
.filter-btn:hover, .filter-btn.active { background-color: var(--color-text); color: var(--color-bg); border-color: var(--color-text); font-weight: 600; }

/* --- 14. FORMULÁRIOS --- */
.info-blocks { display: flex; flex-direction: column; gap: 2rem; }
.info-item { display: flex; gap: 1rem; }
.info-item i { font-size: 1.5rem; color: var(--color-accent); }
.umimbae-form { background-color: rgba(255,255,255,0.02); padding: 2rem; border: 1px solid rgba(255,255,255,0.1); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-family: var(--font-heading); letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; background-color: #0d0a09 !important; border: 1px solid rgba(255,255,255,0.1); color: var(--color-text); font-family: var(--font-body); font-size: 1rem; border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color 0.3s ease; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { -webkit-box-shadow: 0 0 0 30px #0d0a09 inset !important; -webkit-text-fill-color: #F0EAE5 !important; transition: background-color 5000s ease-in-out 0s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); }
.full-width { width: 100%; text-align: center; }
.success-message { text-align: center; padding: 3rem 2rem; background-color: rgba(74, 93, 35, 0.1); border: 1px solid var(--color-secondary); }

/* --- 15. ANIMAÇÕES --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- OTIMIZAÇÃO EDITORIAL (BLOG) --- */
.post-body {
    font-size: 1.1rem;
    line-height: 1.8; /* Aumenta o espaço entre as linhas */
    letter-spacing: -0.01em;
    color: rgba(240, 234, 229, 0.9); /* Branco osso levemente suave */
}

.post-body p {
    margin-bottom: 1.8rem; /* Espaço maior entre parágrafos */
}

/* Ajuste específico para imagens dentro do texto */
.post-body img {
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Mobile First: Ajuste para telas pequenas */
@media (max-width: 768px) {
    .post-body {
        font-size: 1.05rem; /* Diminui um pouco em telas minúsculas */
        line-height: 1.7;
    }
    
    /* Garante que títulos longos não quebrem o layout */
    .post-header h1 {
        font-size: 2rem;
        word-wrap: break-word;
    }
}

/* --- Tela de Conversão --- */
.oracle-option.selected {
        background: var(--color-accent) !important;
        border-color: #fff !important;
        color: #fff !important;
    }
    .oracle-option.selected i {
        color: #fff !important;
    }

.oracle-option strong {
        font-size: 1.1rem;
        color: var(--color-text);
    }
    .oracle-option small {
        opacity: 0.6;
        font-size: 0.85rem;
    }
    .selected small {
        opacity: 0.9 !important;
        color: #fff;
    }
    
/* Grid específico para o Passo 3 */
    .oracle-grid-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 Colunas iguais */
        gap: 1rem;
    }

    .objective-card {
        min-height: 240px; /* Força o mesmo tamanho vertical */
        justify-content: center !important; /* Centraliza conteúdo verticalmente */
        text-align: center;
        padding: 1.5rem !important;
    }

    /* O ícone dentro do círculo centralizado */
    .step-icon-circle {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        font-size: 1.5rem;
        color: var(--color-accent);
        transition: all 0.3s ease;
    }

    .selected .step-icon-circle {
        background: #fff !important;
        border-color: #fff !important;
    }

    .selected .step-icon-circle i {
        color: var(--color-accent) !important;
    }

    /* Responsividade Mobile */
    @media (max-width: 768px) {
        .oracle-grid-steps {
            grid-template-columns: 1fr; /* Empilha verticalmente no mobile */
        }
        .objective-card {
            min-height: auto; /* No mobile o tamanho pode ser orgânico */
            padding: 2rem 1rem !important;
        }
    }
    
/* --- ESTILO BASE DO BOTÃO (Visual) --- */
    .btn-orcamento-header,
    /* --- CLASSE UTILITÁRIA PARA ESCONDER NO DESKTOP --- */
    .mobile-only {
        display: none !important;
    }

/* --- LÓGICA MOBILE (CORRIGIDA) --- */
@media (max-width: 900px) {
    .btn-orcamento-header,
    .mobile-only {
        display: inline-block !important;
    background: transparent; 
    color: var(--color-text);
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: none;
    margin-right: 0.5rem;
    transition: var(--transition-fast);
    white-space: nowrap;
    opacity: 0.9;
    }
    
    .btn-orcamento-header:active,
    .btn-orcamento-header:hover {
        color: var(--color-accent);
        background: transparent;
        transform: none;
    }
    
        .header-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
    }

    /* --- BOTÃO DE LOGIN CIRCULAR (MOBILE) --- */

    /* 1. Esconde no Desktop por padrão */
    .mobile-login-circle {
        display: none !important; 
    }

    /* 2. Mostra e formata no Mobile */
    @media (max-width: 900px) {
        .mobile-login-circle {
            display: flex !important; /* Flex para centralizar o ícone perfeitamente */
            align-items: center;
            justify-content: center;
            width: 36px;              /* Largura do círculo */
            height: 36px;             /* Altura (igual à largura para ser redondo) */
            border-radius: 50%;       /* Deixa perfeitamente redondo */
            background-color: color-mix(in srgb, var(--color-accent) 75%, transparent);
            border: 1px solid rgba(255, 255, 255, 0.3); /* Borda sutil */
            color: var(--color-text); /* Cor do ícone (Osso) */
            font-size: 1.1rem;        /* Tamanho do ícone */
            transition: all 0.3s ease;
            text-decoration: none;
        }

        /* Efeito ao tocar/clicar */
        .mobile-login-circle:hover,
        .mobile-login-circle:active {
            border-color: var(--color-accent);
            color: var(--color-accent);
            background-color: rgba(199, 91, 57, 0.1); /* Fundo Terracotta bem levinho */
            transform: translateY(-2px); /* Leve pulinho de feedback */
        }
    }

/* Ajuste no Header Actions */
    .header-actions {
        align-items: center;
    }
    
    /* --- WIDGET FLUTUANTE 2.0 (Hover-to-Reveal) --- */
    #floating-cta {
        position: fixed; bottom: 30px; right: 30px; z-index: 900;
        transition: transform 0.5s ease, opacity 0.5s ease;
    }
    
    /* Esconde quando a Jornada está na tela (controlado via JS) */
    #floating-cta.hide-cta { opacity: 0; pointer-events: none; transform: translateY(20px); }
    
    .cta-button {
        background: var(--color-accent);
        color: #fff;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        display: flex; align-items: center;
        padding: 0; /* Padding controlado internamente */
        overflow: hidden; /* Esconde o texto */
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); /* Animação elástica */
        width: 60px; /* Largura inicial (só o ícone) */
        height: 60px;
    }
    
    /* Ícone sempre visível */
    .cta-icon-box {
        width: 60px; height: 60px; flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.6rem;
    }
    
    /* Texto Escondido */
    .cta-text {
        white-space: nowrap;
        opacity: 0;
        font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
        transform: translateX(20px);
        transition: all 0.3s ease;
        width: 0; /* Garante que não ocupe espaço */
    }
    
    /* ESTADO EXPANDIDO (HOVER ou CLIQUE) */
    .cta-button:hover, .cta-button.expanded {
        width: 240px; /* Largura suficiente para o texto */
        background-color: #e06b45;
    }
    
    .cta-button:hover .cta-text, .cta-button.expanded .cta-text {
        opacity: 1;
        transform: translateX(0);
        width: auto;
        padding-left: 1.5rem; /* Espaço na esquerda do texto */
    }
    
    /* Mobile: Ajuste de posição */
    @media (max-width: 768px) {
        #floating-cta { bottom: 20px; right: 20px; }
    }
    
    /* --- TRUQUE: TRANSFORMAR LINKS EM BOTÕES --- */
    /* Se o link terminar com #btn, ele vira um botão primário */
    .lesson-body a[href*="#btn"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-accent);
        color: #fff !important; /* Força branco */
        text-decoration: none !important;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 1rem 0;
        box-shadow: 0 4px 15px rgba(199, 91, 57, 0.3);
        transition: transform 0.2s ease;
    }
    
    .lesson-body a[href*="#btn"]:hover {
        transform: translateY(-3px);
        filter: brightness(1.1);
    }
    
    /* Se o link terminar com #btn-outline, vira botão vazado */
    .lesson-body a[href*="#btn-outline"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        border: 1px solid rgba(255,255,255,0.3);
        color: #fff !important;
        text-decoration: none !important;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        margin: 1rem 0;
        transition: all 0.2s ease;
    }
    
    .lesson-body a[href*="#btn-outline"]:hover {
        border-color: var(--color-accent);
        color: var(--color-accent) !important;
    }
    
    .mobile-nav-panel--padded {
    padding-bottom: 80px; /* Adiciona um padding extra para a barra de navegação virtual */
}

/* --- EFFECT: GLITCH --- */
    .glitch-wrapper { position: relative; display: inline-block; }
    .glitch { font-family: var(--font-display); font-size: clamp(3.5rem, 12vw, 9.5rem); line-height: 0.8; font-weight: 800; text-transform: uppercase; color: #fff; position: relative; }
    .glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.8; }
    .glitch::before { left: 2px; text-shadow: -2px 0 #ff00c1; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim 5s infinite linear alternate-reverse; }
    .glitch::after { left: -2px; text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim2 5s infinite linear alternate-reverse; }
    @keyframes glitch-anim { 0% { clip: rect(31px, 9999px, 94px, 0); } 5% { clip: rect(70px, 9999px, 71px, 0); } 10% { clip: rect(29px, 9999px, 83px, 0); } 15% { clip: rect(16px, 9999px, 91px, 0); } 20% { clip: rect(2px, 9999px, 23px, 0); } 25% { clip: rect(10px, 9999px, 10px, 0); } 100% { clip: rect(67px, 9999px, 62px, 0); } }
    @keyframes glitch-anim2 { 0% { clip: rect(65px, 9999px, 100px, 0); } 5% { clip: rect(52px, 9999px, 54px, 0); } 10% { clip: rect(79px, 9999px, 85px, 0); } 100% { clip: rect(13px, 9999px, 18px, 0); } }