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

:root {
    --primary-color: #4a5568;
    --secondary-color: #667eea;
    --accent-color: #764ba2;
    --whatsapp: #25D366;
    --instagram: #E1306C;
    --facebook: #1877F2;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    margin: 0;
}

.container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

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

/* Header */
.header {
    text-align: center;
    padding: 30px 30px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.logo-container {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    display: block;
}

.logo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.logo-placeholder svg {
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Botões de Contato */
.contact-buttons {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 14px 24px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.contact-btn:hover::before,
.contact-btn:active::before {
    left: 100%;
}

.contact-btn:active {
    transform: scale(0.98);
}

.contact-btn .icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
}

.btn-label {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.btn-info {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
    margin: 0;
}

/* Cores dos botões */
.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0c63d4 100%);
}

.whatsapp:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.instagram:hover {
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.facebook:hover {
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.senhas {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
}

.senhas:hover {
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
}

.calendario {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
}

.calendario:hover {
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4);
}

.pix {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    cursor: pointer;
}

.pix:hover {
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.localizacao {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.localizacao:hover {
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

/* Modal PIX */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

.pix-info {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.pix-type {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.pix-key {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    border: 2px dashed #059669;
}

.copy-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

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

.copiado {
    color: #059669;
    font-weight: 600;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.copiado.show {
    opacity: 1;
}

.pix-instructions {
    background: #fff8e1;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #FF8C00;
}

.pix-instructions h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.pix-instructions ol {
    margin: 0;
    padding-left: 20px;
    color: var(--text-light);
}

.pix-instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Rodapé */
.footer {
    text-align: center;
    padding: 20px 20px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Responsividade */
@media (min-width: 768px) {
    body {
        padding: 40px;
    }
    
    .container {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        border-radius: 20px;
    }

    .header {
        padding: 30px 20px 25px;
    }

    h1 {
        font-size: 1.3rem;
    }

    .contact-buttons {
        padding: 25px 15px;
        gap: 12px;
    }

    .contact-btn {
        padding: 16px 20px;
    }

    .btn-label {
        font-size: 1rem;
    }
}

/* Touch feedback para mobile */
@media (hover: none) and (pointer: coarse) {
    .contact-btn:active {
        transform: scale(0.96);
        opacity: 0.9;
    }
}
