/* styles-2026.css - VERSÃO FINAL (Botões 3D Neon + Metal Pipe) */

:root {
    --bg-deep: #1a2e29;
    --text-light: #f1f8e9;
    --text-dark: #263238;
    --radius: 20px;
    
    /* Cores Neumorphism */
    --neu-bg: #e0e5ec;
    --neu-text: #2d3748;
    
    --color-brown: #8d5524;
    --color-yellow: #fec10e;
    --color-orange: #CB7245;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
    background-color: #1a2e29;
    background-image: 
        linear-gradient(rgba(26, 46, 41, 0.92), rgba(26, 46, 41, 0.88)),
        url('imagens/fundo.png');
    background-size: cover, 2500px auto; 
    background-repeat: no-repeat, repeat;
    background-position: center top, center 0px;
    background-attachment: fixed;
    overflow-x: hidden;
}

main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* --- HEADER OTIMIZADO --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 20px 40px;
    background: rgba(26, 46, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 100;
}

/* 1. ESQUERDA: Logo Quadrada (2X MAIOR) */
.header-left {
    flex: 0 0 auto;
    position: relative;
    width: 260px; 
    height: 260px;
}

.logo-wrapper { width: 100%; height: 100%; position: relative; }
.logo-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 20px;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}
.logo-wrapper img:hover { transform: scale(1.02); }

/* 2. CENTRO: Título + Botões + Metal */
.header-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    gap: 20px;
}

.header-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 0;
    line-height: 1;
    text-align: center;
}

.header-center ul {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; list-style: none;
}

/* --- BOTÕES 3D FLUTUANTES (Novo Estilo) --- */
.neu-btn {
    display: block;
    /* Gradiente vertical para dar volume (curva) */
    background: linear-gradient(180deg, #ffffff 0%, #d1d9e6 100%);
    color: #2d3748;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #fff;
    position: relative;
    z-index: 1;
    
    /* Sombra 3D + Neon Verde/Azulado atrás */
    box-shadow: 
        0 5px 10px rgba(0,0,0,0.2),             /* Sombra de profundidade */
        0 10px 20px rgba(76, 175, 80, 0.3),     /* Neon Verde difuso */
        inset 0 1px 0 rgba(255,255,255,0.8);    /* Reflexo no topo */
        
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neu-btn:hover {
    transform: translateY(-4px) scale(1.05);
    /* Neon fica mais forte no hover */
    box-shadow: 
        0 15px 25px rgba(0,0,0,0.3),
        0 0 30px rgba(76, 175, 80, 0.6),
        inset 0 1px 0 rgba(255,255,255,1);
    color: #000;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f6 100%);
}

.neu-btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

/* --- BOTÃO CENTRAL DE CURSISTAS (Cano Metálico) --- */
.cursista-wrapper { margin-top: 10px; }

.btn-metal {
    display: inline-block;
    padding: 12px 60px; /* Bem largo */
    border-radius: 50px; /* Arredondado nas pontas */
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    color: #1a2e29; /* Texto escuro gravado */
    font-size: 1rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    
    /* EFEITO DE TUBO METÁLICO (Gradiente Cilíndrico) */
    background: linear-gradient(to bottom, 
        #5e6873 0%,   /* Borda escura cima */
        #b8c2cc 15%,  /* Brilho cima */
        #e2e8f0 45%,  /* Reflexo central forte */
        #9aa5b1 55%,  /* Sombra central */
        #52606d 100%  /* Borda escura baixo */
    );
    
    border: 1px solid #4a5568;
    
    /* Sombra pesada para dar volume no fundo */
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.5), 
        inset 0 1px 0 rgba(255,255,255,0.5);
        
    transition: transform 0.2s;
}

.btn-metal:hover {
    transform: scale(1.03);
    filter: brightness(1.1); /* Brilha mais */
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* 3. DIREITA: Menu Vertical */
.header-right {
    flex: 0 0 auto;
    text-align: right;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 20px;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.edition-label {
    display: block; font-size: 0.8rem; color: #80cbc4; text-transform: uppercase;
    margin-bottom: 8px; letter-spacing: 1px; font-weight: 700;
}

.header-right ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }

.header-right a {
    color: var(--text-light); text-decoration: none; font-size: 0.9rem; font-weight: 600;
    opacity: 0.7; transition: 0.3s; display: block;
}
.header-right a:hover { opacity: 1; color: var(--color-yellow); transform: translateX(-3px); }

/* --- RESTO DO SITE (Mantido) --- */
.section-title {
    text-align: center; font-size: 2.2rem; font-weight: 300; margin: 70px 0 50px;
    color: #e8f5e9; text-transform: uppercase; letter-spacing: 4px;
    position: relative; display: inline-block; width: 100%;
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: #81c784; margin: 15px auto 0; border-radius: 2px;
    box-shadow: 0 0 10px rgba(129, 199, 132, 0.5);
}

.gt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; }

.card-gt {
    background-color: var(--card-bg, #4caf50); color: white; border-radius: var(--radius); padding: 40px 30px;
    box-shadow: var(--shadow-card), var(--shadow-inner);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: all 0.4s; position: relative; overflow: visible; /* Mudado para visible para o tooltip sair */
    border: 1px solid rgba(255,255,255,0.1);
}
.card-gt:hover { transform: translateY(-15px); box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255,255,255,0.2); z-index: 10; }

.gt-icon-circle {
    width: 90px; height: 90px; background: rgba(0, 0, 0, 0.15); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin-bottom: 25px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px); transition: 0.5s;
    position: relative; /* Para posicionar o tooltip */
    cursor: help; /* Indica interatividade */
}
.card-gt:hover .gt-icon-circle { transform: scale(1.1) rotate(5deg); background: rgba(255,255,255,0.2); }
.gt-icon-circle h2 { font-size: 1.2rem; font-weight: 800; margin: 0; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

/* --- NOVO: TOOLTIP/MODAL SOBRE O NÚMERO --- */
.gt-tooltip {
    display: none;
    position: absolute;
    bottom: 110%; /* Acima do círculo */
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    z-index: 100;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeInTooltip 0.3s ease-out;
}
.gt-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}
.gt-icon-circle:hover .gt-tooltip {
    display: block;
}
.gt-tooltip h4 {
    color: var(--card-bg); /* Usa a cor do card */
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1rem;
}
.gt-tooltip .btn-tooltip {
    display: inline-block;
    margin-top: 10px;
    background: var(--card-bg);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
}

@keyframes fadeInTooltip {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* --- NOVO: CARD INTRODUTÓRIO (Página Interna) - CORRIGIDO --- */
.gt-intro-card {
    /* O background-color é definido inline pelo PHP */
    color: #eceff1; /* CORREÇÃO: Texto claro para fundo escuro */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); /* Sombra mais profunda */
    margin: 30px auto;
    max-width: 900px;
    border-left: 6px solid #ccc; /* Será sobrescrito via inline style */
    text-align: left;
    position: relative;
    
    /* Efeito de Vidro Fosco (Deixa muito mais moderno) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05); /* Borda sutil */
}

.gt-intro-card h3 {
    color: inherit; /* Pega a cor definida no inline */
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    /* Aumenta o brilho da cor do título para destacar no fundo escuro */
    filter: brightness(1.3) contrast(1.2); 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gt-intro-card p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #e0e0e0;
    margin: 0;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* Sombra leve para leitura */
    
    /* NOVO: Texto justificado para visual de bloco perfeito */
    text-align: justify;
}


/* --- Continuação estilos card GT --- */
.card-gt h3 { font-size: 1.4rem; margin-bottom: 15px; font-weight: 700; line-height: 1.3; text-shadow: 0 2px 2px rgba(0,0,0,0.2); }
.card-gt p { font-size: 0.95rem; opacity: 0.9; margin-bottom: 30px; line-height: 1.6; }

.card-btn {
    margin-top: auto; background: rgba(255, 255, 255, 0.15); color: white; padding: 12px 25px;
    border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.card-btn:hover { background: white; color: var(--card-bg); box-shadow: 0 5px 15px rgba(0,0,0,0.2); transform: translateY(-2px); }

.card-gt.light-theme { color: var(--text-dark); }
.card-gt.light-theme .gt-icon-circle { background: rgba(0,0,0,0.1); color: var(--text-dark); border-color: rgba(0,0,0,0.1); }
.card-gt.light-theme h3 { text-shadow: none; }
.card-gt.light-theme .card-btn { background: rgba(0,0,0,0.1); color: var(--text-dark); }
.card-gt.light-theme .card-btn:hover { background: var(--text-dark); color: white; }

.news-container { margin-bottom: 60px; display: flex; flex-direction: column; gap: 40px; }
.news-card {
    background: #263238; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-card); display: flex; flex-direction: column;
    border: 1px solid rgba(255,255,255,0.05); align-items: stretch;
}
@media(min-width: 800px) {
    .news-card { flex-direction: row; }
    .news-card.layout-inverted { flex-direction: row-reverse; }
}
.news-gallery { width: 100%; min-height: 400px; background: #1a2622; position: relative; overflow: hidden; }
@media(min-width: 800px) { .news-gallery { width: 45%; max-width: 500px; flex-shrink: 0; } }

.gallery-grid { display: grid; height: 100%; width: 100%; }
.gallery-grid.count-1 { grid-template-columns: 1fr; }
.gallery-grid.count-2 { grid-template-columns: 1fr 1fr; }
.gallery-grid.count-3, .gallery-grid.count-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 50% 50%; }
.gallery-item { background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.5s; cursor: pointer; }
.gallery-item:hover { transform: scale(1.1); z-index: 2; }
.no-image { display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,0.1); font-weight: 900; font-size: 2rem; }

.news-content { padding: 40px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-content h3 { color: #ffe082; font-size: 1.8rem; margin-bottom: 15px; }

.highlight-card { background: linear-gradient(135deg, #3e2723, #5d4037); }
.highlight-card .news-content h2 { color: #ffca28; font-size: 2.2rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

.btn-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-small { padding: 8px 16px; font-size: 0.8rem; background: rgba(255,255,255,0.1); color: #e0e0e0; border: 1px solid rgba(255,255,255,0.2); box-shadow: none; border-radius: 8px; transition: 0.3s; text-decoration: none; }
.btn-small:hover { background: #ffb300; color: #3e2723; border-color: #ffb300; }

.btn-modern {
    display: inline-block; background: #ffb300; color: #3e2723; padding: 14px 35px; border-radius: 12px;
    text-decoration: none; font-weight: 800; box-shadow: 0 5px 15px rgba(255, 179, 0, 0.3); transition: all 0.3s;
    border: none; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; cursor: pointer;
}
.btn-modern:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 25px rgba(255, 179, 0, 0.5); background: #ffca28; }

footer { 
    background: #10201d !important; 
    color: #80cbc4 !important; 
    border-top: 1px solid #2e4a40 !important; 
    width: 100% !important; max-width: 100% !important; margin: 0 !important; 
}

/* RESPONSIVIDADE HEADER */
@media (max-width: 1000px) {
    .main-header { flex-direction: column; padding: 30px 10px; gap: 20px; }
    .header-left { width: 180px; height: 180px; }
    .header-title { font-size: 2rem; }
    .header-center { padding: 0; }
    .header-right { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; width: 100%; text-align: center; }
    .header-right ul { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 15px; }
}