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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #c3c3c3 0%, #E0E0E0 30%, #F0F0F0 60%, #F8F8F8 85%, #FFFFFF 100%);
    min-height: 100vh;
    color: #2C2C2C;
    line-height: 1.5;
}

/* Mobile First - Sem card branco */
.container {
    width: 100%;
    max-width: 100%;
    background: transparent;
    padding: 110px 50px 50px;
}

.profile-section {
    text-align: center;
    margin-bottom: 24px;
}

.profile-image-wrapper {
    margin-bottom: 12px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.profile-bio {
    font-size: 16px;
    color: #2C2C2C;
    margin-bottom: 6px;
    font-weight: 400;
}

.profile-subtitle {
    font-size: 16px;
    color: #2C2C2C;
    margin-bottom: 6px;
    font-weight: 400;
}

.profile-cta {
    font-size: 16px;
    color: #2C2C2C;
    font-weight: 400;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    background: #F0F0F0;
    border-radius: 8px;
    text-decoration: none;
    color: #2C2C2C;
    font-weight: 500;
    font-size: 15px;
    border: none;
    transition: background 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.link-button:hover {
    background: #E5E5E5;
}

.link-button:active {
    background: #DADADA;
}

.link-button.whatsapp {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #E5E5E5;
}

.link-button.whatsapp:hover {
    background: #F5F5F5;
    border-color: #D5D5D5;
}

.link-button.whatsapp:active {
    background: #EEEEEE;
}

.link-button.clinic {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #E5E5E5;
}

.link-button.clinic:hover {
    background: #F5F5F5;
    border-color: #D5D5D5;
}

.link-button.clinic:active {
    background: #EEEEEE;
}

.link-button span {
    text-align: center;
    width: 100%;
}

.link-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

.link-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.link-button.whatsapp .link-icon {
    flex-shrink: 0;
}

.link-button span {
    text-align: center;
    width: 100%;
}

.link-menu {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-menu svg {
    width: 16px;
    height: 16px;
}

/* Ripple effect */
.link-button .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

.link-button.whatsapp .ripple {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Desktop - Com card branco */
@media (min-width: 768px) {
    body {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 20px;
    }

    .container {
        max-width: 420px;
        background: transparent;
        border-radius: 12px;
        padding: 40px 20px 24px;
        margin: 0 auto;
    }

    .profile-image {
        width: 80px;
        height: 80px;
    }

    .profile-name {
        font-size: 26px;
    }
    
    .profile-bio,
    .profile-subtitle,
    .profile-cta {
        font-size: 17px;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .profile-image {
        width: 72px;
        height: 72px;
    }

    .profile-name {
        font-size: 22px;
    }

    .profile-bio,
    .profile-subtitle,
    .profile-cta {
        font-size: 15px;
    }
}

/* Modal do Google Maps */
.maps-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.maps-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.maps-modal-content {
    background-color: #03807F;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s;
}

.maps-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.maps-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
}

.maps-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: opacity 0.2s;
}

.maps-modal-close:hover {
    opacity: 0.7;
}

.maps-modal-body {
    position: relative;
    width: 100%;
    height: 500px;
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.maps-modal-body iframe {
    border-radius: 0 0 12px 12px;
}

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

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

@media (max-width: 767px) {
    .maps-modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .maps-modal-body {
        height: 400px;
    }

    .maps-modal-header {
        padding: 16px;
    }

    .maps-modal-header h2 {
        font-size: 18px;
    }
}
