/*
Theme Name: Pharus Tech
Description: Tema personalizado para Pharus Tech - Farol de Inovação
Author: Pharus Tech
Version: 1.0
Text Domain: pharustech
*/

/* PALETA DE CORES PHARUS TECH */
:root {
    --cor-primaria: #143A67;
    --cor-secundaria: #6096BA;
    --cor-terciaria: #A3CEF1;
    --cor-fundo: #F3F1EA;
    --cor-texto: #2c3e50;
    --cor-branca: #ffffff;
    --fonte-principal: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* RESET E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* HEADER */
.site-header {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.site-logo {
    color: var(--cor-branca);
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-logo:hover {
    color: var(--cor-terciaria);
}

/* NAVEGAÇÃO */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.main-navigation a {
    color: var(--cor-branca);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.main-navigation a:hover {
    color: var(--cor-terciaria);
    background-color: rgba(255,255,255,0.1);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--cor-branca);
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.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 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--cor-branca), var(--cor-terciaria));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: slideInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.6s both;
}

/* BOTÕES */
.cta-button {
    display: inline-block;
    background: var(--cor-terciaria);
    color: var(--cor-primaria);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(163, 206, 241, 0.3);
    animation: slideInUp 1s ease-out 0.9s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(163, 206, 241, 0.4);
    color: var(--cor-primaria);
}

/* SEÇÕES GERAIS */
.section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--cor-primaria);
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--cor-secundaria), var(--cor-terciaria));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--cor-texto);
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* GRID DE SERVIÇOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--cor-branca);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-left: 5px solid var(--cor-secundaria);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--cor-secundaria), var(--cor-terciaria));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--cor-secundaria), var(--cor-terciaria));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--cor-branca);
    transition: all 0.3s ease;
}

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

.service-title {
    color: var(--cor-primaria);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    line-height: 1.7;
    color: var(--cor-texto);
    opacity: 0.9;
}

/* SEÇÃO SOBRE */
.about-section {
    background: var(--cor-branca);
    border-radius: 25px;
    margin: 4rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--cor-primaria);
    font-weight: 600;
}

.about-image {
    background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-terciaria));
    height: 350px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-branca);
    font-size: 5rem;
    animation: float 6s ease-in-out infinite;
}

/* PORTFÓLIO */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.portfolio-item {
    background: var(--cor-branca);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.portfolio-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-terciaria));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-branca);
    font-size: 3.5rem;
    position: relative;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    color: var(--cor-primaria);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-description {
    line-height: 1.7;
    color: var(--cor-texto);
    opacity: 0.9;
}

/* FOOTER */
.site-footer {
    background: var(--cor-primaria);
    color: var(--cor-branca);
    text-align: center;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-contact {
    color: var(--cor-terciaria);
    margin-bottom: 1rem;
}

/* ANIMAÇÕES */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding-top: 120px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}

/* UTILITÁRIOS */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* LOGO COM EFEITOS AVANÇADOS */
.hero-logo-container {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.logo-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(163, 206, 241, 0.2) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    z-index: 1;
}

.logo-main {
    position: relative;
    max-width: 350px;
    width: 100%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-main:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)) brightness(1.1);
}

/* Classe para screen readers */
.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 pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .logo-main {
        max-width: 250px;
    }
}

/* HEADER RESPONSIVO MELHORADO */
.site-header {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Header compacto ao fazer scroll */
.site-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(20, 58, 103, 0.95);
    backdrop-filter: blur(10px);
}

.site-header.scrolled .header-logo-image {
    max-height: 40px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* Logo container */
.site-logo {
    z-index: 1001;
    position: relative;
}

/* LOGO NO HEADER */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-logo-image {
    max-height: 50px;
    width: auto;
    max-width: 200px;
    filter: brightness(1) drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.site-logo:hover .header-logo-image {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* Esconder texto mas manter para SEO */
.logo-text-hidden {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Ajustes quando o header fica fixo */
.site-header {
    transition: all 0.3s ease;
}

/* Responsividade do logo no header */
@media (max-width: 768px) {
    .header-logo-image {
        max-height: 40px;
        max-width: 150px;
    }
    
    .header-content {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .header-logo-image {
        max-height: 35px;
        max-width: 120px;
    }
}
/* ===== MENU MOBILE - CORREÇÃO RESPONSIVIDADE ===== */

/* Esconder o botão de toggle em telas grandes */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--cor-branca);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* RESPONSIVIDADE MOBILE - SOBRESCREVE AS REGRAS ANTERIORES */
@media (max-width: 768px) {
    
    /* Mostrar o botão de toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Header ajustado para mobile */
    .header-content {
        flex-direction: row; /* Manter em linha, não coluna */
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        gap: 0; /* Remover gap */
    }
    
    /* Esconder o menu principal por padrão em mobile */
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--cor-primaria);
        z-index: 999;
        padding-top: 100px;
        transform: translateX(-100%); /* Esconde para a esquerda */
        transition: transform 0.3s ease-out;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
    }
    
    /* Menu ativo (quando .active é adicionado pelo JS) */
    .main-navigation.active {
        transform: translateX(0); /* Desliza para dentro */
    }
    
    /* Itens do menu em mobile */
    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        text-align: center;
        padding: 2rem;
        list-style: none;
    }
    
    .main-navigation a {
        font-size: 1.5rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .main-navigation a:hover {
        background-color: rgba(255,255,255,0.1);
        color: var(--cor-terciaria);
    }
    
    /* Animação do botão hambúrguer quando ativo */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    /* Ajustes do hero para mobile */
    .hero-section {
        padding-top: 100px;
    }
    
    /* Prevenir scroll do body quando menu estiver aberto */
    body.menu-open {
        overflow: hidden;
    }
}

/* Telas muito pequenas */
@media (max-width: 480px) {
    .header-content {
        padding: 0.8rem 1rem;
    }
    
    .main-navigation {
        padding-top: 80px;
    }
    
    .main-navigation ul {
        padding: 1rem;
    }
    
    .main-navigation a {
        font-size: 1.3rem;
        padding: 0.8rem 0;
    }
}
/* SEÇÃO SOBRE - IMAGEM CORRIGIDA */
.about-image {
    /* Remove o background gradient */
    background: none;
    height: 350px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Remove as propriedades de texto */
    /* color: var(--cor-branca); */
    /* font-size: 5rem; */
    /* Remove a animação float */
    /* animation: float 6s ease-in-out infinite; */
    overflow: hidden; /* IMPORTANTE: evita que a imagem saia do container */
    position: relative;
}

/* Nova classe para a imagem */
.about-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem cobrir todo o espaço mantendo proporção */
    object-position: center; /* Centraliza a imagem */
    border-radius: 20px;
    transition: transform 0.3s ease;
    display: block; /* Garante que seja tratada como bloco */
}

.about-image-photo:hover {
    transform: scale(1.02); /* Leve zoom no hover */
}

/* Responsividade */
@media (max-width: 768px) {
    .about-image {
        height: 250px;
        margin-top: 2rem;
    }
    
    .about-image-photo {
        border-radius: 15px;
    }
}
/* CALL TO ACTION - COM IMAGEM DE FAROL DE FUNDO */
.cta-container {
    background: 
        linear-gradient(
            135deg, 
            rgba(52, 152, 219, 0.85), 
            rgba(155, 89, 182, 0.85)
        ), 
        url('<?php echo get_template_directory_uri(); ?>/assets/images/farol-cta-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    border-radius: 25px;
    text-align: center;
    color: var(--cor-branca);
    position: relative;
    overflow: hidden;
}

/* Overlay adicional para garantir legibilidade total */
.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(20, 58, 103, 0.6), 
        rgba(96, 150, 186, 0.6)
    );
    border-radius: 25px;
    z-index: 1;
}

/* Garante que todo o conteúdo fique acima do overlay */
.cta-container > * {
    position: relative;
    z-index: 2;
}

/* Responsividade */
@media (max-width: 768px) {
    .cta-container {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }
    
    .cta-container::before {
        border-radius: 20px;
    }
    
    .cta-container h2 {
        font-size: 2rem !important;
    }
    
    .cta-container p {
        font-size: 1.1rem !important;
    }
}

/* ===== BARRA DE COOKIES - LGPD ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    color: var(--cor-branca);
    padding: 1rem 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid var(--cor-terciaria);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text p {
    margin: 0;
    margin-bottom: 0.3rem;
}

.cookie-text p:last-child {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.85rem;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--cor-terciaria);
    color: var(--cor-primaria);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept:hover {
    background: var(--cor-branca);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cookie-link {
    color: var(--cor-branca);
    text-decoration: underline;
    font-size: 0.85rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.cookie-link:hover {
    opacity: 1;
    color: var(--cor-terciaria);
}

/* Responsividade */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .cookie-text {
        text-align: left;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-text p:last-child {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cookie-accept {
        width: 100%;
        padding: 0.8rem 1rem;
    }
}

/* ===== FOOTER FUTURISTA ===== */
.site-footer-futuristic {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, #0f2744 50%, var(--cor-secundaria) 100%);
    position: relative;
    margin-top: 4rem;
    overflow: hidden;
}

/* Padrão de fundo futurista */
.footer-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(163, 206, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(96, 150, 186, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(163, 206, 241, 0.03) 49%, rgba(163, 206, 241, 0.03) 51%, transparent 52%);
    background-size: 100px 100px, 150px 150px, 20px 20px;
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}

.footer-content-futuristic {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    color: var(--cor-branca);
}

/* Brand Section */
.footer-brand {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.brand-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(163, 206, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: brandGlow 4s ease-in-out infinite;
}

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

.footer-brand-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--cor-branca), var(--cor-terciaria), var(--cor-branca));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 3;
    text-shadow: 0 0 30px rgba(163, 206, 241, 0.5);
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 3;
}

.footer-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cor-terciaria), transparent);
    margin: 2rem auto;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(163, 206, 241, 0.5);
}

/* Contact Grid */
.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(163, 206, 241, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cor-terciaria), transparent);
    transition: left 0.4s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(163, 206, 241, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-terciaria));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(163, 206, 241, 0.3);
    transition: all 0.3s ease;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cor-primaria);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(163, 206, 241, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--cor-terciaria);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(163, 206, 241, 0.5), transparent);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-bottom-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--cor-terciaria);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cor-terciaria);
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.footer-tech-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(45deg, 
        transparent 48%, 
        rgba(163, 206, 241, 0.1) 49%, 
        rgba(163, 206, 241, 0.1) 51%, 
        transparent 52%);
    background-size: 10px 10px;
    opacity: 0.3;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-content-futuristic {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-brand-title {
        font-size: 2.2rem;
    }
    
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer-brand-title {
        font-size: 1.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .contact-info {
        align-items: center;
    }
}

/* ===== ÍCONES SVG PROFISSIONAIS ===== */
.service-icon svg,
.portfolio-image svg {
    width: 1.8rem;
    height: 1.8rem;
    color: var(--cor-branca);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Portfólio ícones específicos */
.portfolio-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-terciaria));
    color: var(--cor-branca);
    position: relative;
}

.portfolio-item:hover .portfolio-image svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

/* Animação de entrada dos ícones */
@keyframes iconFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-icon svg,
.portfolio-image svg {
    animation: iconFadeIn 0.6s ease-out;
}

/* ===== ÍCONES MODERNOS E IMPACTANTES ===== */

/* Serviços - Ícones Grandes e Modernos */
.service-icon-modern {
    width: 90px;
    height: 90px;
    position: relative;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(163, 206, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconPulse 4s ease-in-out infinite;
}

.service-svg {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: all 0.4s ease;
}

.service-card:hover .service-svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
}

.service-card:hover .icon-background {
    background: radial-gradient(circle, rgba(163, 206, 241, 0.4) 0%, transparent 70%);
    transform: scale(1.2);
}

/* Portfólio - Ícones Ainda Maiores */
.portfolio-image-modern {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-terciaria));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-icon-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    border-radius: 50%;
    animation: portfolioFloat 6s ease-in-out infinite;
}

.portfolio-svg {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-svg {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.portfolio-item:hover .portfolio-icon-bg {
    transform: scale(1.3) rotate(180deg);
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
}

/* Animações dos Ícones Modernos */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes portfolioFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Efeitos de hover melhorados para os cards modernos */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
}

/* Sobrescrever os ícones antigos quando os modernos estiverem presentes */
.service-icon-modern ~ .service-icon {
    display: none;
}

.portfolio-image-modern ~ .portfolio-image {
    display: none;
}

/* Gradientes personalizados para cada serviço */
.service-svg defs linearGradient {
    --color1: var(--cor-terciaria);
    --color2: var(--cor-secundaria);
}

/* Efeitos especiais para os SVGs animados */
.portfolio-svg circle[animate] {
    animation-timing-function: ease-in-out;
}

.portfolio-svg line[animate] {
    animation-timing-function: linear;
}

/* CTA com overlay melhorado para usar paleta correta */
.cta-container {
    background: 
        linear-gradient(
            135deg, 
            rgba(20, 58, 103, 0.9), 
            rgba(96, 150, 186, 0.9)
        ), 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23A3CEF1" fill-opacity="0.1" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    border-radius: 25px;
    text-align: center;
    color: var(--cor-branca);
    position: relative;
    overflow: hidden;
}

/* Responsividade para ícones modernos */
@media (max-width: 768px) {
    .service-icon-modern {
        width: 70px;
        height: 70px;
    }
    
    .service-svg {
        width: 45px;
        height: 45px;
    }
    
    .portfolio-svg {
        width: 60px;
        height: 60px;
    }
    
    .portfolio-image-modern {
        height: 180px;
    }
    
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }
    
    .portfolio-item:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }
}

@media (max-width: 480px) {
    .service-icon-modern {
        width: 60px;
        height: 60px;
    }
    
    .service-svg {
        width: 40px;
        height: 40px;
    }
    
    .portfolio-svg {
        width: 50px;
        height: 50px;
    }
    
    .portfolio-image-modern {
        height: 160px;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .portfolio-item:hover {
        transform: translateY(-5px) scale(1.005);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }
}

/* Otimizações de performance */
.service-svg,
.portfolio-svg {
    will-change: transform, filter;
}

.icon-background,
.portfolio-icon-bg {
    will-change: transform, opacity;
}

/* Estados de carregamento */
.service-svg,
.portfolio-svg {
    opacity: 0;
    animation: iconFadeIn 0.6s ease-out forwards;
}

.service-card:nth-child(1) .service-svg { animation-delay: 0.1s; }
.service-card:nth-child(2) .service-svg { animation-delay: 0.2s; }
.service-card:nth-child(3) .service-svg { animation-delay: 0.3s; }
.service-card:nth-child(4) .service-svg { animation-delay: 0.4s; }
.service-card:nth-child(5) .service-svg { animation-delay: 0.5s; }
.service-card:nth-child(6) .service-svg { animation-delay: 0.6s; }
.service-card:nth-child(7) .service-svg { animation-delay: 0.7s; }

.portfolio-item:nth-child(1) .portfolio-svg { animation-delay: 0.2s; }
.portfolio-item:nth-child(2) .portfolio-svg { animation-delay: 0.4s; }
.portfolio-item:nth-child(3) .portfolio-svg { animation-delay: 0.6s; }
.portfolio-item:nth-child(4) .portfolio-svg { animation-delay: 0.8s; }
.portfolio-item:nth-child(5) .portfolio-svg { animation-delay: 1.0s; }
.portfolio-item:nth-child(6) .portfolio-svg { animation-delay: 1.2s; }
.portfolio-item:nth-child(7) .portfolio-svg { animation-delay: 1.4s; }

/* Melhoria da animação de entrada */
@keyframes iconFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efeitos de glow para ícones especiais */
.service-svg[data-glow="true"],
.portfolio-svg[data-glow="true"] {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)) drop-shadow(0 0 15px rgba(163, 206, 241, 0.3));
}

.service-card:hover .service-svg[data-glow="true"],
.portfolio-item:hover .portfolio-svg[data-glow="true"] {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25)) drop-shadow(0 0 25px rgba(163, 206, 241, 0.5));
}

/* Ajustes finais para manter consistência */
.service-icon-modern + .service-title {
    margin-top: 0.5rem;
}

.portfolio-image-modern + .portfolio-content .portfolio-title {
    margin-top: 0.5rem;
}

/* Prevenção de conflitos com ícones antigos */
.service-icon-modern {
    display: flex !important;
}

.portfolio-image-modern {
    display: flex !important;
}

/* ===== ÍCONES PADRÃO FOOTER ===== */

/* Serviços - Mesmo estilo do footer */
.service-icon-footer-style {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-terciaria));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(163, 206, 241, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto 1.5rem;
}

.service-icon-footer-style svg {
    width: 24px;
    height: 24px;
    color: var(--cor-primaria);
}

.service-card:hover .service-icon-footer-style {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(163, 206, 241, 0.4);
}

/* Portfólio - Versão maior do mesmo estilo */
.portfolio-image-footer-style {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-terciaria));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image-footer-style svg {
    width: 48px;
    height: 48px;
    color: var(--cor-primaria);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-image-footer-style svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

/* Efeitos de hover dos cards mantidos */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Ocultar ícones antigos */
.service-icon-footer-style + * .service-icon {
    display: none !important;
}

.portfolio-image-footer-style + * .portfolio-image {
    display: none !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .service-icon-footer-style {
        width: 45px;
        height: 45px;
    }
    
    .service-icon-footer-style svg {
        width: 20px;
        height: 20px;
    }
    
    .portfolio-image-footer-style {
        height: 180px;
    }
    
    .portfolio-image-footer-style svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .service-icon-footer-style {
        width: 40px;
        height: 40px;
    }
    
    .service-icon-footer-style svg {
        width: 18px;
        height: 18px;
    }
    
    .portfolio-image-footer-style {
        height: 160px;
    }
    
    .portfolio-image-footer-style svg {
        width: 35px;
        height: 35px;
    }
}