/*
Theme Name: Vocação Técnica
Description: Tema WordPress personalizado para a empresa Vocação Técnica, Lda. Design moderno com animações elegantes, optimizado para apresentação de serviços técnicos e portfolio empresarial.
Author: Túlio Muthemba
Version: 2.1
Text Domain: vocacao-tecnica
*/

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS para cores do tema */
:root {
    --cor-principal: #F13300;
    --cor-secundaria: #7c7d7f;
    --cor-icones: #f15a34;
    --cor-texto-escuro: #333;
    --cor-texto-claro: #333333;
    --cor-branco: #ffffff;
    --cor-fundo-cinza: #f8f9fa;
    --sombra-suave: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transicao-padrao: all 0.3s ease;
}

/* Tipografia */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--cor-texto-escuro);
    font-size: 16px;
}

/* Espaço para o header fixo - apenas no front-end */
body:not(.wp-admin) {
    padding-top: 70px; /* Espaço para o header fixo */
}

/* Garantir que as seções não sejam sobrepostas */
.site-main,
.section:first-child {
    margin-top: 0;
    padding-top: 0;
}

/* Ajustar seções hero para compensar o header fixo */
.blog-hero,
.sobre-hero,
.hero-section {
    margin-top: -70px;
    padding-top: 120px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--cor-texto-claro);
}

/* Container e layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

.col-12 { flex: 0 0 100%; }
.col-6 { flex: 0 0 50%; }
.col-4 { flex: 0 0 33.333%; }
.col-3 { flex: 0 0 25%; }

/* Header */
.site-header {
    background: var(--cor-branco);
    box-shadow: var(--sombra-suave);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transicao-padrao);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--cor-principal);
    text-decoration: none;
    transition: var(--transicao-padrao);
}

.site-logo:hover {
    color: var(--cor-icones);
    transform: scale(1.05);
}

.site-logo-img {
    height: 55px;
    width: auto;
    transition: var(--transicao-padrao);
}

.site-logo:hover .site-logo-img {
    transform: scale(1.05);
}

.site-logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navegação */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--cor-texto-escuro);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transicao-padrao);
}

.main-navigation a:hover,
.main-navigation a.current {
    color: var(--cor-principal);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cor-principal);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
    width: 100%;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid transparent;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    color: var(--cor-principal);
    cursor: pointer;
    transition: var(--transicao-padrao);
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    background: rgba(247, 145, 55, 0.1);
    border-color: var(--cor-principal);
    transform: scale(1.05);
}

.menu-toggle:focus {
    outline: 2px solid var(--cor-principal);
    outline-offset: 2px;
}

.menu-toggle.active {
    background: var(--cor-principal);
    color: white;
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Header Actions - Container dos botões */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--cor-principal);
    color: var(--cor-branco);
    text-decoration: none;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transicao-padrao);
    box-shadow: 0 2px 5px rgba(247, 145, 55, 0.3);
}

.btn:hover {
    background: var(--cor-icones);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 145, 55, 0.4);
}

.btn-secondary {
    background: var(--cor-secundaria);
    box-shadow: 0 2px 5px rgba(124, 125, 127, 0.3);
}

.btn-secondary:hover {
    background: #666;
    box-shadow: 0 4px 15px rgba(124, 125, 127, 0.4);
}

/* Hero section */
.hero-section {
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slideshow .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-slideshow .hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-slideshow .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Garantir que o primeiro slide seja visível ao carregar */
.hero-slideshow .hero-slide:first-child {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slideshow .hero-slide:first-child .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transicao-padrao);
    backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.hero-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transicao-padrao);
}

.hero-indicators .indicator.active,
.hero-indicators .indicator:hover {
    background: white;
    border-color: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 6rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    z-index: 4;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-10px) translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--cor-branco);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Secções */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--cor-texto-claro);
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--cor-principal);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Cards de serviços */
.servicos-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.service-card {
    background: var(--cor-branco);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-padrao);
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 300px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--cor-icones);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--cor-branco);
    transition: var(--transicao-padrao);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-link {
    margin-top: auto;
    color: var(--cor-principal);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transicao-padrao);
    flex-shrink: 0;
}

.service-link:hover {
    color: var(--cor-icones);
    transform: translateX(5px);
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-padrao);
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transicao-padrao);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--cor-principal), var(--cor-icones));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-branco);
    transition: var(--transicao-padrao);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.9;
}

/* Blog cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--cor-branco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-padrao);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-excerpt {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.blog-read-more {
    margin-top: auto;
    color: var(--cor-principal);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transicao-padrao);
}

.blog-read-more:hover {
    color: var(--cor-icones);
    transform: translateX(5px);
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--cor-secundaria);
    margin-bottom: 0.5rem;
}

.blog-title {
    margin-bottom: 1rem;
}

.blog-title a {
    color: var(--cor-texto-escuro);
    text-decoration: none;
    transition: var(--transicao-padrao);
}

.blog-title a:hover {
    color: var(--cor-principal);
}

/* Formulário de contacto */
.contact-form {
    background: var(--cor-branco);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--sombra-suave);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--cor-texto-escuro);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transicao-padrao);
}

.form-control:focus {
    outline: none;
    border-color: var(--cor-principal);
    box-shadow: 0 0 0 3px rgba(247, 145, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.site-footer {
    background: var(--cor-texto-escuro);
    color: var(--cor-branco);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--cor-principal);
    margin-bottom: 1rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transicao-padrao);
}

.footer-section a:hover {
    color: var(--cor-principal);
}

.footer-logo {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transicao-padrao);
}

.footer-logo:hover .footer-logo-img {
    filter: brightness(0) invert(39%) sepia(100%) saturate(1500%) hue-rotate(15deg) brightness(95%) contrast(100%);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transicao-padrao);
}

.footer-bottom a:hover {
    color: var(--cor-principal);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    body:not(.wp-admin) {
        padding-top: 60px; /* Ajustar espaço para header no mobile */
    }
    
    /* Ajustar seções hero para mobile */
    .blog-hero,
    .sobre-hero,
    .hero-section {
        margin-top: -60px;
        padding-top: 110px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cor-branco);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    .main-navigation.active {
        display: block;
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 0;
        margin: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin: 0;
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .main-navigation a:hover {
        color: var(--cor-principal);
        padding-left: 0.5rem;
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    /* Body class when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Header adjustments for mobile */
    .header-content {
        padding: 1rem 0;
    }
    
    .site-logo-img {
        height: 45px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .col-6,
    .col-4,
    .col-3 {
        flex: 0 0 100%;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Service cards responsivos */
    .service-card {
        min-height: 260px;
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .service-card {
        min-height: 240px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile menu adjustments for small screens */
    .menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .main-navigation {
        width: 250px;
        padding-top: 70px;
    }
    
    .main-navigation ul {
        padding: 1.5rem 1rem;
    }
    
    .main-navigation a {
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .site-logo-img {
        height: 32px;
    }
    
    .header-content {
        padding: 0.8rem 0;
    }
    
    .loading-logo-img {
        width: 100px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    /* Hero slideshow mobile adjustments */
    .hero-controls {
        padding: 0 1rem;
    }
    
    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .hero-indicators {
        bottom: 1rem;
    }
    
    .hero-indicators .indicator {
        width: 10px;
        height: 10px;
    }
    
    .scroll-indicator {
        bottom: 4rem;
        right: 1rem;
        font-size: 0.8rem;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Loading logo */
.loading-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.loading-logo-img {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    animation: pulse 2s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Parallax effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Error 404 Page */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 0;
}

.error-logo {
    margin-bottom: 2rem;
}

.error-logo-img {
    height: 80px;
    width: auto;
    filter: opacity(0.8);
}

.error-number h1 {
    font-size: 8rem;
    font-weight: 900;
    color: var(--cor-principal);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-message h2 {
    color: var(--cor-texto-escuro);
    margin-bottom: 1rem;
}

.error-suggestions {
    margin: 2rem 0;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    margin: 0.5rem 0;
}

.error-suggestions a {
    color: var(--cor-principal);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transicao-padrao);
}

.error-suggestions a:hover {
    color: var(--cor-icones);
    text-decoration: underline;
}

.error-search {
    margin: 2rem 0;
}

.error-cta {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .error-number h1 {
        font-size: 6rem;
    }
    
    .error-logo-img {
        height: 60px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--cor-principal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cor-icones);
}

/* Cards de Valores */
.valores-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.valor-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
}

.valor-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.valor-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.valor-card:hover .valor-icon {
    transform: scale(1.1) rotateY(180deg);
    background: rgba(255, 255, 255, 0.3);
}

.valor-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.valor-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Responsividade para cards de valores */
@media (max-width: 992px) {
    .valor-card {
        min-height: 280px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .valores-section .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .valor-card {
        min-height: 260px;
        padding: 1.5rem;
    }
    
    .valor-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .valores-section .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .valor-card {
        min-height: 240px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .valor-card h3 {
        font-size: 1.1rem;
    }
    
    .valor-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cor-fundo-cinza);
}

::-webkit-scrollbar-thumb {
    background: var(--cor-principal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cor-icones);
}

/* Dispositivos muito pequenos */
@media (max-width: 480px) {
    body:not(.wp-admin) {
        padding-top: 55px; /* Ajustar ainda mais para dispositivos pequenos */
    }
    
    /* Ajustar seções hero para dispositivos pequenos */
    .blog-hero,
    .sobre-hero,
    .hero-section {
        margin-top: -55px;
        padding-top: 105px;
    }
}