﻿/* Hero Section Home - Apple Inspired Design */
.hero-section-home {
    padding: 200px 0 80px;
    background: linear-gradient(135deg, #fef8f6 0%, #fff5f0 100%);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content-home {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text-center {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 48px;
    box-shadow: 0 4px 24px rgba(255, 107, 53, 0.12), 0 0 0 1px rgba(255, 107, 53, 0.1);
    border: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 6px 28px rgba(255, 107, 53, 0.14), 0 0 0 1px rgba(255, 107, 53, 0.12);
}

.hero-badge i {
    color: var(--primary-color) !important;
    font-size: 18px;
}

.hero-title-home {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 32px;
    letter-spacing: -2.5px;
    color: var(--dark-color) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}

/* Container de gradientes - DESATIVADO */
.gradients-container {
    display: none;
}

.gradients-container > div {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    mix-blend-mode: hard-light;
    will-change: transform;
}

.g1 {
    background: radial-gradient(circle at center, rgba(255, 107, 53, 1) 0%, rgba(255, 107, 53, 0.3) 40%, rgba(255, 107, 53, 0) 70%);
    top: 10%;
    left: 10%;
    animation: moveVertical 30s ease infinite;
}

.g2 {
    background: radial-gradient(circle at center, rgba(247, 147, 30, 1) 0%, rgba(247, 147, 30, 0.3) 40%, rgba(247, 147, 30, 0) 70%);
    top: 50%;
    left: 70%;
    animation: moveInCircle 20s reverse infinite;
}

.g3 {
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.9) 0%, rgba(255, 107, 53, 0.3) 40%, rgba(255, 107, 53, 0) 70%);
    top: 60%;
    left: 20%;
    animation: moveInCircle 40s linear infinite;
}

.g4 {
    background: radial-gradient(circle at center, rgba(247, 147, 30, 0.9) 0%, rgba(247, 147, 30, 0.3) 40%, rgba(247, 147, 30, 0) 70%);
    top: 20%;
    left: 60%;
    animation: moveHorizontal 40s ease infinite;
}

.g5 {
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.9) 0%, rgba(255, 107, 53, 0.3) 40%, rgba(255, 107, 53, 0) 70%);
    top: 70%;
    left: 50%;
    animation: moveVertical 25s ease infinite;
}

.interactive {
    background: radial-gradient(circle at center, rgba(247, 147, 30, 1) 0%, rgba(247, 147, 30, 0.4) 40%, rgba(247, 147, 30, 0) 70%);
    width: 700px;
    height: 700px;
    top: -50%;
    left: -50%;
    opacity: 0.8;
}

@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(50%);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }
    50% {
        transform: translateX(50%) translateY(10%);
    }
    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

.hero-content-home {
    position: relative;
    z-index: 1;
}

.hero-description-home {
    font-size: 24px;
    color: var(--gray-color);
    margin-bottom: 56px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.3px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Tech Carousel Section */
.tech-carousel-section {
    background: #0A0A0A;
    padding: 50px 0;
    overflow: hidden;
    position: relative;
}

.tech-carousel-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-carousel-track {
    display: flex;
    gap: 60px;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-carousel-track:hover {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 10px;
    border: 1.5px solid rgba(255, 107, 53, 0.25);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tech-item:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.tech-item i {
    font-size: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.15);
    color: #FF6B35;
}

.tech-item span {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
}

/* Services Highlight Section */
.services-highlight {
    padding: 60px 0 80px 0;
    background: linear-gradient(135deg, #fef8f6 0%, #fff5f0 100%);
}

.services-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.service-highlight-card {
    background: white;
    border-radius: 24px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.service-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.service-card-decoration {
    display: none !important;
}

.service-highlight-card:hover .service-card-decoration {
    display: none !important;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.service-highlight-card:hover .service-icon-large {
    transform: scale(1.1) rotate(-5deg);
}

.service-icon-large i {
    font-size: 36px;
    color: white !important;
}

.service-highlight-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.service-highlight-desc {
    font-size: 16px;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.3s;
}

.service-highlight-link:hover {
    gap: 12px;
}

.service-highlight-link i {
    color: var(--primary-color) !important;
    font-size: 14px;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    padding: 40px 0;
    border-top: 2px solid rgba(255, 107, 53, 0.15);
    border-bottom: 2px solid rgba(255, 107, 53, 0.15);
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-box .stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-box .stat-label {
    font-size: 14px;
    color: var(--gray-color);
    font-weight: 500;
}

/* CTA e Stats Grid - Layout em 2 Colunas */
.cta-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
    padding: 0 40px;
}

.cta-content {
    padding-right: 40px;
}

.cta-headline {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -1px;
}

.cta-subheadline {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.cta-content .btn-large {
    display: inline-flex;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-light);
    padding: 32px 28px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
}

.service-card::before {
    display: none;
}

.service-card:hover::before {
    display: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    /* Sem efeito extra no hover */
}

.service-icon i {
    font-size: 28px;
    color: white !important;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.service-description {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 12px;
}

.service-link i {
    font-size: 14px;
    color: var(--primary-color) !important;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fef8f6 0%, #fff5f0 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.portfolio-category {
    background: white;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.portfolio-content {
    padding: 32px;
}

.portfolio-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.portfolio-description {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 24px;
}

.portfolio-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.portfolio-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portfolio-stat .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.portfolio-stat .stat-label {
    font-size: 13px;
    color: var(--gray-color);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 32px;
    font-size: 80px;
    font-weight: 800;
    color: rgba(255, 107, 53, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FF6B35 !important;
    font-size: 18px;
}

.testimonial-text {
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--gray-color);
}

/* Clean Testimonials Design */
.testimonial-card-clean {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.6s ease-out backwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card-clean:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card-clean:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card-clean:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card-clean:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card-clean:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.testimonial-text-clean {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 400;
    flex: 1;
}

.testimonial-author-clean {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar-clean {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #FF6B35;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card-clean:hover .author-avatar-clean {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.author-avatar-clean img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card-clean:hover .author-avatar-clean img {
    transform: scale(1.1);
}

.author-info-clean {
    flex: 1;
}

.author-name-clean {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.author-role-clean {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 400;
}

/* Responsive adjustments for home */
@media (max-width: 968px) {
    .services-cards-wrapper {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cta-stats-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }

    .cta-content {
        padding-right: 0;
        text-align: center;
    }

    .cta-headline {
        font-size: 36px;
    }

    .cta-subheadline {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section-home {
        padding: 100px 0 40px;
    }

    .hero-title-home {
        font-size: 38px;
    }

    .hero-description-home {
        font-size: 17px;
    }

    .cta-stats-grid {
        margin-top: 50px;
        gap: 40px;
    }

    .cta-headline {
        font-size: 28px;
    }

    .cta-subheadline {
        font-size: 15px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .services-cards-wrapper {
        gap: 20px;
    }

    .service-highlight-card {
        padding: 32px 28px;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        padding: 30px 0;
    }

    .stat-box .stat-number {
        font-size: 36px;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-image {
        height: 220px;
    }

    .portfolio-stats {
        gap: 20px;
    }

    .service-card,
    .portfolio-card,
    .testimonial-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title-home {
        font-size: 32px;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-box {
        padding: 16px;
    }
}

/* ==========================================
   CAROUSEL DE PROJETOS
   ========================================== */

.projects-carousel-section {
    padding: 100px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    background: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-slide:hover .carousel-image img {
    transform: scale(1.05);
}

.carousel-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--gradient-1);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.carousel-badge i {
    font-size: 16px;
}

.carousel-content {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark-color);
    line-height: 1.2;
}

.carousel-description {
    font-size: 17px;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 28px;
}

.carousel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.carousel-tags .tag {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dd 100%);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* Botões de navegaçéo */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn-prev {
    left: -28px;
}

.carousel-btn-next {
    right: -28px;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.indicator.active {
    background: var(--gradient-1);
    width: 32px;
    border-radius: 6px;
}

/* Responsive Carousel */
@media (max-width: 968px) {
    .carousel-slide {
        grid-template-columns: 1fr;
    }

    .carousel-image {
        height: 350px;
    }

    .carousel-content {
        padding: 40px 32px;
    }

    .carousel-title {
        font-size: 26px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .projects-carousel-section {
        padding: 60px 0;
    }

    .carousel-image {
        height: 280px;
    }

    .carousel-content {
        padding: 32px 24px;
    }

    .carousel-title {
        font-size: 22px;
    }

    .carousel-description {
        font-size: 15px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .carousel-btn-prev,
    .carousel-btn-next {
        left: 8px;
    }

    .carousel-btn-next {
        right: 8px;
    }
}


