/* Importando uma fonte elegante do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans:wght@300;400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f9fa;
    color: #2b2b2b;
    margin: 0;
    line-height: 1.7;
    top: 0px !important;
    margin-top: 0px !important;
    position: static !important;
}

html {
    top: 0px !important;
    margin-top: 0px !important;
    padding-top: 0px !important;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- A CAPA --- */
.hero-section {
    background-color: #0f172a;
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    border-bottom: 6px solid #eab308;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.profile-pic {
    width: 150px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #eab308;
    margin-bottom: 20px;
    object-fit: cover;
}

.hero-section h1 {
    font-family: 'Merriweather', serif;
    font-size: 3em;
    margin: 0 0 10px 0;
}

.hero-section h2 {
    font-weight: 300;
    font-size: 1.4em;
    color: #94a3b8;
    margin-top: 0;
}

.hero-contact a {
    color: #eab308;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
}

.hero-content {
    position: relative;
    z-index: 10; 
}

/* --- CONFIGURAÇÃO DO VÍDEO DE FUNDO --- */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    z-index: 2;
}

/* --- O EDITORIAL --- */
.editorial-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.section-title {
    font-family: 'Merriweather', serif;
    font-size: 2.2em;
    color: #0f172a;
    margin-bottom: 30px;
    text-align: center;
}

.lead-text {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #475569;
}

.pillars {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.pillar {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background: #f8f9fa;
    border-top: 3px solid #0f172a;
}

/* --- AS MATÉRIAS (CARDS) --- */
.experience-section {
    padding: 80px 0;
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    height: auto;
}

.card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #eab308;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateX(10px);
}

.card-header h4 {
    margin: 0;
    font-family: 'Merriweather', serif;
    font-size: 1.4em;
    color: #0f172a;
}

.company {
    font-weight: 600;
    color: #334155;
}

.date {
    float: right;
    color: #64748b;
    font-size: 0.9em;
}

/* Classes para a animação do JavaScript */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- INFOGRÁFICOS (FORMAÇÃO E COMPETÊNCIAS) --- */
.infographic-section {
    background-color: #0f172a;
    color: #f8f9fa;
    padding: 80px 0;
    margin-top: 40px;
    border-top: 4px solid #eab308;
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.infographic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.section-title-small {
    font-family: 'Merriweather', serif;
    font-size: 1.6em;
    color: #eab308;
    margin-bottom: 25px;
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
}

.education-item {
    margin-bottom: 20px;
}

.education-item h4 {
    font-size: 1.1em;
    margin: 0 0 5px 0;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.institution {
    font-size: 0.9em;
    color: #94a3b8;
    margin: 0;
    font-style: italic;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #334155;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #eab308;
    color: #0f172a;
    border-color: #eab308;
}

.lang {
    margin-bottom: 15px;
}

.lang-name {
    font-size: 0.9em;
    display: block;
    margin-bottom: 5px;
    color: #e2e8f0;
}

.bar-bg {
    background-color: #334155;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    background-color: #eab308;
    height: 100%;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .infographic-grid {
        grid-template-columns: 1fr;
    }
}

/* --- BOTÃO FLUTUANTE (FAB) --- */
.fab-container.fab-at-top {
    position: absolute;
    top: 120px;
    left: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.fab-container.is-floating {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 10000;
}

.drag-handle {
    font-size: 18px;
    color: #0f172a;
    text-align: center;
    cursor: grab;
    margin-bottom: 5px;
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    line-height: 1;
}

.fab-main {
    background-color: #eab308;
    color: #0f172a;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: grab;
}

.fab-options {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding-top: 10px;
    display: none;
    flex-direction: column;
    gap: 8px;
}

.fab-container:hover .fab-options {
    display: flex;
}

.fab-option {
    background-color: #ffffff;
    color: #0f172a;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-left: 3px solid #eab308;
    transition: all 0.2s ease;
}

.fab-option:hover {
    background-color: #f8f9fa;
    transform: translateX(18px);
}

.fab-icon { margin-right: 8px; font-size: 1.2em; }

.mobile-view { display: none; }

@media (max-width: 600px) {
    .desktop-view { display: none; }
    .mobile-view { display: inline; }
    .fab-main { padding: 12px 18px; }
}

.fab-container.dragging .fab-main { cursor: grabbing; }
.fab-container.dragging { transition: none !important; }

/* --- MENU INTRANET --- */
.hidden-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hidden-menu:hover {
    opacity: 1;
}

.menu-item {
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.menu-item:hover {
    transform: scale(1.2);
}

.menu-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.4s ease, margin 0.4s ease;
}

.hidden-menu:hover .menu-label {
    max-width: 100px;
    margin-left: 5px;
}

/* --- SEÇÃO DE PORTFÓLIO E CARTÕES EXPANSIVOS --- */
.portfolio-section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
}

.portfolio-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.portfolio-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-image {
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.card-image .image-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #eab308;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    gap: 10px;
}

.card-header {
    padding: 20px;
    position: relative;
    background: #ffffff;
    z-index: 2;
}

.card-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #0f172a;
}

.card-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.expand-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.4s ease;
    color: #eab308;
    font-size: 1.2rem;
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    background: #f8fafc;
    padding: 0 20px;
}

.portfolio-card.expanded .card-details {
    max-height: 600px;
    padding: 0 20px 20px 20px;
}

.portfolio-card.expanded .expand-icon {
    transform: translateY(-50%) rotate(180deg);
}

.detail-block {
    margin-top: 15px;
}

.detail-block h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #0f172a;
    border-left: 3px solid #eab308;
    padding-left: 8px;
}

.detail-block p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.expand-dashboard-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #eab308;
    color: #0f172a;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.expand-dashboard-btn:hover {
    background: #facc15;
    transform: translateX(-50%) scale(1.05);
}

/* --- ESTILO DO DASHBOARD EM TELA CHEIA (MODAL) --- */
.dashboard-modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0f172a;
    z-index: 999999;
}

.modal-controls {
    height: 70px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 3px solid #eab308;
}

.close-btn {
    background: #eab308;
    color: #0f172a;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.modal-tip {
    color: #94a3b8;
    font-size: 0.9em;
}

.modal-body {
    width: 100%;
    height: calc(100vh - 70px);
    background: #ffffff;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- RODAPÉ EXECUTIVO --- */
.site-footer {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 60px 20px 40px;
    scroll-snap-align: end;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-brand h4 {
    margin: 0 0 5px 0;
    color: #eab308;
    font-size: 1.2rem;
}

.footer-brand p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-compliance {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid #64748b;
}

.footer-compliance .shield-icon {
    font-size: 1.5rem;
}

.footer-compliance p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-compliance strong {
    color: #eab308;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-btn {
    display: block;
    text-align: center;
    background: #eab308;
    color: #0f172a;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-btn:hover {
    transform: translateY(-2px);
    background: #facc15;
}

.footer-btn.ghost {
    background: transparent;
    color: #f8fafc;
    border: 1px solid #475569;
}

.footer-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-compliance {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-left: none;
        border-top: 3px solid #64748b;
    }
}

/* --- SELETOR DE IDIOMAS --- */
.language-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9998;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #334155;
    transition: background 0.3s ease;
}

.language-switcher:hover {
    background: rgba(15, 23, 42, 0.95);
}

.language-switcher button {
    background: none;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.language-switcher button:hover {
    color: #eab308;
}

.language-switcher .divider {
    color: #475569;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .language-switcher {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
    }
}

/* --- BLINDAGEM ANTI-BARRA DO GOOGLE --- */
body, html {
    top: 0px !important;
    margin-top: 0px !important;
}

#google_translate_element {
    display: none !important;
}

.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.skiptranslate > iframe {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    border: none !important;
    margin: 0 !important;
}

.goog-te-balloon-frame, #goog-gt-tt {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* --- LIGHTBOX DO INFOGRÁFICO --- */
.image-zoom-container {
    position: relative;
    display: inline-block;
}

.image-zoom-container img:hover {
    transform: scale(1.02);
}

.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.8);
    color: #eab308;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-zoom-container:hover .zoom-hint {
    opacity: 1; 
}

.lightbox-modal {
    display: none; 
    position: fixed;
    z-index: 9999999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(5px);
    text-align: center;
    cursor: zoom-out;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #eab308;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #ffffff;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}