/* CSS específico para página Parceiros */

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: #f8f9fa;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Credit Promotion Section */
.credit-section {
    background: #2D8CFF;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.credit-section::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    width: 350px;
    height: 90px;
    left: -60px;
    top: 60%;
    background: rgba(217, 217, 217, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 21.6864px;
    transform: rotate(90deg);
    z-index: 2;
    pointer-events: none;
}

/* .credit-section::after {
    content: '';
    position: absolute;
    width: 410px;
    height: 190px;
    left: -82px;
    top: -51px;
    background: url(https://ads-institucional-magalu.luizalabs.com/7cd01adc-rectangle-1.png) no-repeat center center;
    background-size: cover;
    z-index: 4;
    pointer-events: none;
} */


/* Garantir que o conteúdo fique acima dos backgrounds */
.credit-section .container {
    position: relative;
    z-index: 10;
}


.rectangle-frame-bonus-right-bg {
    box-sizing: border-box;
    position: absolute;
    width: 454px;
    height: 152px;
    right: -280px;
    top: calc(50% - 152px/2 - 10px);
    background: rgba(217, 217, 217, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 21.6864px;
    z-index: 1;
    pointer-events: none;
}

.rainbow-frame-bonus-right-bg {
    position: absolute;
    right: -150px;
    top: 40%;
    border: 8px solid transparent;
    border-radius: 16px;
    height: 150px;
    width: 250px;
    background: linear-gradient(45deg, #FBE53B, #FF4F01 17%, #FF14B3 35%, #8000FF 55%, #00C1FF 80%, #17F036 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.rainbow-frame-bonus-left-bg {
    position: absolute;
    left: -50px;
    top: 5%;
    border: 8px solid transparent;
    border-radius: 16px;
    height: 200px;
    width: 350px;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #FBE53B, #FF4F01 17%, #FF14B3 35%, #8000FF 55%, #00C1FF 80%, #17F036 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}


.rainbow-frame-beneficios-right {
    position: absolute;
    right: -50px;
    top: 50%;
    border: 8px solid transparent;
    border-radius: 16px;
    height: 250px;
    width: 100px;
    transform: translateY(-50%);
    background: 
        linear-gradient(45deg,
            #FBE53B, #FF4F01 17%, #FF14B3 35%, #8000FF 55%, #00C1FF 80%, #17F036 100%
        ) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.rainbow-frame-beneficios-left {
    position: absolute;
    left: -50px;
    top: 30%;
    border: 8px solid transparent;
    border-radius: 16px;
    height: 250px;
    width: 100px;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #FBE53B, #FF4F01 17%, #FF14B3 35%, #8000FF 55%, #00C1FF 80%, #17F036 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}
@media (max-width: 1200px) {
    .rainbow-frame-left {
        display: none;
    }
    .rainbow-frame-right {
        display: none;
    }
}

.credit-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.credit-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.credit-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.credit-title .credit-amount {
    color: #FFD700;
    font-weight: 900;
}

.credit-description {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.credit-terms {
    font-size: 0.95rem;
    color: #fff;
    opacity: 0.8;
    margin-top: 1rem;
    font-style: normal;
}

.credit-terms a {
    color: #fff;
    text-decoration: underline;
    word-break: break-all;
}

/* Benefits Section */
.benefits-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.benefit-card:hover {
    transform: translateY(-2px);
}

.benefit-icon {
    flex-shrink: 0;
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    max-width: 390px;
    max-height: 222px;
    object-fit: contain;
    border-radius: 16px;
}

.benefit-content {
    flex: 1;
}
.timeline-gradient-bar {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, 
        #ffd700 0%,
        #ff6b35 25%,
        #ff1493 50%,
        #0086FF 75%,
        #32cd32 100%
    );
    border-radius: 4px;
    margin-left: 15%;
    margin-right: 15%;
}
.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.benefit-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* How it Works Section */
.how-it-works-section {
    background: white;
}

.step-card {
    padding: 2rem 1rem;
    background: transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: left;
}

.step-card:hover {
    transform: translateY(-2px);
}

.step-number {
    margin-bottom: 1.5rem;
}

.step-number img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Contact Form Section */
.contact-form-section {
    background: #F6F6F6;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-section .form-title {
    color: #2D8CFF;
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
}

.contact-form-section .form-desc {
    color: #444;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2.2rem;
}

.contact-form-section form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"] {
    flex: 1 1 0;
    min-width: 0;
    height: 52px;
    font-size: 1.1rem;
    padding: 0 1.2rem;
    border: 2px solid #d0e6ff;
    border-radius: 12px;
    outline: none;
    background: #fff;
    box-shadow: none;
    transition: border 0.2s;
}

.contact-form-section input[type="text"]:focus,
.contact-form-section input[type="email"]:focus {
    border-color: #2D8CFF;
}

.contact-form-section button,
.contact-form-section input[type="submit"] {
    background: #2D8CFF;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    padding: 0 2.2rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    height: 52px;
    align-self: stretch;
    margin-left: 0;
    width: 100%;
    box-shadow: 0 2px 8px 0 rgba(45, 140, 255, 0.08);
    display: flex;
    align-items: center;
}

.contact-form-section button:hover,
.contact-form-section input[type="submit"]:hover {
    background: #1766c2;
}

.contact-form-section .form-privacy {
    font-size: 0.95rem;
    color: #888;
    text-align: center;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-form-section .form-privacy a {
    color: #2D8CFF;
    text-decoration: underline;
}

.contact-form-section input::placeholder {
    color: #888;
    opacity: 1;
    font-size: 1.05rem;
}

/* Contact Form Background Elements */

/* Rectangle 25 */
.contact-form-rectangle-25 {
    box-sizing: border-box;
    position: absolute;
    width: 259px;
    height: 120px;
    right: -120px;
    bottom: 85.39px;
    background: rgba(217, 217, 217, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 21.6864px;
    z-index: 1;
    pointer-events: none;
}

/* Rectangle 26 */
.contact-form-rectangle-26 {
    box-sizing: border-box;
    position: absolute;
    width: 336px;
    height: 170px;
    left: 200px;
    bottom: -130px;
    background: rgba(217, 217, 217, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 21.6864px;
    transform: rotate(90deg);
    z-index: 2;
    pointer-events: none;
}

/* Rectangle 28 */
.contact-form-rectangle-28 {
    box-sizing: border-box;
    position: absolute;
    width: 336px;
    height: 170px;
    left: calc(50% - 336px/2 + 570px);
    top: -140px;
    background: rgba(217, 217, 217, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 21.6864px;
    transform: rotate(90deg);
    z-index: 3;
    pointer-events: none;
}

/* Rectangle 27 */
.contact-form-rectangle-27 {
    box-sizing: border-box;
    position: absolute;
    width: 336px;
    height: 170px;
    left: -200px;
    top: 60px;
    background: rgba(217, 217, 217, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 21.6864px;
    transform: rotate(-180deg);
    z-index: 4;
    pointer-events: none;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0070d9 100%);
    padding: 80px 0;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

.accordion {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.accordion-item {
    background: white;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: transparent;
    border: none;
    font-weight: 600;
    color: #333;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 134, 255, 0.1);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.footer .contact-info p {
    color: #666;
    margin: 0;
}

.footer .social-links a {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer .social-links a:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

.footer ul {
    margin: 0;
}

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

.footer ul li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom-link {
    color: #666;
    text-decoration: underline;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--primary-color);
}

.footer-bottom-link:first-child {
    margin-left: 0;
}

.rainbow-frame-bonus-right {
    position: absolute;
    right: 0;
    bottom: -90%;
    border: 8px solid transparent;
    border-radius: 16px;
    height: 100px;
    width: 200px;
    transform:  translateX(70%);
    background: 
        linear-gradient(45deg,
            #FBE53B, #FF4F01 17%, #FF14B3 35%, #8000FF 55%, #00C1FF 80%, #17F036 100%
        ) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.rainbow-frame-bonus-left {
    position: absolute;
    top: -30%;
    left: -2%;
    right: 0;
    border: 8px solid transparent;
    border-radius: 16px;
    height: 200px;
    width: 200px;
    background: linear-gradient(45deg, #FBE53B, #FF4F01 17%, #FF14B3 35%, #8000FF 55%, #00C1FF 80%, #17F036 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 1200px) {
    .rainbow-frame-bonus-left {
        display: none;
    }
    .rainbow-frame-bonus-right {
        display: none;
    }
    .rainbow-frame-beneficios-left {
        display: none;
    }
    .rainbow-frame-beneficios-right {
        display: none;
    }
    
    /* Ocultar componentes de background da seção credit em telas menores */
    .credit-section::before,
    .credit-section::after,
    .rainbow-frame-bonus-right-bg,
    .rainbow-frame-bonus-right-img {
        display: none;
    }
    
    /* Ocultar componentes de background da seção contact-form em telas menores */
    .contact-form-rectangle-25,
    .contact-form-rectangle-26,
    .contact-form-rectangle-27,
    .contact-form-rectangle-28 {
        display: none;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .credit-title {
        font-size: 2rem;
    }

    .credit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .benefit-icon {
        align-self: center;
        margin-bottom: 1rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .faq-card {
        padding: 2rem 1.5rem;
    }

    .faq-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .credit-section {
        padding: 40px 0;
    }

    .credit-title {
        font-size: 1.75rem;
    }

    .credit-description {
        font-size: 1rem;
    }

    .step-number img {
        width: 50px;
        height: 50px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .faq-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 601px) {
  .contact-form-section form {
    flex-direction: row !important;
    align-items: center;
    gap: 1.2rem;
  }
  .contact-form-section input[type="text"],
  .contact-form-section input[type="email"] {
    width: 100%;
    min-width: 220px;
    max-width: 340px;
  }
  .contact-form-section button,
  .contact-form-section input[type="submit"] {
    width: auto;
  }
}
@media (max-width: 600px) {
  .contact-form-section form {
    flex-direction: column !important;
    gap: 0.8rem;
    align-items: stretch;
  }
  .contact-form-section input[type="text"],
  .contact-form-section input[type="email"] {
    width: 100%;
    min-width: 0;
  }
  .contact-form-section button,
  .contact-form-section input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}