/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-alt: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    background-image: url('plano_de_fundo.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-area-inscrito {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600 !important;
}

.nav-area-inscrito:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.area-inscrito-quick {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.area-inscrito-hint {
    display: none;
    font-size: 0.8rem;
    color: var(--text-light);
}

.area-inscrito-quick label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

.area-inscrito-quick input {
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 0.9rem;
    width: 140px;
    outline: none;
}

.area-inscrito-quick input::placeholder {
    color: #999;
}

.area-inscrito-quick button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-inscrito-quick button:hover {
    background: var(--primary-dark);
    transform: translateX(2px);
}

.btn-inscricao-header {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-inscricao-header:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    background-image: url('https://acampamentoterradosaber.com.br/wp-content/uploads/2024/10/Area-externa-1.jpg'), var(--gradient);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.5);
}

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

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: Impact, 'Arial Black', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-style: italic;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.info-item svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cartaz {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.cartaz:hover {
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: Impact, 'Arial Black', sans-serif;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sobre Section */
.sobre {
    background: var(--bg-light);
}

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

.sobre-icon {
    font-size: 80px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobre-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
    text-align-last: center;
}

.sobre-text strong {
    font-weight: 700;
    color: var(--primary-color);
}

/* Detalhes Section */
.detalhes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.detalhe-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.detalhe-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.detalhe-card ul {
    list-style: none;
    padding-left: 0;
}

.detalhe-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.detalhe-card p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.destaque {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-cardapio {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cardapio:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Galeria */
.galeria {
    background: var(--white);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.galeria-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay svg {
    color: white;
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0000;
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Modal */
.modal-galeria {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

.modal-galeria.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #ccc;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

#modalVideo {
    position: relative;
    width: 80vw;
    max-width: 1200px;
    aspect-ratio: 16/9;
}

#modalVideo iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

/* Localização */
.localizacao {
    background: var(--bg-light);
}

.localizacao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.localizacao-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.endereco-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.endereco-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.endereco-card p {
    margin: 0.3rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

.endereco-card .referencia {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
}

.distancias {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.distancias h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.distancia-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-light);
}

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

.distancia-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.distancia-texto {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.distancia-texto strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.distancia-texto span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-mapa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    justify-content: center;
}

.btn-mapa:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.localizacao-mapa {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 600px;
}

/* Formulário de Inscrição */
.inscricao {
    background: var(--bg-light);
}

.form-inscricao {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

.mensagem-sucesso {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.sucesso-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.mensagem-sucesso h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mensagem-sucesso p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Contato Section */
.contatos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto 0;
}

.contato-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

.contato-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.contato-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contato-encargo {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

.footer-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-info {
        align-items: center;
    }

    .features,
    .detalhes-grid,
    .contatos-grid {
        grid-template-columns: 1fr;
    }

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

    .localizacao-content {
        grid-template-columns: 1fr;
    }

    .localizacao-mapa {
        height: 400px;
    }

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

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

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

    .section {
        padding: 3rem 0;
    }
}

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

    .btn-primary {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

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

/* Estilos adicionais do formulário completo */
.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.required::after {
    content: " *";
    color: #ef4444;
}

.link-button {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
}

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

.info-box {
    background: #eff6ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
}

.info-box strong {
    color: var(--primary-color);
}

.parcela-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
}

.parcela-valor {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

/* Modais LGPD e Sucesso */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal .modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

.modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    z-index: 10;
}

.modal .modal-close:hover {
    color: var(--text-dark);
}

.modal .modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.modal .modal-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal .modal-content p,
.modal .modal-content ul {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.modal .modal-content ul {
    padding-left: 1.5rem;
}

.modal .modal-content li {
    margin-bottom: 0.5rem;
}

/* Success Modal */
.success-modal {
    text-align: center;
}

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

.qr-code-container {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.qr-code-container img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 1rem auto;
    display: block;
}

.copy-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
}

.copy-button:hover {
    background: var(--primary-dark);
}

.pix-code {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
    border: 2px dashed var(--primary-color);
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive para modais */
@media (max-width: 768px) {
    .modal .modal-content {
        padding: 2rem 1.5rem;
        max-height: 90vh;
    }

    .form-section-title {
        font-size: 1.1rem;
    }

    .parcela-valor {
        font-size: 1.5rem;
    }

    /* Header responsivo */
    .area-inscrito-quick {
        display: flex;
        width: 100%;
        padding: 0.4rem 0;
        gap: 0.5rem;
        background: transparent;
        border: none;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .btn-inscricao-header {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .area-inscrito-quick label {
        display: none;
    }

    .area-inscrito-quick input {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0.6rem 0.8rem;
        border-radius: 999px;
        border: 1px solid #d6d9ef;
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(20, 33, 94, 0.08);
    }

    .area-inscrito-quick button {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 999px;
    }
}

@media (max-width: 480px) {
    .modal .modal-content {
        padding: 1.5rem 1rem;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* ===== MOBILE ACTIONS (Minimalista) ===== */
.mobile-container,
.mobile-actions,
.cpf-area-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Esconder ações desktop */
    .header-actions {
        display: none !important;
    }

    /* Container mobile - empilha botões e CPF verticalmente */
    .mobile-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* Botões Mobile - Compactos lado a lado */
    .mobile-actions {
        display: flex;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0.75rem;
    }

    .mobile-btn {
        flex: 1;
        padding: 0.6rem 0.4rem;
        border: none;
        background: rgba(255, 255, 255, 0.95);
        color: var(--primary-color);
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }

    .mobile-btn:active {
        transform: scale(0.97);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }

    /* Área CPF - aparece quando clica "Pagar Parcelas" */
    .cpf-area-mobile {
        display: flex;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.6rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cpf-area-mobile input {
        flex: 1;
        padding: 0.65rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 0.85rem;
    }

    .cpf-area-mobile button {
        width: 40px;
        height: 40px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1.1rem;
        cursor: pointer;
        flex-shrink: 0;
    }

    .cpf-area-mobile button:active {
        transform: scale(0.95);
    }
}
