/* Reset e Variáveis */
:root {
    --primary-color: #CC092F;
    --primary-dark: #A00724;
    --primary-light: #E31E4A;
    --black: #000000;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --success-color: #28A745;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(204, 9, 47, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--black);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo-image {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) saturate(1.2);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.btn-menu span {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.btn-menu:hover span {
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 50%, #F5F5F5 100%);
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(204, 9, 47, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204, 9, 47, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

/* Bradesco - vermelho */
.bradesco-red {
    color: var(--primary-color);
    font-weight: 700;
}

/* AETERNUM - preto com efeitos */
.highlight {
    color: var(--black);
    position: relative;
    font-weight: 800;
    letter-spacing: 4px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.1);
    animation: aeternumPulse 2.5s ease-in-out infinite;
}

@keyframes aeternumPulse {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25), 0 8px 30px rgba(0, 0, 0, 0.15);
    }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Card Preview */
.card-preview {
    perspective: 1000px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    display: block;
    object-fit: contain;
    background: transparent;
}

.card-image:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: radial-gradient(circle, rgba(204, 9, 47, 0.15) 0%, rgba(204, 9, 47, 0.05) 50%, transparent 80%);
    border-radius: 20px;
    filter: blur(40px);
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Benefícios */
.beneficios {
    background: var(--bg-light);
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 2rem;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Formulário */
.solicitar {
    background: var(--bg-light);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.form-subtitle {
    color: var(--text-secondary);
    line-height: 1.6;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-input {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(204, 9, 47, 0.15);
}

.form-input::placeholder {
    color: var(--text-light);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1.125rem;
    font-size: 1.125rem;
}

.success-message {
    text-align: center;
    padding: 3rem 2rem;
    background: #F0F9F4;
    border-radius: 16px;
    border: 2px solid var(--success-color);
    box-shadow: var(--shadow-sm);
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.success-message h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* PIX Payment Step */
.pix-payment-step {
    padding: 2rem 0;
}

.pix-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pix-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pix-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pix-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pix-qr-container {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.pix-qr-container img {
    max-width: 250px;
    height: auto;
}

.pix-copy-section {
    width: 100%;
    max-width: 400px;
}

.pix-copy-wrapper {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.pix-code-input {
    flex: 1;
    font-size: 0.875rem;
}

.btn-copy {
    flex-shrink: 0;
    padding: 0.875rem 1.25rem;
}

.pix-instructions {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
}

.pix-status {
    margin-top: 0.5rem;
}

.pix-status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pix-status-badge.pending {
    background: #FFF3CD;
    color: #856404;
}

.pix-status-badge.approved {
    background: #D4EDDA;
    color: #155724;
}

.pix-status-badge.error {
    background: #F8D7DA;
    color: #721C24;
}

/* Footer */
.footer {
    background: var(--black);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-style: italic;
}

.bradesco-red-footer {
    color: var(--primary-color);
    font-weight: 600;
}

/* Menu Mobile */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }

    .nav.active {
        transform: translateX(0);
        display: flex;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
    }

    .btn-menu {
        display: flex;
    }

    .btn-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .btn-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .btn-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Responsive */
@media (max-width: 768px) {

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .card-image {
        max-width: 100%;
        transform: rotateY(0deg) rotateX(0deg);
    }

    .card-image:hover {
        transform: scale(1.02);
    }

    .card-glow {
        max-width: 100%;
    }

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

    .highlight {
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .form-container {
        padding: 1.5rem 1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.benefit-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
