﻿/* Fonts e Base iguais ao Index */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #7E6DDB;
    --primary-dark: #6151b8;
    --secondary-color: #F8B595;
    --accent-color: #A5DEE5;
    --dark-color: #2D3047;
    --light-color: #F9F9F9;
    --text-color: #4A4A68;
    --text-light: #8B8BA5;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #F9D5BB);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --whatsapp-color: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, .payment-page {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Modern Header Styles, espelhado do Index */
.modern-header {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.header-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Imagem de fundo para a página de pagamento */
.header-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/head9.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: none;
    will-change: auto;
}

/* Shapes acima da foto e abaixo do overlay */
.floating-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.12;
    filter: blur(40px);
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 12%;
    left: 6%;
    animation-delay: 0s;
}

.shape-2 {
    width: 220px;
    height: 220px;
    top: 25%;
    right: 12%;
    background: var(--gradient-secondary);
    animation-delay: 2s;
}

.shape-3 {
    width: 260px;
    height: 260px;
    bottom: 16%;
    left: 18%;
    animation-delay: 4s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    bottom: 28%;
    right: 22%;
    animation-delay: 6s;
}

.shape-5 {
    width: 220px;
    height: 220px;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 8s;
}

.header-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* antes: background com opacidade ~0.8 + backdrop-filter: blur(5px); */
  background: linear-gradient(
    135deg,
    rgba(245, 247, 250, 0.35) 0%,
    rgba(228, 232, 240, 0.35) 100%
  );
  /* remove o desfoque global */
  backdrop-filter: none;
}


.header-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.header-text {
    flex: 1;
    max-width: 600px;
}

.header-title {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
}

.title-line {
    display: block;
}

    .title-line.accent {
        background: var(--gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        position: relative;
    }

.header-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 520px;
}

/* Ações */
.header-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

    .cta-button.primary {
        background: var(--gradient);
        color: white;
    }

        .cta-button.primary:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(126, 109, 219, 0.4);
        }

    .cta-button.secondary {
        background: transparent;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

        .cta-button.secondary:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-5px);
        }

/* Visual à direita, igual ao Index */
.header-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.main-image {
    position: relative;
    z-index: 3;
    animation: float 6s infinite ease-in-out;
}

.hero-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.floating-elements {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: float 8s infinite ease-in-out;
}

.element-1 {
    top: 10%;
    right: 10%;
    animation-delay: 1s;
}

.element-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.element-3 {
    top: 50%;
    right: 0;
    animation-delay: 3s;
}

/* Indicador de rolagem */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gradient);
    margin-bottom: 10px;
    animation: scrollLine 2s infinite;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

/* Seção de opções */
.pm-section {
    padding: 100px 0;
    background-color: white;
}

    .pm-section h2 {
        text-align: center;
        font-size: 2.4rem;
        margin-bottom: 12px;
        color: var(--dark-color);
    }

.pm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pm-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .pm-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.pm-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.pm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 16px rgba(126, 109, 219, 0.35);
}

.pm-sub {
    color: var(--text-light);
    margin-top: 2px;
}

.pm-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.pm-badge {
    width: 70px;
    height: 44px;
    background: #fff;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .pm-badge:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0,0,0,.1);
    }

    .pm-badge i {
        font-size: 32px;
        color: #1f2937;
    }

.pm-badge--text span {
    font-size: .9rem;
    font-weight: 700;
    color: #1f2937;
}

.pm-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    color: var(--text-color);
}

.pm-details {
    margin-top: 10px;
}

.pm-summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    outline: none;
}

    .pm-summary::marker {
        content: "";
    }

.pm-details-content {
    margin-top: 8px;
    color: var(--text-light);
    padding-left: 12px;
    border-left: 2px solid #e2e8f0;
}

.pm-text {
    color: var(--text-color);
    margin: 8px 0 16px 0;
}

.pm-figure {
    margin: 0 0 16px 0;
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
}

    .pm-figure img {
        width: 200px;
        height: 200px;
        object-fit: contain;
        background: #fff;
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,.06);
        padding: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,.05);
        transition: transform .3s ease;
    }

        .pm-figure img:hover {
            transform: scale(1.03);
        }

.pm-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 14px 22px;
    border-radius: 50px;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

    .pm-action:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(126, 109, 219, 0.4);
    }

/* Notas de segurança */
.pm-notes {
    margin-top: 32px;
    padding: 18px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--text-light);
    text-align: center;
    box-shadow: var(--shadow);
}

/* CTA final */
.final-cta {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 2.3rem;
    margin: 0 0 10px 0;
}

.cta-content p {
    color: rgba(255,255,255,.95);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 18px auto;
}

/* Botões genéricos, iguais ao Index */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(109,74,255,.4);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(109,74,255,.6);
    }

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

    .btn-secondary:hover {
        background: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
    }

/* Animações iguais ao Index */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollLine {
    0% {
        height: 40px;
    }

    50% {
        height: 20px;
    }

    100% {
        height: 40px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsivo, igual ao Index */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .header-text {
        max-width: 100%;
    }

    .header-title {
        font-size: 2.6rem;
    }

    .header-actions {
        justify-content: center;
    }

    .hero-logo {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2.1rem;
    }

    .header-subtitle {
        font-size: 1.05rem;
    }

    .element {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .pm-card {
        transform: none;
    }
}

@media (max-width: 576px) {
    .modern-header {
        padding: 90px 0 60px;
    }

    .header-title {
        font-size: 1.8rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .shape {
        display: none;
    }

    .shape-1, .shape-5 {
        display: block;
    }
}
