1618 lines
31 KiB
CSS
1618 lines
31 KiB
CSS
/*
|
|
Theme Name: Terra do Rei
|
|
Theme URI: https://exemplo.com/terradorei
|
|
Author: Marco Antonio Vivas
|
|
Author URI: https://marcovivas.com/
|
|
Description: Um tema moderno para portais de notícias, intranets e sites de comunicação interna, com design responsivo e funcionalidades avançadas.
|
|
Version: 1.0
|
|
License: GNU General Public License v2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
Text Domain: terradorei
|
|
Tags: notícias, corporativo, responsivo, moderno
|
|
*/
|
|
|
|
/* Variáveis CSS atualizadas */
|
|
/* Variáveis baseadas no referencia.md */
|
|
:root {
|
|
--azul-principal: #006494;
|
|
--azul-escuro: #003554;
|
|
--azul-claro: #0582ca;
|
|
--azul-brilhante: #00a6fb;
|
|
--amarelo: #ffb700;
|
|
--cinza-claro: #f8f9fa;
|
|
--cinza: #e9ecef;
|
|
--preto: #212529;
|
|
--branco: #ffffff;
|
|
--sombra: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
--sombra-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
--borda-radius: 8px;
|
|
--transicao: all 0.3s ease;
|
|
|
|
/* Espaçamentos */
|
|
--spacing-xs: 0.25rem;
|
|
--spacing-sm: 0.75rem;
|
|
--spacing-md: 1.25rem;
|
|
--spacing-lg: 2rem;
|
|
--spacing-xl: 3rem;
|
|
--spacing-2xl: 4rem;
|
|
--spacing-3xl: 6rem;
|
|
|
|
/* Mapeamento para nomes genéricos */
|
|
--primary: var(--azul-principal);
|
|
--primary-dark: var(--azul-escuro);
|
|
--primary-light: var(--azul-claro);
|
|
|
|
/* Container */
|
|
--container-width: 1280px;
|
|
|
|
/* Tipografia */
|
|
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
--font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
}
|
|
|
|
/* Reset e Base */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
color: var(--preto);
|
|
background-color: var(--cinza-claro);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--azul-principal);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--azul-brilhante);
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
ul, ol {
|
|
list-style: none;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-heading);
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
margin-bottom: var(--spacing-md);
|
|
letter-spacing: -0.01em;
|
|
color: var(--azul-escuro);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2.25rem;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.875rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: var(--spacing-md);
|
|
color: var(--preto);
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
width: 100%;
|
|
max-width: var(--container-width);
|
|
margin: 0 auto;
|
|
padding: 0 var(--spacing-lg);
|
|
}
|
|
|
|
/* Botões */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px 25px;
|
|
border-radius: var(--borda-radius);
|
|
font-weight: 600;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: var(--transicao);
|
|
border: none;
|
|
outline: none;
|
|
gap: 0.5rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--azul-principal);
|
|
color: var(--branco);
|
|
box-shadow: var(--sombra);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: var(--azul-brilhante);
|
|
color: var(--branco);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--sombra-hover);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--azul-escuro);
|
|
color: var(--branco);
|
|
box-shadow: var(--sombra);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: var(--azul-claro);
|
|
color: var(--branco);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--sombra-hover);
|
|
}
|
|
|
|
.btn-white {
|
|
background-color: var(--branco);
|
|
color: var(--azul-principal);
|
|
box-shadow: var(--sombra);
|
|
}
|
|
|
|
.btn-white:hover {
|
|
background-color: var(--cinza);
|
|
color: var(--azul-brilhante);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--sombra-hover);
|
|
}
|
|
|
|
/* Seções */
|
|
.section-title {
|
|
text-align: center;
|
|
margin-bottom: var(--spacing-2xl);
|
|
position: relative;
|
|
padding-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.section-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 80px;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, var(--azul-principal), var(--amarelo));
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Header */
|
|
.site-header {
|
|
box-shadow: var(--sombra);
|
|
position: relative;
|
|
z-index: 100;
|
|
background: var(--branco);
|
|
}
|
|
|
|
.top-bar {
|
|
background-color: var(--azul-escuro);
|
|
color: var(--cinza);
|
|
padding: var(--spacing-sm) 0;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.top-bar .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.top-bar-contact {
|
|
display: flex;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.top-bar-contact a {
|
|
color: var(--cinza);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-xs);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.top-bar-contact a:hover {
|
|
color: var(--branco);
|
|
}
|
|
|
|
.top-bar-social {
|
|
display: flex;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.top-bar-social a {
|
|
color: var(--cinza);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.top-bar-social a:hover {
|
|
color: var(--branco);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.main-header {
|
|
padding: var(--spacing-md) 0;
|
|
}
|
|
|
|
.main-header .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.site-branding {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.custom-logo-link {
|
|
display: block;
|
|
}
|
|
|
|
.site-logo {
|
|
max-height: 50px;
|
|
width: auto;
|
|
}
|
|
|
|
.site-title {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 0;
|
|
color: var(--azul-principal);
|
|
}
|
|
|
|
.site-title a {
|
|
color: inherit;
|
|
}
|
|
|
|
.site-description {
|
|
font-size: 0.875rem;
|
|
color: var(--preto);
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.main-navigation {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
color: var(--azul-escuro);
|
|
cursor: pointer;
|
|
padding: var(--spacing-xs);
|
|
border-radius: var(--borda-radius);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.menu-toggle:hover {
|
|
background-color: var(--cinza);
|
|
}
|
|
|
|
.primary-menu {
|
|
display: flex;
|
|
gap: var(--spacing-xl);
|
|
}
|
|
|
|
.primary-menu a {
|
|
color: var(--azul-escuro);
|
|
font-weight: 500;
|
|
position: relative;
|
|
padding: var(--spacing-xs) 0;
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.primary-menu a:hover {
|
|
color: var(--azul-principal);
|
|
}
|
|
|
|
.primary-menu .current-menu-item a {
|
|
color: var(--azul-principal);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.primary-menu .current-menu-item a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 2px;
|
|
background-color: var(--azul-brilhante);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero-section {
|
|
background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-escuro) 100%);
|
|
color: var(--branco);
|
|
padding: var(--spacing-3xl) 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill="rgba(255,255,255,0.05)"><polygon points="0,0 1000,0 1000,1000"></polygon></svg>') no-repeat;
|
|
background-position: 100% 0;
|
|
background-size: 50% 100%;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 650px;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 3.5rem;
|
|
line-height: 1.1;
|
|
margin-bottom: var(--spacing-lg);
|
|
color: var(--branco);
|
|
}
|
|
|
|
.hero-content p {
|
|
font-size: 1.25rem;
|
|
margin-bottom: var(--spacing-xl);
|
|
color: var(--cinza);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.hero-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 53, 84, 0.7); /* Overlay escuro sobre a imagem */
|
|
z-index: 1;
|
|
}
|
|
|
|
|
|
.hero-cta {
|
|
display: flex;
|
|
gap: var(--spacing-md);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* Quick Access Buttons */
|
|
.quick-access {
|
|
background-color: var(--branco);
|
|
padding: var(--spacing-xl) 0;
|
|
box-shadow: var(--sombra);
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
.quick-access-buttons {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.quick-access-button {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: var(--spacing-lg);
|
|
background: var(--branco);
|
|
border-radius: var(--borda-radius);
|
|
box-shadow: var(--sombra);
|
|
transition: var(--transicao);
|
|
text-align: center;
|
|
border: 1px solid var(--cinza);
|
|
}
|
|
|
|
.quick-access-button:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--sombra-hover);
|
|
border-color: var(--azul-claro);
|
|
}
|
|
|
|
.quick-access-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 100, 148, 0.1);
|
|
border-radius: var(--borda-radius);
|
|
margin-bottom: var(--spacing-md);
|
|
color: var(--azul-principal);
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.quick-access-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
margin-bottom: var(--spacing-sm);
|
|
color: var(--azul-escuro);
|
|
}
|
|
|
|
.quick-access-description {
|
|
color: var(--preto);
|
|
margin-bottom: var(--spacing-md);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
/* Featured News */
|
|
.featured-news {
|
|
padding: var(--spacing-3xl) 0;
|
|
background-color: var(--cinza-claro);
|
|
}
|
|
|
|
.featured-news-container {
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr;
|
|
gap: var(--spacing-2xl);
|
|
align-items: start;
|
|
}
|
|
|
|
.featured-news-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: var(--spacing-xl);
|
|
}
|
|
|
|
.featured-news-item {
|
|
background: var(--branco);
|
|
border-radius: var(--borda-radius);
|
|
overflow: hidden;
|
|
box-shadow: var(--sombra);
|
|
transition: var(--transicao);
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.featured-news-item:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--sombra-hover);
|
|
}
|
|
|
|
.featured-thumbnail {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.featured-thumbnail img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
.featured-news-item:hover .featured-thumbnail img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.featured-badge {
|
|
position: absolute;
|
|
top: var(--spacing-md);
|
|
left: var(--spacing-md);
|
|
background: var(--amarelo);
|
|
color: var(--azul-escuro);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: var(--borda-radius);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.featured-content {
|
|
padding: var(--spacing-xl);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.featured-header {
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.featured-title {
|
|
font-size: 1.75rem;
|
|
line-height: 1.3;
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.featured-title a {
|
|
color: var(--azul-escuro);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.featured-title a:hover {
|
|
color: var(--azul-brilhante);
|
|
}
|
|
|
|
.featured-excerpt {
|
|
color: var(--preto);
|
|
margin-bottom: var(--spacing-lg);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.featured-footer {
|
|
margin-top: auto;
|
|
}
|
|
|
|
/* Sidebar */
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-2xl);
|
|
position: sticky;
|
|
top: var(--spacing-xl);
|
|
height: fit-content;
|
|
}
|
|
|
|
.sidebar-widget {
|
|
background: var(--branco);
|
|
border-radius: var(--borda-radius);
|
|
padding: var(--spacing-lg);
|
|
box-shadow: var(--sombra);
|
|
border: 1px solid var(--cinza);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.sidebar-widget:hover {
|
|
box-shadow: var(--sombra-hover);
|
|
}
|
|
|
|
.widget-title {
|
|
font-size: 1.5rem;
|
|
padding-bottom: var(--spacing-sm);
|
|
border-bottom: 1px solid var(--cinza);
|
|
color: var(--azul-escuro);
|
|
}
|
|
|
|
/* Calendário Widget */
|
|
|
|
.calendar-container {
|
|
border-radius: var(--borda-radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Events Widget */
|
|
.events-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.event-item {
|
|
display: flex;
|
|
gap: var(--spacing-md);
|
|
padding: var(--spacing-lg);
|
|
background: var(--cinza-claro);
|
|
border-radius: var(--borda-radius);
|
|
transition: var(--transicao);
|
|
border: 1px solid var(--cinza);
|
|
}
|
|
|
|
.event-item:hover {
|
|
background: var(--branco);
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--sombra-hover);
|
|
border-color: var(--azul-claro);
|
|
}
|
|
|
|
.event-date {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 60px;
|
|
background: rgba(0, 100, 148, 0.1);
|
|
color: var(--azul-escuro);
|
|
border-radius: var(--borda-radius);
|
|
padding: var(--spacing-sm);
|
|
text-align: center;
|
|
}
|
|
|
|
.event-day {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.event-month {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.event-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.event-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-bottom: var(--spacing-xs);
|
|
color: var(--azul-escuro);
|
|
}
|
|
|
|
.event-time {
|
|
font-size: 0.875rem;
|
|
color: var(--preto);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-xs);
|
|
}
|
|
|
|
/* Latest News */
|
|
.latest-news {
|
|
padding: var(--spacing-3xl) 0;
|
|
background: var(--branco);
|
|
}
|
|
|
|
.news-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
gap: var(--spacing-xl);
|
|
margin-bottom: var(--spacing-2xl);
|
|
}
|
|
|
|
.news-card {
|
|
background: var(--branco);
|
|
border-radius: var(--borda-radius);
|
|
overflow: hidden;
|
|
box-shadow: var(--sombra);
|
|
transition: var(--transicao);
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--cinza);
|
|
}
|
|
|
|
.news-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--sombra-hover);
|
|
}
|
|
|
|
.news-thumbnail {
|
|
position: relative;
|
|
overflow: hidden;
|
|
aspect-ratio: 16/9;
|
|
}
|
|
|
|
.news-thumbnail img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
.news-card:hover .news-thumbnail img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.news-content {
|
|
padding: var(--spacing-lg);
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.news-header {
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.news-title {
|
|
font-size: 1.25rem;
|
|
line-height: 1.4;
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.news-title a {
|
|
color: var(--azul-escuro);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.news-title a:hover {
|
|
color: var(--azul-brilhante);
|
|
}
|
|
|
|
.news-meta {
|
|
display: flex;
|
|
gap: var(--spacing-md);
|
|
font-size: 0.875rem;
|
|
color: var(--azul-claro);
|
|
}
|
|
|
|
.news-meta span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-xs);
|
|
}
|
|
|
|
.news-footer {
|
|
margin-top: auto;
|
|
}
|
|
|
|
.view-all {
|
|
text-align: center;
|
|
}
|
|
|
|
/* Footer */
|
|
.site-footer {
|
|
background: var(--azul-escuro);
|
|
color: var(--cinza);
|
|
padding: var(--spacing-3xl) 0 var(--spacing-xl);
|
|
margin-top: var(--spacing-3xl);
|
|
}
|
|
|
|
.footer-widgets {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: var(--spacing-2xl);
|
|
margin-bottom: var(--spacing-2xl);
|
|
}
|
|
|
|
.footer-widget {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.footer-widget-title {
|
|
color: var(--branco);
|
|
font-size: 1.25rem;
|
|
margin-bottom: var(--spacing-lg);
|
|
position: relative;
|
|
padding-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.footer-widget-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 40px;
|
|
height: 2px;
|
|
background: var(--azul-brilhante);
|
|
}
|
|
|
|
.footer-menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.footer-menu a {
|
|
color: var(--cinza);
|
|
transition: var(--transicao);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-xs);
|
|
}
|
|
|
|
.footer-menu a:hover {
|
|
color: var(--branco);
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.footer-contact {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.footer-contact-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-md);
|
|
color: var(--cinza);
|
|
}
|
|
|
|
.footer-contact-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--azul-principal);
|
|
border-radius: var(--borda-radius);
|
|
color: var(--branco);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.footer-bottom {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding-top: var(--spacing-xl);
|
|
text-align: center;
|
|
color: var(--cinza);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* Adiciona margem à sidebar quando ela não está na front-page */
|
|
.site-main + .sidebar {
|
|
margin-left: var(--spacing-2xl);
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Single Post Layout
|
|
--------------------------------------------------------------*/
|
|
.single-post-container {
|
|
padding: var(--spacing-2xl) 0;
|
|
max-width: var(--container-width);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.post-content-area {
|
|
max-width: 840px;
|
|
margin: 0 auto var(--spacing-2xl) auto;
|
|
background: var(--branco);
|
|
border-radius: var(--borda-radius);
|
|
box-shadow: var(--sombra);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.post-featured-image {
|
|
max-height: 450px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.post-featured-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.post-content-wrapper {
|
|
padding: var(--spacing-2xl) var(--spacing-2xl);
|
|
}
|
|
|
|
.entry-header {
|
|
margin-bottom: var(--spacing-xl);
|
|
text-align: center;
|
|
}
|
|
|
|
.post-category {
|
|
display: inline-block;
|
|
background: var(--azul-claro);
|
|
color: var(--branco);
|
|
padding: 0.5rem 1.25rem;
|
|
border-radius: 999px;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
margin-bottom: var(--spacing-md);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.post-category:hover {
|
|
background: var(--azul-brilhante);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.entry-title {
|
|
font-size: 2.75rem;
|
|
line-height: 1.2;
|
|
color: var(--preto);
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.post-meta {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--spacing-lg);
|
|
font-size: 0.9rem;
|
|
color: var(--azul-principal);
|
|
}
|
|
|
|
.post-meta span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.entry-content {
|
|
font-size: 1.1rem;
|
|
line-height: 1.8;
|
|
color: var(--azul-escuro);
|
|
}
|
|
|
|
.entry-content p {
|
|
margin-bottom: 1.5em;
|
|
text-align: justify; /* Justifica o texto conforme solicitado */
|
|
}
|
|
|
|
.entry-content h2,
|
|
.entry-content h3,
|
|
.entry-content h4 {
|
|
margin-top: 2em;
|
|
margin-bottom: 1em;
|
|
line-height: 1.3;
|
|
color: var(--azul-escuro);
|
|
}
|
|
|
|
.entry-content ul,
|
|
.entry-content ol {
|
|
margin-bottom: 1.5em;
|
|
padding-left: 1.5em;
|
|
}
|
|
|
|
.entry-content li {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.entry-content blockquote {
|
|
border-left: 4px solid var(--azul-principal);
|
|
padding-left: 1.5em;
|
|
margin: 2em 0;
|
|
font-style: italic;
|
|
font-size: 1.2rem;
|
|
color: var(--preto);
|
|
}
|
|
|
|
.entry-footer {
|
|
margin-top: var(--spacing-2xl);
|
|
padding-top: var(--spacing-xl);
|
|
border-top: 1px solid var(--cinza-claro);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.post-tags {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.post-tags .tags-label {
|
|
font-weight: 600;
|
|
color: var(--preto);
|
|
margin-right: var(--spacing-sm);
|
|
}
|
|
|
|
.post-tags a {
|
|
display: inline-block;
|
|
background: var(--cinza-claro);
|
|
color: var(--azul-principal);
|
|
padding: 0.3rem 0.8rem;
|
|
border-radius: var(--borda-radius);
|
|
margin: 0.2rem;
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.post-tags a:hover {
|
|
background: var(--azul-principal);
|
|
color: var(--branco);
|
|
}
|
|
|
|
.post-share {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.share-label {
|
|
font-weight: 600;
|
|
color: var(--preto);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.share-buttons {
|
|
display: flex;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.share-btn {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--branco);
|
|
font-size: 1rem;
|
|
transition: var(--transicao);
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.share-btn:hover {
|
|
transform: translateY(-3px);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.share-btn.facebook { background: #1877F2; }
|
|
.share-btn.twitter { background: #1DA1F2; }
|
|
.share-btn.linkedin { background: #0A66C2; }
|
|
.share-btn.instagram { background: #833AB4; } /* Cor roxa do Instagram */
|
|
.share-btn.whatsapp { background: #25D366; }
|
|
.share-btn.print-btn { background: var(--preto); }
|
|
|
|
|
|
/* Post Navigation */
|
|
.post-navigation-container {
|
|
max-width: 100%; /* Mesma largura do .post-content-area */
|
|
margin: 0 auto var(--spacing-2xl) auto;
|
|
}
|
|
|
|
.post-navigation .nav-previous,
|
|
.nav-next {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-previous a,
|
|
.nav-next a {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
align-items: center;
|
|
padding: var(--spacing-lg);
|
|
border-radius: var(--borda-radius);
|
|
background: var(--branco);
|
|
box-shadow: var(--sombra);
|
|
transition: var(--transicao);
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-next a {
|
|
grid-template-columns: 1fr auto;
|
|
text-align: right;
|
|
}
|
|
|
|
.nav-previous a:hover,
|
|
.nav-next a:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--sombra-hover);
|
|
border-color: var(--azul-claro);
|
|
color: var(--azul-principal);
|
|
}
|
|
|
|
.nav-subtitle {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--azul-principal);
|
|
margin-bottom: var(--spacing-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.nav-title {
|
|
font-weight: 600;
|
|
color: var(--azul-escuro);
|
|
line-height: 1.3;
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.nav-thumbnail {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: var(--borda-radius);
|
|
overflow: hidden;
|
|
background-color: var(--cinza);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nav-previous .nav-thumbnail {
|
|
margin-right: var(--spacing-lg);
|
|
}
|
|
|
|
.nav-next .nav-thumbnail {
|
|
margin-left: var(--spacing-lg);
|
|
}
|
|
|
|
.nav-thumbnail img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* Corrige o layout da navegação de posts para ser lado a lado */
|
|
.post-navigation .nav-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Pagination
|
|
--------------------------------------------------------------*/
|
|
.navigation.pagination {
|
|
margin-top: var(--spacing-2xl);
|
|
font-family: var(--font-heading);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.nav-links .page-numbers {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 44px;
|
|
height: 44px;
|
|
padding: 0 var(--spacing-sm);
|
|
border: 1px solid var(--cinza);
|
|
border-radius: var(--borda-radius);
|
|
background-color: var(--branco);
|
|
color: var(--azul-principal);
|
|
font-weight: 600;
|
|
transition: var(--transicao);
|
|
box-shadow: var(--sombra);
|
|
}
|
|
|
|
.nav-links .page-numbers:hover {
|
|
background-color: var(--azul-principal);
|
|
color: var(--branco);
|
|
border-color: var(--azul-principal);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--sombra-hover);
|
|
}
|
|
|
|
.nav-links .page-numbers.current {
|
|
background-color: var(--azul-principal);
|
|
color: var(--branco);
|
|
border-color: var(--azul-principal);
|
|
cursor: default;
|
|
}
|
|
|
|
/* Responsividade */
|
|
@media (max-width: 1024px) {
|
|
:root {
|
|
--container-width: 100%;
|
|
}
|
|
|
|
.featured-news-container {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--spacing-2xl);
|
|
}
|
|
|
|
.featured-news-item {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.entry-title {
|
|
font-size: 2.25rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.menu-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.primary-menu {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--branco);
|
|
flex-direction: column;
|
|
padding: var(--spacing-lg);
|
|
box-shadow: var(--sombra);
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.primary-menu.active {
|
|
display: flex;
|
|
}
|
|
|
|
.hero-cta {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.featured-news-grid,
|
|
.news-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.top-bar .container {
|
|
flex-direction: column;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.top-bar-contact {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.main-header .container {
|
|
flex-direction: column;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.site-branding {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.entry-footer {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.post-navigation {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.featured-content,
|
|
.news-content {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.featured-title {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.quick-access-buttons {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Utilitários */
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.mb-0 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.mt-0 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* Animações */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.fade-in {
|
|
animation: fadeIn 0.6s ease-out forwards;
|
|
}
|
|
|
|
/* Estados de loading */
|
|
.loading {
|
|
opacity: 0.7;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.loading::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: -10px 0 0 -10px;
|
|
border: 2px solid var(--gray-300);
|
|
border-radius: 50%;
|
|
border-top-color: var(--primary);
|
|
animation: spin 0.8s ease infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Comments Section
|
|
--------------------------------------------------------------*/
|
|
.comments-area {
|
|
max-width: 840px;
|
|
margin: var(--spacing-2xl) auto 0;
|
|
background: var(--branco);
|
|
padding: var(--spacing-xl);
|
|
border-radius: var(--borda-radius);
|
|
box-shadow: var(--sombra);
|
|
}
|
|
|
|
.comments-title,
|
|
.comment-reply-title {
|
|
font-size: 1.875rem;
|
|
margin-bottom: var(--spacing-xl);
|
|
padding-bottom: var(--spacing-md);
|
|
border-bottom: 1px solid var(--cinza);
|
|
color: var(--azul-escuro);
|
|
}
|
|
|
|
.comment-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.comment-form p {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.comment-form-comment,
|
|
.comment-form-author,
|
|
.comment-form-email,
|
|
.comment-form-url {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.comment-form label {
|
|
font-weight: 600;
|
|
margin-bottom: var(--spacing-sm);
|
|
color: var(--azul-escuro);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.comment-form input[type="text"],
|
|
.comment-form input[type="email"],
|
|
.comment-form input[type="url"],
|
|
.comment-form textarea {
|
|
width: 100%;
|
|
padding: 12px 15px;
|
|
border: 1px solid var(--cinza);
|
|
border-radius: var(--borda-radius);
|
|
background-color: var(--cinza-claro);
|
|
font-family: var(--font-sans);
|
|
font-size: 1rem;
|
|
transition: var(--transicao);
|
|
color: var(--preto);
|
|
}
|
|
|
|
.comment-form input[type="text"]:focus,
|
|
.comment-form input[type="email"]:focus,
|
|
.comment-form input[type="url"]:focus,
|
|
.comment-form textarea:focus {
|
|
outline: none;
|
|
border-color: var(--azul-principal);
|
|
background-color: var(--branco);
|
|
box-shadow: 0 0 0 3px rgba(0, 100, 148, 0.15);
|
|
}
|
|
|
|
.comment-form textarea {
|
|
min-height: 150px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.comment-notes,
|
|
.logged-in-as {
|
|
font-size: 0.875rem;
|
|
color: var(--preto);
|
|
background-color: rgba(0, 100, 148, 0.05);
|
|
padding: var(--spacing-md);
|
|
border-radius: var(--borda-radius);
|
|
}
|
|
|
|
.logged-in-as a {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.form-submit {
|
|
margin-top: var(--spacing-md);
|
|
}
|
|
|
|
.form-submit .submit {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px 25px;
|
|
border-radius: var(--borda-radius);
|
|
font-weight: 600;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: var(--transicao);
|
|
border: none;
|
|
outline: none;
|
|
gap: 0.5rem;
|
|
font-size: 0.95rem;
|
|
background-color: var(--azul-principal);
|
|
color: var(--branco);
|
|
box-shadow: var(--sombra);
|
|
}
|
|
|
|
.form-submit .submit:hover {
|
|
background-color: var(--azul-brilhante);
|
|
color: var(--branco);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--sombra-hover);
|
|
}
|
|
|
|
/* Comment List */
|
|
.comment-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: var(--spacing-xl) 0 0 0;
|
|
}
|
|
|
|
.comment-list .comment {
|
|
padding: var(--spacing-lg) 0;
|
|
border-top: 1px solid var(--cinza);
|
|
}
|
|
|
|
.comment-list .comment:first-child {
|
|
border-top: none;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.comment-body {
|
|
display: flex;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.comment-author .avatar {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--cinza);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.comment-content-wrapper {
|
|
flex: 1;
|
|
}
|
|
|
|
.comment-meta {
|
|
margin-bottom: var(--spacing-md);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.comment-author .fn {
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
color: var(--azul-escuro);
|
|
margin-right: var(--spacing-sm);
|
|
}
|
|
|
|
.comment-author .says {
|
|
display: none; /* Oculta o texto "diz:" */
|
|
}
|
|
|
|
.comment-metadata {
|
|
font-size: 0.875rem;
|
|
color: var(--preto);
|
|
}
|
|
|
|
.comment-metadata a {
|
|
color: inherit;
|
|
}
|
|
|
|
.comment-metadata a:hover {
|
|
color: var(--azul-principal);
|
|
}
|
|
|
|
.comment-content {
|
|
font-size: 1rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.comment-content p {
|
|
text-align: left; /* Garante que o texto do comentário não seja justificado */
|
|
}
|
|
|
|
.reply {
|
|
margin-top: var(--spacing-md);
|
|
text-align: right;
|
|
}
|
|
|
|
.comment-reply-link {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
background: var(--cinza);
|
|
color: var(--azul-escuro);
|
|
padding: 0.4rem 0.9rem;
|
|
border-radius: var(--borda-radius);
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.comment-reply-link:hover {
|
|
background: var(--azul-principal);
|
|
color: var(--branco);
|
|
}
|
|
|
|
/* Nested Comments */
|
|
.comment-list .children {
|
|
list-style: none;
|
|
padding-left: var(--spacing-xl);
|
|
margin-top: var(--spacing-lg);
|
|
}
|
|
|
|
.bypostauthor > .comment-body .comment-author .fn::after {
|
|
content: 'Autor';
|
|
background: var(--amarelo);
|
|
color: var(--azul-escuro);
|
|
font-size: 0.75rem;
|
|
padding: 2px 8px;
|
|
border-radius: var(--borda-radius);
|
|
margin-left: var(--spacing-sm);
|
|
font-weight: 600;
|
|
vertical-align: middle;
|
|
}
|
|
} |