/* ========================================
   CHAVES AUTOMOTIVAS LINHA PREMIUM - CSS
   Prefixo: .akp- (Automotivas Keys Premium)
   ======================================== */

/* ========================================
   SEÇÃO PRINCIPAL
   ======================================== */
.akp-section {
    position: relative;
    padding: 30px 20px;
    background: #012A55;
    overflow: hidden;
    min-height: 100vh;
}

/* ========================================
   CONTAINER
   ======================================== */
.akp-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ========================================
   EFEITOS DE LUZ ANIMADA
   ======================================== */
/* Luz varrendo horizontal */
.akp-light-sweep {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(252, 121, 26, 0) 20%,
        rgba(252, 121, 26, 0.8) 40%,
        rgba(252, 121, 26, 1) 50%, 
        rgba(252, 121, 26, 0.8) 60%,
        rgba(252, 121, 26, 0) 80%,
        transparent 100%);
    top: 20%;
    left: 0;
    animation: akp-sweep-horizontal 6s ease-in-out infinite;
    filter: blur(2px);
    box-shadow: 0 0 30px rgba(252, 121, 26, 0.9),
                0 0 60px rgba(252, 121, 26, 0.6);
}

@keyframes akp-sweep-horizontal {
    0% {
        top: 10%;
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    50% {
        top: 50%;
        opacity: 1;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        top: 90%;
        opacity: 0;
    }
}

/* ========================================
   PARTÍCULAS
   ======================================== */
.akp-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.akp-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(252, 121, 26, 1) 0%, rgba(252, 121, 26, 0) 70%);
    border-radius: 50%;
    animation: akp-particle-float 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(252, 121, 26, 0.8);
}

.akp-particle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.akp-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 15s;
    background: radial-gradient(circle, rgba(21, 178, 57, 1) 0%, rgba(21, 178, 57, 0) 70%);
    box-shadow: 0 0 10px rgba(21, 178, 57, 0.8);
}

.akp-particle:nth-child(3) {
    top: 80%;
    left: 10%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.akp-particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 14s;
    background: radial-gradient(circle, rgba(1, 42, 85, 1) 0%, rgba(1, 42, 85, 0) 70%);
    box-shadow: 0 0 10px rgba(1, 42, 85, 0.8);
}

.akp-particle:nth-child(5) {
    top: 50%;
    left: 40%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.akp-particle:nth-child(6) {
    top: 20%;
    left: 90%;
    animation-delay: 5s;
    animation-duration: 13s;
    background: radial-gradient(circle, rgba(21, 178, 57, 1) 0%, rgba(21, 178, 57, 0) 70%);
    box-shadow: 0 0 10px rgba(21, 178, 57, 0.8);
}

.akp-particle:nth-child(7) {
    top: 70%;
    left: 60%;
    animation-delay: 2.5s;
    animation-duration: 17s;
}

.akp-particle:nth-child(8) {
    top: 40%;
    left: 15%;
    animation-delay: 4.5s;
    animation-duration: 15s;
    background: radial-gradient(circle, rgba(1, 42, 85, 1) 0%, rgba(1, 42, 85, 0) 70%);
    box-shadow: 0 0 10px rgba(1, 42, 85, 0.8);
}

@keyframes akp-particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.8);
        opacity: 0.9;
    }
    75% {
        transform: translate(40px, 10px) scale(1.1);
        opacity: 0.5;
    }
}

/* ========================================
   CABEÇALHO
   ======================================== */
.akp-header {
    text-align: center;
    margin-bottom: 80px;
}

.akp-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.akp-icon-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FC791A, transparent);
    box-shadow: 0 0 10px rgba(252, 121, 26, 0.6);
}

.akp-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #FC791A;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(252, 121, 26, 0.8);
}

.akp-title {
    font-size: 56px;
    font-weight: 900;
    margin: 20px 0;
    line-height: 1.2;
}

.akp-title-gradient {
    background: linear-gradient(135deg, #fff 0%, #FC791A 50%, #15B239 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-shadow: 0 0 30px rgba(252, 121, 26, 0.3);
}

.akp-title-accent {
    color: #15B239;
    display: block;
    text-shadow: 0 0 30px rgba(21, 178, 57, 0.6),
                 0 0 60px rgba(21, 178, 57, 0.3);
}

.akp-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   GRID DE SERVIÇOS
   ======================================== */
.akp-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* ========================================
   CARDS DE SERVIÇO
   ======================================== */
.akp-service-card {
    position: relative;
    background: rgba(1, 42, 85, 0.2);
    border: 1px solid rgba(252, 121, 26, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transform-style: preserve-3d;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    cursor: default !important;
}

.akp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(252, 121, 26, 0.1) 0%, 
        transparent 50%, 
        rgba(21, 178, 57, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.akp-service-card:hover::before {
    opacity: 1;
}

.akp-service-card:hover {
    border-color: rgba(252, 121, 26, 0.8);
    box-shadow: 0 20px 60px rgba(252, 121, 26, 0.3),
                0 0 40px rgba(252, 121, 26, 0.2),
                inset 0 0 40px rgba(252, 121, 26, 0.1);
}

/* Efeito de brilho */
.akp-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(252, 121, 26, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.akp-service-card:hover .akp-card-glow {
    opacity: 1;
    animation: akp-glow-pulse 2s ease-in-out infinite;
}

@keyframes akp-glow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Efeito shine */
.akp-card-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.akp-service-card:hover .akp-card-shine {
    left: 100%;
    top: 100%;
}

/* Conteúdo do card */
.akp-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Garante que TODOS os elementos dentro do card tenham cursor default */
.akp-service-card,
.akp-service-card *,
.akp-service-card:hover,
.akp-service-card *:hover,
.akp-brand-item,
.akp-brand-item *,
.akp-brand-item:hover,
.akp-brand-item *:hover {
    cursor: default !important;
}

/* ========================================
   ÍCONES
   ======================================== */
.akp-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.akp-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FC791A, #15B239);
    border-radius: 20px;
    opacity: 0.2;
    transition: all 0.4s ease;
    animation: akp-icon-rotate 10s linear infinite;
}

.akp-service-card:hover .akp-icon-bg {
    opacity: 0.4;
    transform: scale(1.1);
}

@keyframes akp-icon-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.akp-icon-container i {
    font-size: 36px;
    color: #FC791A;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.akp-service-card:hover .akp-icon-container i {
    color: #15B239;
    transform: scale(1.1) rotateY(360deg);
    text-shadow: 0 0 20px rgba(21, 178, 57, 0.8);
}

/* Pulso do ícone */
.akp-icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #FC791A;
    border-radius: 20px;
    animation: akp-pulse 2s ease-out infinite;
}

@keyframes akp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ========================================
   TEXTOS DO CARD
   ======================================== */
.akp-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
    transition: color 0.3s ease;
}

.akp-service-card:hover .akp-card-title {
    color: #FC791A;
    text-shadow: 0 0 20px rgba(252, 121, 26, 0.6);
}

.akp-card-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ========================================
   FEATURES
   ======================================== */
.akp-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.akp-card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.akp-card-features li:hover {
    color: #15B239;
    transform: translateX(5px);
}

.akp-card-features i {
    color: #15B239;
    font-size: 16px;
    transition: all 0.3s ease;
}

.akp-card-features li:hover i {
    color: #FC791A;
    transform: scale(1.2) rotate(360deg);
}

/* ========================================
   SEÇÃO DE MARCAS
   ======================================== */
.akp-brands-section {
    margin-bottom: 80px;
    padding: 60px 40px;
    background: rgba(1, 42, 85, 0.2);
    border: 1px solid rgba(252, 121, 26, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.akp-brands-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.akp-title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FC791A, transparent);
    max-width: 200px;
}

.akp-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
}

.akp-brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
    background: rgba(1, 42, 85, 0.3);
    border: 1px solid rgba(252, 121, 26, 0.2);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default !important;
}

.akp-brand-item:hover {
    background: rgba(252, 121, 26, 0.2);
    border-color: #FC791A;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(252, 121, 26, 0.4);
}

.akp-brand-item i {
    font-size: 32px;
    color: #FC791A;
    transition: all 0.4s ease;
}

.akp-brand-item:hover i {
    color: #15B239;
    transform: scale(1.2) rotate(360deg);
}

.akp-brand-item span {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* ========================================
   CTA
   ======================================== */
.akp-cta-section {
    margin-bottom: 80px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(252, 121, 26, 0.2), rgba(21, 178, 57, 0.2));
    border: 2px solid rgba(252, 121, 26, 0.4);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.akp-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(252, 121, 26, 0.2) 0%, transparent 70%);
    animation: akp-cta-glow 4s ease-in-out infinite;
}

@keyframes akp-cta-glow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10%, 10%);
    }
}

.akp-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.akp-cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #15B239, #0d7a28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(21, 178, 57, 0.4);
    animation: akp-cta-icon-pulse 2s ease-in-out infinite;
}

@keyframes akp-cta-icon-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(21, 178, 57, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 40px rgba(21, 178, 57, 0.6);
    }
}

.akp-cta-icon i {
    font-size: 40px;
    color: #fff;
}

.akp-cta-text {
    flex: 1;
}

.akp-cta-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.akp-cta-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.akp-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #FC791A, #15B239);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(252, 121, 26, 0.4);
    position: relative;
    overflow: hidden;
}

.akp-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.akp-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.akp-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(252, 121, 26, 0.6);
}

.akp-button-text {
    position: relative;
    z-index: 1;
}

.akp-button-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.akp-cta-button:hover .akp-button-icon {
    transform: translateX(10px);
}

/* ========================================
   ESTATÍSTICAS
   ======================================== */
.akp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.akp-stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(1, 42, 85, 0.3);
    border: 1px solid rgba(252, 121, 26, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.akp-stat-item:hover {
    background: rgba(252, 121, 26, 0.2);
    border-color: #FC791A;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(252, 121, 26, 0.4);
}

.akp-stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FC791A, #15B239);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.akp-stat-item:hover .akp-stat-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 10px 30px rgba(252, 121, 26, 0.6);
}

.akp-stat-icon i {
    font-size: 28px;
    color: #fff;
}

.akp-stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #FC791A;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(252, 121, 26, 0.6);
}

.akp-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ========================================
   GRADIENTE DE FUNDO
   ======================================== */
.akp-gradient-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(0deg, rgba(1, 42, 85, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

/* ========================================
   RESPONSIVIDADE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .akp-title {
        font-size: 48px;
    }

    .akp-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .akp-brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    .akp-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .akp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   RESPONSIVIDADE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .akp-section {
        padding: 30px 15px;
    }

    .akp-header {
        margin-bottom: 50px;
    }

    .akp-title {
        font-size: 36px;
    }

    .akp-title-gradient,
    .akp-title-accent {
        display: inline;
    }

    .akp-description {
        font-size: 16px;
    }

    .akp-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .akp-service-card {
        padding: 30px 20px;
        min-height: auto;
    }

    /* Desabilitar efeitos 3D no mobile */
    .akp-service-card:hover {
        transform: translateY(-5px) !important;
    }

    .akp-brands-section {
        padding: 40px 20px;
    }

    .akp-brands-title {
        font-size: 24px;
        flex-direction: column;
        gap: 15px;
    }

    .akp-title-line {
        width: 100%;
    }

    .akp-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .akp-brand-item {
        padding: 20px 15px;
    }

    .akp-cta-section {
        padding: 30px 20px;
    }

    .akp-cta-text h3 {
        font-size: 22px;
    }

    .akp-cta-text p {
        font-size: 14px;
    }

    .akp-cta-button {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 16px;
    }

    .akp-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .akp-stat-item {
        padding: 30px 15px;
    }

    .akp-stat-number {
        font-size: 36px;
    }

    /* Reduzir intensidade dos efeitos no mobile */
    .akp-light-sweep {
        opacity: 0.5;
    }

    .akp-particle {
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .akp-title {
        font-size: 28px;
    }

    .akp-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .akp-icon-line {
        width: 30px;
    }

    .akp-card-title {
        font-size: 20px;
    }

    .akp-card-description {
        font-size: 14px;
    }

    .akp-brands-title {
        font-size: 20px;
    }

    .akp-brand-item span {
        font-size: 14px;
    }
}