/*
Theme Name: BARGIN ENGENHARIA
Theme URI: https://barginengenharia.ao/
Author: Claudio Rodrigues
Description: Site corporativo moderno e futurista para empresa de engenharia civil, gestão de projetos e reabilitação de imóveis
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bargin-engenharia
*/

/* ========================================
   VARIAVEIS CSS - PALETA DE CORES
======================================== */
:root {
    /* Cores existentes */
    --cor-primaria: #58585a;
    --cor-secundaria: #FE7702;
    --cor-texto-escuro: #58585a;
    --cor-texto-medio: #939598;
    --cor-texto-claro: #adafb1;
    --cor-cinza-claro: #f8f9fa;
    --cor-branco: #ffffff;
    
    /* Novas cores de feedback */
    --cor-sucesso: #28a745;
    --cor-erro: #dc3545;
    
    /* Gradientes */
    --gradiente-principal: linear-gradient(135deg, var(--cor-principal), var(--cor-terciaria));
    --gradiente-secundario: linear-gradient(45deg, var(--cor-secundaria), #ff9533);
    
    /* Sombras */
    --sombra-suave: 0 4px 20px rgba(78, 80, 93, 0.1);
    --sombra-media: 0 8px 30px rgba(78, 80, 93, 0.15);
    --sombra-forte: 0 15px 40px rgba(78, 80, 93, 0.2);
    
    /* Tipografia */
    --fonte-titulo: 'Montserrat', 'Roboto Slab', serif;
    --fonte-texto: 'Inter', 'Open Sans', sans-serif;
    
    /* Transições */
    --transicao-suave: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transicao-media: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Novas variáveis para a Hero Section */
    --hero-primary: #131c2e;
    --hero-secondary: #fe7702;
    --hero-accent: #23a6d5;
    --hero-text: #f2f5f9;
    --blueprint-grid: rgba(53, 152, 219, 0.07);
    --blueprint-line: rgba(53, 152, 219, 0.15);
}

/* ========================================
   RESET E BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo-img {
	width: 12rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--fonte-texto);
    color: var(--cor-principal);
    line-height: 1.6;
    background: var(--cor-branco);
    overflow-x: hidden;
}

/* ========================================
   TIPOGRAFIA
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulo);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: var(--cor-secundaria);
    text-decoration: none !important;
    transition: var(--transicao-suave);
}

a:hover {
    color: var(--cor-principal);
    text-decoration: none;
}

/* ========================================
   COMPONENTES REUTILIZÁVEIS
======================================== */

/* Botões */
.btn-primary {
    background: var(--gradiente-secundario);
    color: var(--cor-branco);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transicao-suave);
    box-shadow: var(--sombra-suave);
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--sombra-media);
    color: var(--cor-branco);
}

.btn-outline {
    background: transparent;
    color: var(--cor-primaria);
    border: 2px solid var(--cor-primaria);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transicao-suave);
    cursor: pointer;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--cor-primaria);
    color: var(--cor-branco);
    transform: translateY(-2px);
}

/* Header específico - sem fundo */
.site-header .btn-primary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.site-header .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px) scale(1.02);
}

/* Cards com efeito glassmorphism */
.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.2rem;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-media);
}

.card-glass:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-forte);
}

/* Seções */
.section-padding {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER E NAVEGAÇÃO
======================================== */
.site-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 4vw;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.site-header.scrolled {
    background: var(--cor-secundaria);
    backdrop-filter: blur(10px);
    box-shadow: var(--sombra-media);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--cor-branco);
    font-family: var(--fonte-titulo);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    transition: var(--transicao-suave);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
}

.logo span {
    color: var(--cor-secundaria);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--cor-branco);
    font-weight: 600;
    padding: 12px 10px;
    position: relative;
    border-radius: 25px;
    transition: var(--transicao-suave);
}

.main-nav a:hover {
    color: var(--cor-branco);
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--cor-secundaria);
    transition: var(--transicao-suave);
    border-radius: 1px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cor-branco);
    transition: var(--transicao-suave);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ========================================
   HERO SECTION - DESIGN CONCEITO "BLUEPRINT DIGITAL"
======================================== */

:root {
    /* Novas variáveis para a Hero Section */
    --hero-primary: #131c2e;
    --hero-secondary: #fe7702;
    --hero-accent: #23a6d5;
    --hero-text: #f2f5f9;
    --blueprint-grid: rgba(53, 152, 219, 0.07);
    --blueprint-line: rgba(53, 152, 219, 0.15);
}

.hero-section {
    width: 100%;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&q=80') center center/cover no-repeat, var(--hero-primary);
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 5vh;
}

/* Fundo Blueprint Digital */
.hero-blueprint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    pointer-events: none; /* Permite que os cliques passem através deste elemento */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none; /* Permite que os cliques passem através deste elemento */
    background: 
        radial-gradient(
            circle at 30% 30%, 
            rgba(19, 28, 46, 0.7) 0%, 
            rgba(19, 28, 46, 0.97) 75%
        ),
        linear-gradient(
            135deg,
            rgba(19, 28, 46, 0.98) 0%,
            rgba(19, 28, 46, 0.92) 60%,
            rgba(254, 119, 2, 0.22) 100%
        );
}

.hero-blueprint-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(to right, var(--blueprint-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--blueprint-grid) 1px, transparent 1px);
    background-size: 30px 30px;
    transform-origin: center;
    animation: gridRotate 120s linear infinite;
}

.hero-blueprint-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none; /* Garantir que não bloqueie cliques */
}

.hero-blueprint-circle {
    position: absolute;
    border: 1px dashed rgba(53, 152, 219, 0.3);
    border-radius: 50%;
    opacity: 0.4;
}

.hero-blueprint-circle:nth-child(1) {
    width: 80vh;
    height: 80vh;
    top: 50%;
    left: 15%;
    transform: translate(-50%, -50%);
    animation: pulseCircle 15s ease-in-out infinite;
}

.hero-blueprint-circle:nth-child(2) {
    width: 60vh;
    height: 60vh;
    top: 50%;
    right: 10%;
    transform: translate(50%, -50%);
    animation: pulseCircle 10s ease-in-out infinite reverse;
}

.hero-blueprint-circle:nth-child(3) {
    width: 40vh;
    height: 40vh;
    bottom: -10vh;
    left: 50%;
    transform: translateX(-50%);
    animation: pulseCircle 20s ease-in-out infinite 5s;
}

/* Overlay com gradiente para dar profundidade */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 30% 30%, 
            rgba(19, 28, 46, 0.7) 0%, 
            rgba(19, 28, 46, 0.97) 75%
        ),
        linear-gradient(
            135deg,
            rgba(19, 28, 46, 0.98) 0%,
            rgba(19, 28, 46, 0.92) 60%,
            rgba(254, 119, 2, 0.22) 100%
        );
    z-index: -1;
}

/* Linhas técnicas - sugerem plantas de engenharia */
.hero-tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none; /* Permite que os cliques passem através deste elemento */
}

.hero-tech-line {
    position: absolute;
    background: var(--blueprint-line);
    opacity: 0;
    animation: techLineAppear 0.7s ease-out forwards;
}

.hero-tech-line-h {
    height: 1px;
    width: 0%;
    animation: techLineGrowHorizontal 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-tech-line-v {
    width: 1px;
    height: 0%;
    animation: techLineGrowVertical 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-tech-line-1 {
    top: 25%;
    left: 0;
    animation-delay: 0.5s;
}

.hero-tech-line-2 {
    top: 75%;
    right: 0;
    animation-delay: 1s;
}

.hero-tech-line-3 {
    top: 0;
    left: 25%;
    animation-delay: 0.7s;
}

.hero-tech-line-4 {
    bottom: 0;
    right: 35%;
    animation-delay: 1.2s;
}

/* Pontos de medida - simulam pontos em plantas de arquitetura */
.hero-measure-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none; /* Permite que os cliques passem através deste elemento */
}

.hero-measure-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(254, 119, 2, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(254, 119, 2, 0.5);
    opacity: 0;
    animation: pointAppear 0.5s ease-out forwards;
}

.hero-measure-label {
    position: absolute;
    font-family: var(--fonte-texto);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    opacity: 0;
    animation: labelAppear 0.5s ease-out forwards;
}

/* Container principal */
.hero-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4vw;
    position: relative;
    z-index: 1024;
    pointer-events: auto !important;
}

/* Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Conteúdo principal */
.hero-content {
    padding-right: 2rem;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.3s;
    position: relative;
    z-index: 9999 !important; /* Valor extremamente alto para garantir que fique acima de TUDO */
    pointer-events: auto !important; /* Garantir que eventos de ponteiro funcionem */
}

/* Títulos com destaque */
.hero-tagline {
    display: block;
    font-family: var(--fonte-texto);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--cor-cinza-claro);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 40px;
}

.hero-tagline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--hero-accent);
    transform: translateY(-50%);
}

.hero-title {
    font-family: var(--fonte-titulo);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--hero-text);
    position: relative;
    display: inline-block;
    z-index: 1024;
}

.hero-title-split {
    display: block;
}

.hero-title-split:first-child {
    position: relative;
    z-index: 1;
}

.hero-title-split:last-child {
    color: var(--hero-secondary);
    position: relative;
}

.hero-title-split:last-child::before {
    content: '';
    position: absolute;
    top: 60%;
    left: -5px;
    right: -5px;
    height: 40%;
    background: rgba(254, 119, 2, 0.1);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-description {
    font-family: var(--fonte-texto);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: rgba(242, 245, 249, 0.8);
    margin-bottom: 2.5rem;
    max-width: 90%;
    position: relative;
}

/* Área de estatísticas */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hero-stat {
    position: relative;
}

.hero-stat-number {
    font-family: var(--fonte-titulo);
    font-size: 3rem;
    font-weight: 700;
    color: var(--hero-text);
    line-height: 1;
    position: relative;
    display: inline-block;
}

.hero-stat-number::after {
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    right: -15px;
    color: var(--hero-secondary);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(242, 245, 249, 0.6);
    margin-top: 0.5rem;
}

/* CTA Buttons com design moderno */
.hero-cta {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 9998 !important; /* Valor extremamente alto */
    pointer-events: auto !important; /* Forçar eventos de ponteiro */
}

/* Regra específica para garantir que os links sejam clicáveis */
.hero-section a {
    position: relative;
    z-index: 9999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.hero-btn {
    padding: 1rem 2rem;
    font-family: var(--fonte-texto);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 9999 !important; /* Valor extremamente alto para garantir que esteja sobre tudo */
    pointer-events: auto !important; /* Forçar eventos de ponteiro */
}

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

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(254, 119, 2, 0.3);
    color: #fff;
}

.hero-btn-primary:hover::before {
    transform: translateX(100%);
}

.hero-btn-secondary {
    background-color: transparent;
    color: var(--hero-text);
    border: 1px solid rgba(242, 245, 249, 0.3);
}

.hero-btn-secondary:hover {
    border-color: var(--hero-accent);
    background-color: rgba(35, 166, 213, 0.05);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 10px 20px rgba(35, 166, 213, 0.1);
}

.hero-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(3px);
}

/* Área visual - modelo 3D ou visualização */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transform: translateX(50px);
    opacity: 0;
    animation: slideInRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.6s;
    pointer-events: none; /* Impede que intercepte cliques */
}

.hero-model-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
}

.hero-model {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: modelRotate 20s linear infinite;
}

.hero-model-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(53, 152, 219, 0.3);
    transform: translateZ(-150px);
}

.hero-model-base {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(53, 152, 219, 0.2), 
        rgba(254, 119, 2, 0.5),
        rgba(53, 152, 219, 0.2)
    );
    box-shadow: 0 0 20px rgba(254, 119, 2, 0.3);
    transform: translateZ(-150px);
}

.hero-model-element {
    position: absolute;
    background: rgba(53, 152, 219, 0.05);
    border: 1px solid rgba(53, 152, 219, 0.2);
    transform-style: preserve-3d;
}

.hero-model-element-1 {
    width: 200px;
    height: 300px;
    top: 50px;
    left: 50%;
    transform: translateX(-50%) translateZ(100px);
}

.hero-model-element-2 {
    width: 250px;
    height: 150px;
    top: 150px;
    left: 30%;
    transform: translateX(-50%) translateZ(0px);
}

.hero-model-element-3 {
    width: 180px;
    height: 220px;
    top: 100px;
    right: 20%;
    transform: translateX(50%) translateZ(50px);
}

.hero-model-highlight {
    position: absolute;
    background: rgba(254, 119, 2, 0.1);
    border: 1px solid rgba(254, 119, 2, 0.3);
    width: 120px;
    height: 120px;
    top: 200px;
    left: 50%;
    transform: translateX(-50%) translateZ(150px);
    animation: highlightPulse 3s infinite alternate ease-in-out;
}

.hero-model-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--hero-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(254, 119, 2, 0.6);
}

.hero-model-dot:nth-child(1) {
    top: 30%;
    left: 20%;
    animation: dotPulse 2s infinite alternate 0.2s;
}

.hero-model-dot:nth-child(2) {
    top: 70%;
    left: 60%;
    animation: dotPulse 2s infinite alternate 0.5s;
}

.hero-model-dot:nth-child(3) {
    top: 40%;
    right: 25%;
    animation: dotPulse 2s infinite alternate 0.8s;
}

.hero-model-dot:nth-child(4) {
    bottom: 20%;
    left: 40%;
    animation: dotPulse 2s infinite alternate 1.1s;
}

/* Linhas de conexão */
.hero-connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(53, 152, 219, 0),
        rgba(53, 152, 219, 0.5),
        rgba(53, 152, 219, 0)
    );
    opacity: 0;
    animation: lineConnect 1.5s forwards;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--hero-text);
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: rgba(242, 245, 249, 0.7);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-text {
    color: var(--hero-secondary);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--hero-secondary);
    border-bottom: 2px solid var(--hero-secondary);
    transform: rotate(45deg);
    animation: scrollArrow 2s infinite;
}

/* Animações para a Hero Section */
@keyframes gridRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseCircle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes techLineAppear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes techLineGrowHorizontal {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes techLineGrowVertical {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

@keyframes pointAppear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes labelAppear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes modelRotate {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes highlightPulse {
    0% {
        background: rgba(254, 119, 2, 0.1);
        transform: translateX(-50%) translateZ(150px) scale(1);
    }
    100% {
        background: rgba(254, 119, 2, 0.2);
        transform: translateX(-50%) translateZ(150px) scale(1.1);
    }
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(254, 119, 2, 0.6);
    }
    100% {
        transform: scale(1.5);
        box-shadow: 0 0 20px rgba(254, 119, 2, 0.8);
    }
}

@keyframes lineConnect {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 0.7;
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* Media Queries para responsividade */
@media screen and (max-width: 1200px) {
    .hero-split {
        gap: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stat-number {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-tagline {
        padding-left: 0;
        display: inline-block;
    }
    
    .hero-tagline::before {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
        height: 400px;
    }
    
    .hero-model-container {
        max-width: 500px;
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-stat {
        text-align: center;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .hero-model-container {
        max-width: 350px;
        height: 350px;
    }
}

@media screen and (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-model-container {
        max-width: 300px;
        height: 300px;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
}

/* Ajuste para sobreposição dos elementos blueprint e gradientes */
.hero-blueprint,
.hero-overlay {
    pointer-events: none;
}

.hero-blueprint,
.hero-blueprint-grid,
.hero-blueprint-circles,
.hero-tech-lines,
.hero-measure-points {
    position: absolute;
    z-index: 2;
}

/* Seção Sobre Nós - Estilo Moderno */
.sobre-section {
    background-color: var(--cor-fundo-claro);
    padding: 6rem 0;
    overflow: hidden;
}

.sobre-content .section-header {
    margin-bottom: 2rem;
}

.sobre-content .section-subtitle {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    color: var(--cor-secundaria);
}

.sobre-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--cor-texto-escuro);
}

.sobre-texto p {
    color: var(--cor-texto-medio);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.sobre-diferenciais {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.diferencial-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diferencial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.diferencial-icon {
    background-color: var(--cor-secundaria-transparente);
    color: var(--cor-secundaria);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.diferencial-texto h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--cor-texto-escuro);
}

.diferencial-texto p {
    font-size: 0.9rem;
    color: var(--cor-texto-medio);
    margin: 0;
}

.sobre-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.sobre-image-container {
    position: relative;
}

.sobre-image img {
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.sobre-image img:hover {
    transform: scale(1.05);
}

.sobre-stats {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    display: flex;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--cor-fundo-claro);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stat-icon {
    background-color: var(--cor-secundaria-transparente);
    color: var(--cor-secundaria);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-texto-escuro);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--cor-texto-medio);
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .sobre-diferenciais {
        flex-direction: column;
    }
    
    .sobre-stats {
        position: static;
        margin-top: 2rem;
        flex-direction: column;
    }
}

/* Seção Serviços - Estilo Moderno */
.servicos-section {
    background-color: var(--cor-cinza-claro);
    padding: 6rem 0;
}

.servicos-section .section-header {
    margin-bottom: 3rem;
}

.servicos-section .section-subtitle {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    color: var(--cor-texto-claro);
    text-align: center; 
}

.servicos-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--cor-texto-escuro);
    margin-bottom: 1rem;
    text-align: center;
}

.servicos-section .section-description {
    color: var(--cor-texto-medio);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.servico-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transicao-suave);
    border-radius: 16px;
    box-shadow: var(--sombra-suave);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-media);
}

.servico-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.servico-icon {
    background-color: var(--cor-secundaria-transparente);
    color: var(--cor-secundaria);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
}

.servico-titulo {
    font-size: 1.3rem;
    color: var(--cor-texto-escuro);
    margin: 0;
}

.servico-conteudo {
    padding: 1.5rem;
    flex-grow: 1;
}

.servico-conteudo p {
    color: var(--cor-texto-medio);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.servico-detalhes {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.servico-detalhe {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.servico-detalhe i {
    background-color: var(--cor-secundaria-transparente);
    color: var(--cor-secundaria);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.servico-detalhe span {
    font-size: 0.8rem;
    color: var(--cor-texto-medio);
}

.servico-footer {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.btn-servico {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	padding: 15px 0px;
}

.servicos-actions {
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .servico-detalhes {
        flex-direction: column;
    }
}

/* Seção de Projetos */
.projetos-section {
    background-color: white;
    padding: 6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--cor-secundaria);
    color: var(--cor-secundaria);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--cor-secundaria);
    color: white;
    box-shadow: 0 10px 20px rgba(254, 119, 2, 0.2);
}

#projetos-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.projeto-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.projeto-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.projeto-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.projeto-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.projeto-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    image-rendering: high-quality; /* Para navegadores modernos */
    -webkit-backface-visibility: hidden; /* Previne desfoque durante transição */
    backface-visibility: hidden;
}

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

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.7)
    );
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projeto-item:hover .projeto-overlay {
    opacity: 1;
}

.projeto-info {
    padding: 2rem;
    color: white;
    transform: translateY(50px);
    transition: transform 0.4s ease;
}

.projeto-item:hover .projeto-info {
    transform: translateY(0);
}

.projeto-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.projeto-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.projeto-info .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.projeto-info .btn-primary:hover {
    transform: translateX(5px);
}

/* Responsividade */
@media (max-width: 1200px) {
    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        margin-bottom: 0.5rem;
    }
}

/* Seção de Formação Profissional */
.formacao-section {
    background-color: var(--cor-cinza-claro);
    padding: 6rem 0;
}


.formacao-content {
    position: relative;
    z-index: 2;
}

.formacao-section .section-title {
    margin-bottom: 1.5rem;
    position: relative;
}

.formacao-section .section-subtitle {
    color: var(--cor-texto-medio);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.cursos-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.curso-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.curso-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.curso-icon {
	background: linear-gradient( 135deg, var(--cor-secundaria), color-mix(in srgb, var(--cor-secundaria) 80%, white) );
	color: white;
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 2rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 10px 20px rgba(254, 119, 2, 0.2), 0 5px 10px rgba(254, 119, 2, 0.1);
	transition: transform 0.4s ease;
}

.curso-item:hover .curso-icon {
    transform: rotate(15deg) scale(1.1);
}

.curso-info {
    text-align: center;
}

.curso-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--cor-texto-escuro);
    transition: color 0.3s ease;
}

.curso-item:hover .curso-info h4 {
    color: var(--cor-secundaria);
}

.curso-info p {
    color: var(--cor-texto-medio);
    line-height: 1.6;
}

.formacao-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.formacao-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.formacao-image:hover img {
    transform: scale(1.1);
}

.formacao-section .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.formacao-section .btn-primary:hover {
    transform: translateX(5px);
}

/* Responsividade */
@media (max-width: 992px) {
    .cursos-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .curso-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .curso-icon {
        margin-bottom: 1rem;
    }
}

/* Seção de Notícias */
.noticias-section {
    background-color: white;
    padding: 6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.noticia-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.noticia-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.noticia-imagem {
    position: relative;
    overflow: hidden;
}

.noticia-imagem img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.noticia-conteudo {
    padding: 1.5rem;
}

.noticia-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--cor-texto-medio);
    font-size: 0.9rem;
}

.noticia-categoria {
    background-color: var(--cor-secundaria-transparente);
    color: var(--cor-secundaria);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.noticia-titulo {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--cor-texto-escuro);
    transition: color 0.3s ease;
}

.noticia-item:hover .noticia-titulo {
    color: var(--cor-secundaria);
}

.noticia-resumo {
    color: var(--cor-texto-medio);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.noticia-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cor-secundaria);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.noticia-link:hover {
    transform: translateX(5px);
}

.noticia-link i {
    transition: transform 0.3s ease;
}

.noticia-link:hover i {
    transform: translateX(3px);
}

/* Responsividade */
@media (max-width: 1200px) {
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .noticias-grid {
        grid-template-columns: 1fr;
    }
}

/* Seção de Contato */
.contato-section {
    background-color: var(--cor-cinza-claro);
    padding: 6rem 0;
}



.contato-form-container {
    position: relative;
    z-index: 2;
    background-color: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.contato-form input,
.contato-form select,
.contato-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
    border-color: var(--cor-secundaria);
    box-shadow: 0 0 0 3px rgba(254, 119, 2, 0.1);
    outline: none;
}

.contato-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contato-form button {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contato-form button:hover {
    transform: translateY(-5px);
}

.contato-info {
    background-color: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-item {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 1.2rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	padding-bottom: 1.2rem;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    background: linear-gradient(
        135deg, 
        var(--cor-secundaria), 
        color-mix(in srgb, var(--cor-secundaria) 80%, white)
    );
    color: white;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 
        0 10px 20px rgba(254, 119, 2, 0.2),
        0 5px 10px rgba(254, 119, 2, 0.1);
    transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
    transform: rotate(15deg) scale(1.1);
}

.info-content h4 {
    color: var(--cor-texto-escuro);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    color: var(--cor-texto-medio);
    margin: 0;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: var(--cor-texto-escuro);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--cor-texto-medio);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--cor-secundaria);
    transform: scale(1.2);
}

/* Floating Contact Buttons */
.floating-contacts {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background-color: var(--cor-secundaria);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(15deg);
}

.phone-btn { background-color: #25D366; }
.email-btn { background-color: #0078D4; }
.whatsapp-btn { background-color: #25D366; }

/* Responsividade */
@media (max-width: 992px) {
    .contato-form-container,
    .contato-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Footer Styles */
.site-footer {
    background: #58585a;
    color: white;
    padding: 4rem 0 2rem;
}



.footer-main {
    position: relative;
    z-index: 2;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title span {
    color: white;
    opacity: 0.8;
    font-weight: 300;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.footer-social .social-link:hover {
    opacity: 1;
    transform: scale(1.2) rotate(15deg);
}

.widget-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: white;
    opacity: 0.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    opacity: 0.6;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact .contact-item i {
    color: white;
    opacity: 0.7;
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.footer-contact .contact-info {
    display: flex;
    flex-direction: column;
}

.footer-contact .contact-info span,
.footer-contact .contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-info a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-policies {
    text-align: right;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: white;
    text-decoration: underline;
}

.footer-policies span {
    color: rgba(255, 255, 255, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--cor-secundaria);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(254, 119, 2, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: color-mix(in srgb, var(--cor-secundaria) 90%, white);
    transform: translateY(-5px);
}

/* Responsividade */
@media (max-width: 992px) {
    .footer-policies {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-contact .contact-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .site-footer {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.footer-logo {
    margin-bottom: 1.5rem;
    max-width: 250px;
}

.footer-logo .logo-img {
    max-height: 80px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo .logo-img:hover {
    opacity: 1;
}

.section-title {
    word-spacing: 0.5rem;  /* Adiciona espaço entre palavras */
    text-align: left;  /* Alinha à esquerda conforme preferência anterior */
}

.section-subtitle {
    word-spacing: 0.3rem;  /* Espaçamento para subtítulos */
    text-align: left;
}

/* Garantir espaçamento específico para seções */
.sobre-content .section-title,
.servicos-section .section-title,
.projetos-section .section-title,
.formacao-section .section-title,
.noticias-section .section-title,
.contato-section .section-title {
    word-spacing: 0.5rem;
}

/* Adicionar margem entre palavras com destaque */
.section-title .text-secondary {
    margin-left: 0.5rem;
}

/* ===== FORMAÇÃO PROFISSIONAL - ESTILOS DINÂMICOS ===== */
.curso-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    align-items: center;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-info {
    background-color: #0dcaf0;
    color: #000;
}

.badge-warning {
    background-color: #ffc107;
    color: #000;
}

.badge-success {
    background-color: #198754;
    color: #fff;
}

.curso-duracao,
.curso-gratuito {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.curso-gratuito {
    color: #198754;
    font-weight: 600;
}

.curso-duracao i,
.curso-gratuito i {
    margin-right: 0.25rem;
}

.formacao-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

/* ===== NOTÍCIAS - ESTILOS DINÂMICOS ===== */
.noticia-categoria {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Cores específicas por categoria */
.noticia-categoria:contains("Tecnologia") {
    background-color: #0dcaf0;
    color: #000;
}

.noticia-categoria:contains("Projetos") {
    background-color: #198754;
}

.noticia-categoria:contains("Formação") {
    background-color: #fd7e14;
}

.noticia-categoria:contains("Empresa") {
    background-color: #6f42c1;
}

.noticia-categoria:contains("Mercado") {
    background-color: #dc3545;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    background-color: #f8f9fa;
    color: #495057;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Estilos para admin */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.success {
    background-color: #28a745;
}

.status-badge.warning {
    background-color: #ffc107;
    color: #000;
}

.status-badge.secondary {
    background-color: #6c757d;
}

/* Ajustes responsivos para cursos */
@media (max-width: 768px) {
    .curso-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .formacao-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ========================================
   SINGLE POST / NOTÍCIAS - ESTILOS
======================================== */

/* Single Post Styles */
.single-post-section {
    background: var(--cor-cinza-claro);
    min-height: 100vh;
    padding: 80px 0;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 0.5rem;
    color: var(--cor-texto-medio);
}

.breadcrumb-item a {
    color: var(--cor-primaria);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--cor-secundaria);
}

.breadcrumb-item.active {
    color: var(--cor-texto-escuro);
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--cor-texto-medio);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: var(--cor-primaria);
}

.post-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cor-texto-escuro);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: var(--fonte-titulo);
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--cor-texto-medio);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.post-featured-image {
    margin-bottom: 3rem;
}

.post-image-container {
    position: relative;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--sombra-media);
}

.post-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.post-image-caption {
    text-align: center;
    font-style: italic;
    color: var(--cor-texto-medio);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cor-texto-escuro);
    margin-bottom: 3rem;
    font-family: var(--fonte-texto);
}

.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4 {
    color: var(--cor-primaria);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--fonte-titulo);
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--sombra-suave);
}

.post-tags {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--cor-branco);
    border-radius: 12px;
    box-shadow: var(--sombra-suave);
}

.post-tags h4 {
    color: var(--cor-primaria);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--fonte-titulo);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    background: var(--cor-primaria);
    color: var(--cor-branco);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transicao-suave);
}

.tag-link:hover {
    background: var(--cor-secundaria);
    transform: translateY(-2px);
}

.post-share {
    padding: 1.5rem;
    background: var(--cor-branco);
    border-radius: 12px;
    box-shadow: var(--sombra-suave);
    margin-bottom: 3rem;
}

.post-share h4 {
    color: var(--cor-primaria);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--fonte-titulo);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transicao-suave);
    cursor: pointer;
    font-size: 0.9rem;
}

.facebook-share {
    background: #1877f2;
    color: var(--cor-branco);
}

.twitter-share {
    background: #1da1f2;
    color: var(--cor-branco);
}

.linkedin-share {
    background: #0077b5;
    color: var(--cor-branco);
}

.whatsapp-share {
    background: #25d366;
    color: var(--cor-branco);
}

.copy-link {
    background: var(--cor-texto-escuro);
    color: var(--cor-branco);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
}

.post-navigation {
    margin: 3rem 0;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-link {
    display: block;
    padding: 1.5rem;
    background: var(--cor-branco);
    border-radius: 12px;
    text-decoration: none;
    color: var(--cor-texto-escuro);
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-suave);
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    color: var(--cor-texto-escuro);
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cor-primaria);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.nav-content h5 {
    color: var(--cor-texto-escuro);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-family: var(--fonte-titulo);
}

.nav-content p {
    color: var(--cor-texto-medio);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.related-posts {
    margin: 4rem 0;
}

.related-posts .section-title {
    text-align: center;
    color: var(--cor-primaria);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--fonte-titulo);
    font-size: 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-item {
    background: var(--cor-branco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-suave);
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.related-post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.related-post-category {
    background: var(--cor-primaria);
    color: var(--cor-branco);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.related-post-date {
    color: var(--cor-texto-medio);
}

.related-post-title {
    margin-bottom: 1rem;
}

.related-post-title a {
    color: var(--cor-texto-escuro);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: var(--fonte-titulo);
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--cor-primaria);
}

.related-post-excerpt {
    color: var(--cor-texto-medio);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-post-link {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.related-post-link:hover {
    color: var(--cor-secundaria);
}

.no-related-posts {
    text-align: center;
    padding: 2rem;
    color: var(--cor-texto-medio);
}

.post-cta {
    margin: 4rem 0;
}

.cta-container {
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: var(--cor-branco);
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: var(--fonte-titulo);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--cor-branco);
    color: var(--cor-primaria);
}

.cta-buttons .btn-outline {
    border: 2px solid var(--cor-branco);
    color: var(--cor-branco);
    background: transparent;
}

.cta-buttons .btn-outline:hover {
    background: var(--cor-branco);
    color: var(--cor-primaria);
}

.comments-section {
    background: var(--cor-branco);
    border-top: 1px solid #eee;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive para Single Post */
@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        font-size: 1rem;
    }
    
    .single-post-section {
        padding: 40px 0;
    }
}