/**
 * Estilos para a página de Comunicação e Marketing
 */

/* Seção principal e elementos decorativos */
.comunicacao-marketing-section {
    overflow: hidden;
    position: relative;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.comunicacao-marketing-section .shape-mockup {
    opacity: 0.25;
    animation-duration: 5s;
}

.comunicacao-marketing-section .jump {
    animation: jump 5s infinite ease-in-out;
}

.comunicacao-marketing-section .jump-reverse {
    animation: jump 5s infinite ease-in-out reverse;
}

@keyframes jump {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
    100% { transform: translateY(0px); }
}

/* Animação para elementos fadeIn com atraso */
.fadeDelay1 {
    animation: fadeIn 1s ease-in-out .2s forwards;
    opacity: 0;
}

.fadeDelay2 {
    animation: fadeIn 1s ease-in-out .4s forwards;
    opacity: 0;
}

.fadeDelay3 {
    animation: fadeIn 1s ease-in-out .6s forwards;
    opacity: 0;
}

/* Hero Section */
.hero-comunicacao {
    position: relative;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.hero-comunicacao:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(var(--theme-color-rgb), 0.08);
    z-index: -1;
    animation: pulse-bg 4s infinite ease-in-out;
}

@keyframes pulse-bg {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0.7; }
}

.comunicacao-intro-text {
    position: relative;
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transition: all 0.4s ease;
}

.comunicacao-intro-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.comunicacao-intro-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.comunicacao-intro-text h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--theme-color);
    border-radius: 2px;
}

.comunicacao-intro-text .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Imagem da introdução */
.intro-image {
    position: relative;
}

.intro-image:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--theme-color);
    opacity: 0.2;
    border-radius: 15px;
    z-index: -1;
    transition: all 0.5s ease;
}

.intro-image:hover:before {
    top: 10px;
    left: 10px;
    opacity: 0.4;
}

.intro-image img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.intro-image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

/* Cards de serviços */
.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--theme-color);
}

.service-card:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background-color: rgba(var(--theme-color-rgb), 0.05);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.5s ease;
}

.service-card:hover:before {
    transform: scale(1.2);
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--theme-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background-color: var(--theme-color);
    box-shadow: 0 10px 25px rgba(var(--theme-color-rgb), 0.4);
}

.service-card-icon i {
    font-size: 1.8rem;
    color: var(--theme-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon i {
    color: #fff;
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    position: relative;
    z-index: 1;
}

/* Blocos de recursos */
.feature-box {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--theme-color);
    transition: all 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-box-subtitle {
    color: var(--theme-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-box-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-image {
    position: relative;
}

/* =================== COMPONENTE DE EXPERIÊNCIA MELHORADO =================== */

/* Badge de experiência no hero */
.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--theme-color, #00215e), #00c6ff);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(var(--theme-color-rgb, 1, 102, 245), 0.3);
    animation: floatPulse 3s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 3;
}

@keyframes floatPulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
        box-shadow: 0 15px 40px rgba(var(--theme-color-rgb, 1, 102, 245), 0.3);
    }
    50% { 
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 25px 50px rgba(var(--theme-color-rgb, 1, 102, 245), 0.4);
    }
}

.experience-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.experience-text {
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Seção completa de experiência */
.experience-section {
    background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--theme-color-rgb, 1, 102, 245), 0.05) 0%, transparent 70%);
    z-index: 1;
}

/* Partículas flutuantes decorativas */
.experience-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(var(--theme-color-rgb, 1, 102, 245), 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(0, 198, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(var(--theme-color-rgb, 1, 102, 245), 0.06) 3px, transparent 3px),
        radial-gradient(circle at 30% 80%, rgba(0, 198, 255, 0.05) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 200px 200px, 120px 120px;
    animation: floatingParticles 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes floatingParticles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

.experience-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.experience-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--theme-color, #00215e);
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--theme-color, #00215e), #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Estatísticas melhoradas */
.experience-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    background: linear-gradient(135deg, #fff, #f8faff);
    border: 2px solid rgba(var(--theme-color-rgb, 1, 102, 245), 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-color, #00215e), #00c6ff);
    transition: height 0.4s ease;
}

.stat-item:hover::before {
    height: 100%;
    opacity: 0.1;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(var(--theme-color-rgb, 1, 102, 245), 0.15);
    border-color: var(--theme-color, #00215e);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--theme-color, #00215e);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* Imagem da experiência melhorada */
.experience-image {
    position: relative;
    z-index: 2;
}

.experience-image img {
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
}

.experience-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--theme-color, #00215e), #00c6ff);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.experience-image:hover img {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 80px rgba(0,0,0,0.15);
}

.experience-image:hover::before {
    transform: translateY(-5px) scale(1.05);
    opacity: 0.2;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: 15px;
        right: 15px;
    }
    
    .experience-number {
        font-size: 1.8rem;
    }
    
    .experience-text {
        font-size: 0.6rem;
    }
    
    .experience-section {
        padding: 2.5rem 1.5rem;
        margin: 2rem 0;
    }
    
    .experience-title {
        font-size: 2.2rem;
    }
    
    .experience-description {
        font-size: 1.1rem;
    }
    
    .experience-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Lista elegante para serviços */
.elegant-list ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.elegant-list ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-weight: 500;
}

.elegant-list ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--theme-color);
}

/* Cards do Portfólio */
.portfolio-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

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

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.75s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-img a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: var(--theme-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-img a {
    opacity: 1;
}

.portfolio-content {
    background-color: #fff;
    padding: 20px;
    position: relative;
}

.portfolio-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.portfolio-title a {
    color: #333;
    transition: all 0.3s ease;
}

.portfolio-title a:hover {
    color: var(--theme-color);
}

.portfolio-tag {
    color: #888;
    font-size: 0.9rem;
}

/* Box CTA para contatos */
.cta-box {
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-box:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--theme-color-rgb), 0.1), rgba(var(--theme-color-rgb), 0.2));
    z-index: 0;
}

.cta-box:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--theme-color-rgb), 0.2), rgba(var(--theme-color-rgb), 0.1));
    z-index: 0;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-text {
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-link {
    display: inline-block;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.contact-link:hover {
    color: var(--theme-color);
    transform: translateX(5px);
}

.contact-link i {
    color: var(--theme-color);
}

/* Links sociais */
.social-links-container {
    position: relative;
    z-index: 1;
}

.social-links-modern {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link-modern {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link-modern:hover {
    background-color: var(--theme-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--theme-color-rgb), 0.3);
}

/* Botão Voltar ao Topo */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: -60px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    background-color: var(--theme-color);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(var(--theme-color-rgb), 0.4);
    transition: all 0.5s ease;
    opacity: 0;
}

.scroll-top.show {
    bottom: 30px;
    opacity: 1;
}

.scroll-top:hover {
    background-color: #333;
}

.scroll-top .progress-circle {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    transform: rotate(-90deg);
}

.scroll-top .progress-circle path {
    fill: none;
    stroke: var(--theme-color);
    stroke-width: 3px;
    stroke-dashoffset: 0;
    stroke-linecap: round;
}

/* Responsividade */
@media (max-width: 991px) {
    .comunicacao-intro-text {
        margin-bottom: 2rem;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
    }
    
    .experience-badge .counter,
    .experience-badge span {
        font-size: 2rem;
    }
    
    .experience-badge .exp-text {
        font-size: 0.8rem;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .scroll-top {
        right: 15px;
        bottom: -50px;
        height: 40px;
        width: 40px;
        line-height: 40px;
    }
    
    .scroll-top.show {
        bottom: 15px;
    }
}

@media (max-width: 767px) {
    .comunicacao-intro-text h2 {
        font-size: 2.2rem;
    }
    
    .intro-image:before {
        display: none;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .social-links-container {
        margin-top: 2rem;
    }
    
    .portfolio-filter {
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }
    
    .portfolio-filter button {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 575px) {
    .feature-box {
        margin-bottom: 1.5rem;
    }
    
    .experience-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: 10px;
    }
    
    .service-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card-icon i {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}
