:root {
    --primary: #1C72B2;    /* Azul Principal */
    --primary-dark: #104770; /* Azul Escuro Harmonioso */
    --secondary: #B63870;  /* Rosa Secundário */
    --accent: #BA4320;     /* Laranja de Destaque */
    --text: #1A2C38;       /* Texto Azul-Escuro Elegante */
    --light: #F0F5FA;      /* Fundo Azul-Gelo Suave */
    --white: #FFFFFF;
    --font-main: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

canvas {
    display: block;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    background: transparent; /* Inicialmente transparente */
    transition: all 0.4s ease; /* Transição suave para a mudança de cor */
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Sombra sempre visível */
}

header.header-scrolled {
    background: var(--secondary); /* Fica verde ao rolar */
    padding: 15px 5%; /* Fica um pouco mais compacto */
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    transition: color 0.3s;
    color: var(--white); /* Texto sempre branco para contrastar com azul e verde */
}

nav ul li a:hover {
    color: var(--accent); /* Acende amarelo ao passar o mouse */
}

nav ul li a.active {
    color: var(--accent); /* Fica amarelo quando a seção está ativa */
    font-weight: 800; /* Destaque extra para o link ativo */
}

.btn-entrar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px; /* Bordas bem arredondadas para um visual moderno */
    border: 2px solid var(--white);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-entrar:hover {
    background: var(--white);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-entrar svg {
    transition: transform 0.3s ease;
}

.btn-entrar:hover svg {
    transform: translateX(3px);
}

/* Hero Section Premium */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    min-height: 100vh;
    padding: 120px 5% 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

/* Elementos Decorativos */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 5;
    animation: slideInLeft 1s ease-out forwards;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-hero {
    background: var(--accent);
    color: var(--text);
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(254, 202, 5, 0.3);
}

.btn-hero.secondary {
    background: var(--white);
    color: var(--primary);
}

.hero-image {
    position: relative;
    z-index: 5;
    animation: fadeInScale 1.2s ease-out forwards;
}

/* Efeito Glow na Imagem */
.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-image img {
    max-height: 85vh;
    object-fit: contain;
    animation: floating 4s ease-in-out infinite;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 10;
}

/* Keyframes Animações */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Bio Section */
.bio {
    background: var(--secondary);
    padding: 100px 5%;
    display: flex;
    gap: 50px;
    align-items: center;
    color: var(--white);
}

.bio-image {
    flex: 1;
}

.bio-content {
    flex: 1;
}

.bio-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Blog Section */
.blog {
    padding: 100px 5%;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-info {
    padding: 20px;
}

/* Agenda Section */
.agenda {
    padding: 100px 5%;
    background: var(--light);
}

.agenda-tabs { margin-bottom: 40px; }
.tab-btn {
    padding: 12px 30px;
    border: 1px solid #ddd;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}
.tab-btn.active { background: var(--secondary); color: white; border-color: var(--secondary); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.agenda-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.agenda-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-left: 5px solid var(--secondary);
}

.agenda-item:hover {
    transform: translateY(-5px);
}

.agenda-date {
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    min-width: 80px;
}

.agenda-date span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.agenda-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.agenda-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Galerias Section */
.galerias {
    padding: 100px 5%;
    background: var(--white);
}

.galerias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.galeria-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    transition: background 0.3s;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    background: rgba(28, 114, 178, 0.4);
}

.galeria-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}
    background: #222;
    color: #eee;
    padding: 50px 5%;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero-btns {
        justify-content: center;
    }
    .bio {
        flex-direction: column;
    }
    header {
        padding: 15px 5%;
    }
    nav {
        display: none; /* Poderíamos adicionar um menu hambúrguer */
    }
}

/* --- ESTILOS PÁGINA SOBRE PRO MAX (FINAL) --- */

#page-sobre { font-family: 'Plus Jakarta Sans', sans-serif; background: #fff; }

/* Ajuste no Header para páginas internas */
header.internal-page {
    background: var(--secondary) !important;
    padding: 15px 5% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.new-hero-sobre {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 180px 5% 100px; color: #fff; text-align: center;
}

.new-hero-sobre h1 { font-size: 4.5rem; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.new-hero-sobre p { font-size: 1.5rem; opacity: 0.8; margin-top: 10px; }

.section-split-premium { padding: 100px 5%; }
.container-flex { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; }

.split-image { flex: 1; }
.img-frame { 
    position: relative; border-radius: 30px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1); 
}
.img-frame img { width: 100%; transition: transform 0.5s; }
.img-frame:hover img { transform: scale(1.05); }

.split-content { flex: 1; }
.top-label { 
    color: var(--secondary); font-weight: 800; text-transform: uppercase; 
    font-size: 0.9rem; letter-spacing: 2px; display: block; margin-bottom: 20px;
}
.split-content h2 { font-size: 2.8rem; color: var(--primary); margin-bottom: 25px; line-height: 1.2; }
.split-content p { font-size: 1.15rem; color: #555; line-height: 1.8; }

/* Sobre Mim Premium */
.section-about-me {
    padding: 150px 5%;
    background: linear-gradient(180deg, #fff 0%, #f1f8ff 100%);
    position: relative;
    overflow: hidden;
}

.about-me-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    font-weight: 900;
    color: rgba(28, 114, 178, 0.03);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 20px;
}

.about-me-card {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    padding: 60px;
    position: relative;
    z-index: 5;
    box-shadow: 0 40px 100px rgba(28, 114, 178, 0.08);
}

.card-decoration {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    border-top: 4px solid var(--secondary);
    border-left: 4px solid var(--secondary);
    border-radius: 15px 0 0 0;
}

.about-me-card h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.about-me-card h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 10px;
}

.card-content p {
    font-size: 1.25rem;
    color: #444;
    line-height: 2;
    text-align: justify;
    font-weight: 500;
}

.paralax-image-section { height: 400px; overflow: hidden; position: relative; }
.paralax-img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }

.section-trajetoria-modern { padding: 100px 5%; }
.section-title-premium { text-align: center; margin-bottom: 60px; }
.section-title-premium h2 { font-size: 3rem; color: var(--primary); font-weight: 800; }
.section-title-premium p { font-size: 1.2rem; color: var(--secondary); font-weight: 600; }

.trajectory-cards-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; max-width: 1200px; margin: 0 auto;
}

.t-card { 
    background: #fff; padding: 40px; border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.02);
    transition: 0.3s;
}
.t-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }

.t-card-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.t-card-header img { height: 50px; width: 50px; object-fit: contain; }
.t-card-header h3 { font-size: 1.5rem; color: var(--primary); font-weight: 700; }
.t-card p { font-size: 1.05rem; color: #666; line-height: 1.7; text-align: justify; }

@media (max-width: 991px) {
    .container-flex { flex-direction: column; text-align: center; }
    .new-hero-sobre h1 { font-size: 3rem; }
    .split-content h2 { font-size: 2.2rem; }
}
